{{ message }}
Repository navigation
fix(desktop): refine document statistics popover - #5819
Merged
Merged
Conversation
Use the concise character-count label, stack localized file timestamps beneath their labels, and narrow the popover. Keep the title-bar trigger geometry fixed across hover states by clearing the global button border.
Remove the parenthetical read-only qualifier from every supported locale so the title-bar reading-mode label does not wrap in the narrowed statistics popover.
Contributor
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
.el-button:hoverrule adds a 1px border, so the transparent border was still changing the button width. The trigger now keeps a zero-width border in all interaction states.Type of change
Test plan
pnpm run lintpnpm run typecheckpnpm -C packages/desktop exec vitest run test/unit/specs/i18n.spec.ts test/unit/specs/document-statistics.spec.tspnpm -C packages/desktop exec playwright test test/e2e/i18n-shell.spec.ts -g 'reading mode uses'pnpm -C packages/desktop exec playwright test test/e2e/editor-input.spec.ts -g 'Title-bar word counter'Notes for reviewers
No linked issue was provided for this UI refinement. The hover-jitter root cause is the project-wide Element Plus button hover border, not the text color or popover itself.