Repository navigation
feat(tui): use the official brand in the launchpad hero - #1374
Merged
Merged
Conversation
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.
What this carries
One commit: the launchpad hero draws the official FutureOS mark instead of a stand-in.
widgets.rsgains a 13×4-cell rendering sampled from the official logo (https://future-os.cn/logo.png, described in the source as byte-identical to the desktop app icon). Each entry inLOGO_PIXELSis one source pixel and two pixels make a▀cell, so the silhouette and colours come from the real mark rather than an approximation of it — the alternative was inventing a second brand symbol that would not match the product's own.launchpad.rs/screen.rs/layout.rsplace the hero block and size the rows around it;preferences.rscarries the toggle; the four prose documents (docs/guide/tui{,.zh-CN}.md,docs/tui/workbench-spec{,.zh-CN}.md) are updated with it, somake check-docsstays meaningful.Terminals without truecolour get the cell shapes without the sampled colours — the wordmark still reads.
Why a fresh branch instead of the integration branch
The same work sat on
dev-huichen, but mergingorigin/maininto it conflicted inlaunchpad.rs: main carries this area as the squash of the previous TUI branch whiledev-huichencarries the individual commits, so git saw two independent edits where the content is in fact identical. Cherry-picking the one commit ontoorigin/mainreproduces exactly the same tree (git diff 265e4078 HEADis empty, 9 files / +229−57) without rewritingdev-huichen. The integration branch can catch up with a plain reset once this lands.Verification
cargo test -p future-tui --libon this branch: 1229 passed, 0 failed (run here, not inherited from a report). The three screen-space audits (workbench_perceptual,workbench_semantics,workbench_interaction) andmake check-docsare cleared by CI along with the library tests — in particular thetui-clijobs compile this widget code on both Linux and Windows, which is where a▀-cell/render change would break if it broke anywhere.