Repository navigation
fix(web): keep detail labels horizontal and show sub-cent costs for 0.12.8 - #57
Merged
Merged
Conversation
….12.8 The request detail sheet used a fixed two-column grid, so a long source record ID widened the value column until the Chinese labels wrapped one character per line. Labels now take their content width and never wrap, long values wrap inside the value column, and the duplicate mobile column override is gone. The account filter now lists only active accounts. A selected archived account stays as one extra option labelled 已归档, so opening its requests from the archived list still names the account instead of showing a bare ID. USD amounts derive their fractional digits from magnitude and drop the zeros beyond the two-decimal floor, so cheap model requests show $0.0014 instead of $0.00. The insights per-request and account trend formatters share the same helper. Co-Authored-By: Claude Code <noreply@anthropic.com>
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.
问题
变化
验证
bun run typecheck、bun test tests(570 pass)、bun run build通过,所改文件 Prettier 检查通过。tests/request-detail-layout.browser.ts,在 320、393、441、1440 四个宽度检查详情标签横排、长 ID 在数值列内折行、抽屉与页面都不横向溢出。把旧的1fr auto规则临时放回时该检查失败,恢复修复后通过。test-results/request-detail-layout/与test-results/ledger-detail-fixes/,未纳入仓库。🤖 Generated with Claude Code