feat(ui): visual polish — SVG nav icons, empty states, badges, cards (v1.15) - #39
Merged
Merged
Conversation
…(v1.15) rant 2026-08-17T15:50:05 (UI polish & UE, section A visual): - replace emoji nav icons with uniform inline SVG icons (linear style, same size, currentColor, hover/active states) - card hover micro-interaction (subtle shadow/border lift) - table zebra striping + row hover highlight - friendly empty-state component (icon + text + action button) across marketplace / sharing / raise requests / transactions / api keys / departments / operator users; wired actions: clear filters, list a key, generate a key, clear dept search - status badges get semantic color dots (ok/warn/danger/dim) - responsive: collapsed sidebar now icon-only via SVG; table scroll kept - docs: user-stories v1.15, ui/README visual conventions
8 tasks
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
Visual polish (rant
2026-08-17T15:50:05, section A) — systematic visual improvement of the UI prototype:currentColor, hover/active states preserved; collapsed 64px sidebar is now properly icon-only).empty-statecomponent (icon + text + action button) applied to marketplace / sharing list / raise requests / transactions / API keys / departments / operator users — with wired actions: 清除筛选 (clear marketplace filters), 上架新 key (open share form), 生成新 Key (generate API key), 清除搜索 (clear dept search). Dashboard sharing empty also upgraded.Self-verified:
node --checkpasses, DOM smoke test (init path) runs without throwing, all$("#id")refs ↔ HTML ids cross-checked, no residual emoji nav icons,cargo testpasses.Related Issue
(no issue — host rant driven:
2026-08-17T15:50:05)Changes
Tests
cargo test全部通过(1 passed)cargo fmt --check通过(无 Rust 改动)Checklist