feat(ui): marketplace row expand — max tokens, price conversion, multi-key failover detail (v1.19 F) - #60
Merged
Conversation
…i-key failover detail (v1.19 F)
Merged
4 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
UI/UE 4th-round deepening — item F: marketplace row expand details (rant
2026-08-17T20:39:30, v1.19).Each marketplace row gets a
+/−expand toggle (.row-expandin the first column). Clicking appends a detail row (.mk-detail,colspan=7, inline — no modal) showing:D.MODELS; "未公布" when unlisted)1M tokens ≈ N 点(at output price) + input price /1MD.ctxFmt)multimodels (architecture v0.2 routing policy)Behavior:
mkExpanded(data, not DOM) — survives search/filter re-renders#mk-bodyclick delegation ([data-mk-expand]branch, before[data-use-model])tdhas nodata-label(empty::before), so the card shows just the detail grid;auto-fitcolumns adaptDocs:
docs/user-stories.mdv1.19 (item F) +ui/README.md「市场行展开约定」. Verified by DOM-stub smoke test (21 assertions: initial state, expand/collapse, max tokens, price conversion, failover note, single-expand switching, max-unlisted fallback, data-state persistence across search re-render, CSS structure),cargo test,cargo fmt --check.Rant (verbatim)
Related
2026-08-17T20:39:30.507364(projectaitokenpool, status in_progress; A = feat(ui): URL hash routing — share/bookmark/refresh restore (v1.19 A) #55, B = feat(ui): transactions summary bar — income/expense/net tied to tab & column filters (v1.19 B) #56, C = feat(ui): custom SVG select arrow — appearance:none, themed, hover/focus like input (v1.19 C) #57, D = feat(ui): toast queue — stack up to 3, independent fade in/out, keep grading styles (v1.19 D) #58, E = feat(ui): shortcuts help panel — ?/Shift+/ toggle, Esc close, view+theme context (v1.19 E) #59 merged)feat/ui-ue-round4-market-expand(per rant: 分支 feat/ui-ue-round4; item G to follow)Tests
node --check ui/js/app.jscargo test— 1 passedcargo fmt --check