Repository navigation
Space the toolbar title and replace middle-dot separators - #15
Draft
PSchmiedmayer wants to merge 2 commits into
Draft
PSchmiedmayer wants to merge 2 commits into
PSchmiedmayer wants to merge 2 commits into
Conversation
Separate the questionnaire title from host content at the start of the toolbar, such as the Anvil brand, with a column gap that does not indent a wrapped title. Remove the unused brand style. Replace the middle-dot separators in the issue count, the outline and history hints, the JSON panel size, the issue locations, and the Bundle choices with plain wording or layout.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
♻️ Current situation & Problem
The toolbar places host content at its start, such as the standalone app's Anvil brand, directly before the questionnaire title.
Only the 2 px gap of the toolbar group separated them, so "Anvil" and the title read as one phrase.
Several labels also joined their parts with middle dots: the issue count button ("1 error · 1 warning"), the outline keyboard hint, the history menu hint, the JSON panel size, the location line of each issue, and the details of each questionnaire in the Bundle import dialog.
The middle dots were decorative separators.
⚙️ Release Notes
A gap applies only between items on the same line, so a title that wraps under the brand at narrow widths is not indented, and a title without host content has no extra space.
Several elements passed as
toolbar.startare also spaced 12 px apart..anvil-brandstyle is removed; the standalone app styles its own brand.Before and after, in the light and dark appearance:
📚 Documentation
The README screenshot capture from #12 looks for the issue count text, so whichever of the two PRs merges second updates
documentation.capture.tsto "1 error, 1 warning" and regenerates the images.✅ Testing
editorShell.test.tsxexpects the comma-separated issue count and the new history hint, and checks that the redo menu shows no "not shown" hint.editorPanels.test.tsxchecks that an issue's location and code read as separate words.host.test.tsxchecks that host start content and the title share the spaced start group.fileActions.test.tsxexpects the comma-separated Bundle choice details with the version label, and a Bundle entry with one item reads "1 item".Code of Conduct & Contributing Guidelines
By creating and submitting this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: