Repository navigation
The frame: design tokens, the stage switch, three languages, Settings - #8
Merged
Merged
Conversation
PR #5 was merged before its last commits were pushed, so main has only the brief's first draft. This brings the whole brief (sections 3b to 4f: every board, the code editor, Start, Verify, the common frame, the signature moments, the tokens, the three languages and Settings) with section 4g from PR #6 kept in place, and docs/design/tokens.json, which the Qt frame reads. Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.com>
The application now wears the frame of the design brief (sections 4d, 4f, 4g). - Theme reads docs/design/tokens.json, built in as :/design/tokens.json, and gives the palette, the fonts, the motions and the style sheets, the docking library's included: every view is a card on the dark ground, 6 px apart. - SegmentedControl, drawn from the tokens, is the stage switch in the stage bar (merged with the title bar on macOS): Configure, Code, Debug, Verify, with Cmd+1 to Cmd+4. The chosen segment slides with the move motion. - The Workbench keeps one layout per stage, across a restart too. - The interface speaks English, French and Simplified Chinese (app/i18n), switched live from Settings without a restart; numbers follow the language. A Chinese interface sets no text below 12 px. - Settings (Cmd+, on macOS, Ctrl+, elsewhere) is built directly in Qt; its first section, General, holds the language. - --language, --stage and --screenshot help take progress pictures. New tests: tst_theme, tst_segmentedcontrol, tst_language, and stage layouts in tst_workbench. Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.com>
Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.com>
Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.com>
Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.com>
Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.com>
Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.com>
Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.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.
The application now wears the frame of the design brief (sections 4d, 4f, 4g). Merge #7 first: this branch is built on it and needs
docs/design/tokens.json.What changes
docs/design/tokens.json, compiled in as:/design/tokens.json. It sets the palette, the fonts, the motions and the style sheets, including the docking library's. Every view is now a rounded card on the dark ground, 6 px apart. The look lives in the tokens file only.movemotion.app/i18n, Qt Linguist), switched live from Settings without a restart. Numbers follow the language (6,8 s in French), and a Chinese interface sets no text below 12 px.--language,--stageand--screenshot <file>make progress pictures easy.docs/development.mdexplains the translation workflow.Tests: new
tst_theme,tst_segmentedcontrolandtst_language, plus stage layouts intst_workbench. 6 of 6 suites pass locally (macOS, Qt 6.12), and clang-format 18 is clean.Not yet: Inter and JetBrains Mono aren't bundled, so the system fonts stand in. Bundling them (OFL) comes with their notices in a later change.