Repository navigation
feat(ui): remove Recent transactions card from dashboard - #28
Merged
Merged
Conversation
Dashboard should focus on overview; transaction details already live on the Transactions page. Remove the dash-recent card from index.html and its render block from renderDashboard() in app.js. Stats, My sharings and Point sources cards are kept. Refs: rant 2026-08-17T10:40:27 (仪表盘移除"最近交易"模块)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the "最近交易 Recent transactions" card from the dashboard. Transaction details are already covered by the Transactions page — the dashboard should stay focused on the overview and not duplicate a transaction list.
Rant reference
Host instruction (rant
2026-08-17T10:40:27, 仪表盘移除"最近交易"模块):Changes
ui/index.html: delete the dashboard "最近交易 Recent transactions" card (<div class="card">withid="dash-recent"and its<h3>)ui/js/app.jsrenderDashboard(): remove the recent-transactions render block (const recent = txs.slice(0, 5)and the$("#dash-recent").innerHTML = ...mapping)card-gridcards lay out normallyVerification
grep -rn "最近交易|Recent transactions|dash-recent" ui/→ zero matchesnode --check ui/js/app.jspassescargo testpasses (1 passed)cargo fmt --checkpasses