feat(ui): table density toggle — comfortable/compact radio, localStorage, site-wide .density-compact (v1.20 C) - #66
Merged
Conversation
…s, localStorage memory, site-wide .density-compact (v1.20 C)
This was referenced Aug 17, 2026
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
Item C of rant
2026-08-17T20:46:57(UI/UE 第五轮多角度深化, v1.20): 表格密度切换 — table density toggle in Settings.input[name="density"]):#density-comfortable— 舒适(默认)/ comfortable (default, checked)#density-compact— 紧凑 / compact.density-optionslayout with accent radio dots, consistent with the existinglabel.checkpatternatp-densitymemory: restored on load (radio pre-selected), updated on every change;try/catchguards privacy mode.density-compactmodifier class on#app, which tightens all.tablesite-wide via CSS:th/tdpadding10px 8px→4px 8px,tdfont-size 12px,th/inline buttons 11px.table(API keys, transactions, marketplace, sharing, admin) without per-table changesRant reference (verbatim)
Verification
node --check ui/js/app.js✓, CSS braces balanced (331/331)cargo test✓ (1 passed),cargo fmt --check✓docs/user-stories.mdv1.20 entry updated (A feat(ui): first-login onboarding tour — 4-step spotlight highlight, skip/prev/next/finish, replay from settings (v1.20 A) #63 / B feat(ui): interactive copy-toast with endpoint CTA — jump to settings, flash endpoint card (v1.20 B) #65 marked merged, C added),ui/README.md「表格密度切换约定」section addedProgress on rant 20:46:57: A (#63) + B (#65) + C (#66) merged; remaining D–G.