Repository navigation
docs: rewrite the READMEs for the current app and use the new screenshots - #201
Merged
Merged
Conversation
fylorn
force-pushed
the
docs/readme-seo2
branch
3 times, most recently
from
September 25, 2026 06:15
f47d4c3 to
3034787
Compare
…hots The READMEs showed screenshots of the old sidebar, including a Findings page that no longer exists, and said nothing about connecting to a remote core, the interface languages or the system tray. Both are rewritten in the same structure, from what the code does today: - An opening in the approved register, then the platforms, the interface languages and in-app updates. - One section per page (Overview, Traffic, Clients, Keys, Upstreams, Routing, Security, MCP, Settings). Security is written from tw-config's guard defaults and built-in rules, MCP from tw-adopt's targets and tw-scan's sources, and the list of system notifications from src-tauri/src/notices/rules.rs. - "Connecting to a remote core": Settings > Connection, the pages that always act on this machine (Clients, MCP), where the connection key is kept, what changes while connected; links to Core's server deployment guide. - Layout: the control channel over a unix socket, a loopback port or a remote TCP port, each behind the Noise NNpsk0 handshake, replacing the per-launch credential the old text described. Images now come from the committed pipeline: the zh README uses docs/screenshots/zh/, the English one docs/screenshots/en/, both with the light/dark <picture> switch, and the overview sits in the introduction of both. A fresh `pnpm shots` run on this base produced identical files, so no image changes. The 28 old root-level images are deleted; nothing in this repository, the website or the organization profile links to them (the latter two keep their own copies). Build from source now fetches twcore first: Tauri checks declared resources at compile time, so `pnpm tauri dev` fails in a fresh checkout without it, while CONTRIBUTING said it needed nothing. Also spell "Apple silicon", and give package.json and Cargo.toml a description that names the platforms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Updates section said a small window appears when there is a new version. The automatic check sends a system notification instead (updater.rs: update_loop -> notify_update), and only when notices are set to system notifications. The update window opens from that notification, from the Install Version item that replaces Check for Updates in the menu bar or tray menu, and from Settings > About. The notifications paragraph now mentions the new-version notification too. For a Homebrew installation the check reads the tap's cask, so the sentence that said when the window appears now says when a new version is reported. Connecting to a remote core: when the server's core version differs, the app gives `sudo twcore upgrade --version <version> --restart`, which installs the expected version whether it is newer or older than the installed one (#204). Both languages say the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`pnpm shots` on dev 2fa65fd changes five scenes, because #202 and #203 changed what they show: - remote-add: the connection test reports core 0.48.0, the version the app now pins (a 0.47.0 server would be a version mismatch). The alt text in both READMEs says 0.48.0. - traffic: the request in progress shows its status code and token count, replayed from /in-flight. - routing and dry-run: the map marks the upstream with a request in flight. - security: the header counts the entries by outcome. The other alt texts still describe their images. The website copies in docs/screenshots/web/ are regenerated with them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anges; fetch-core.sh says dev builds need it too Overview, routing, dry-run, remote-switcher and traffic changed on dev (#206, #207, #208). The comment at the top of fetch-core.sh still said a dev build needs neither the network nor resources/twcore; the Tauri build checks the resource at compile time, so a fresh checkout runs the script once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fylorn
force-pushed
the
docs/readme-seo2
branch
from
September 25, 2026 07:05
3034787 to
5b66f4d
Compare
Merged
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 changes
sudo twcore upgrade --version <version> --restart, which installs that version whether it is newer or older than the installed one. This describes the app with Version mismatch: give the command that installs the core version this app pins #204, so Version mismatch: give the command that installs the core version this app pins #204 should land before or together with this PR.docs/screenshots/zh/, the English onedocs/screenshots/en/, both keeping the light/dark<picture>switch; the menu bar item (menubar-{light,dark}.png, 178×64) is shown at width 89 and the menu (664×1120) at width 332. The overview now sits in the introduction of both READMEs. The remote-core section uses theremote-addandremote-switcherscenes. Five scenes are re-shot on the current dev because Use core v0.48.0 #202 and Security header: exact match count from core, broken down by outcome #203 changed them:remote-add(the connection test now reports core 0.48.0, the version the app pins; the alt text says so),traffic(the running request shows its status code and tokens),routinganddry-run(in-flight marker on the map) andsecurity(counts by outcome in the header), with theirweb/copies.docs/screenshots/(old sidebar, including the removed Findings page, and the 420×64 menu bar strips) are deleted. Nothing in this repository links to them, and the website (public/lite/) and the organization profile (assets/) keep their own copies rather than linking here.pnpm tauri devdoes needsrc-tauri/resources/twcore(Tauri checks declared resources at compile time, and the control-plane tests handshake with that binary); the build section says what each platform produces; "Apple silicon".bash src-tauri/scripts/fetch-core.shbeforepnpm tauri dev, which otherwise fails in a fresh checkout.package.jsongets a description, and thesrc-tauri/Cargo.tomldescription names the platforms (it is not used for any bundle metadata: Windows file descriptions come fromproductName, Linux has its ownshortDescription). The PR template spells "Apple silicon".Why
The READMEs still showed the sidebar from before the navigation was restructured and described neither the remote core added in 2026.9.16 nor the tray on Windows and Linux. The layout section described a per-launch credential that the Noise handshake replaced.
How it was verified
tw-config/src/security.rs, the generated tables indocs/config.md,tw-guard; unchanged between v0.47.0 and v0.48.0), notification levels insrc-tauri/src/notices/rules.rsandmod.rs, MCP targets insrc-tauri/crates/tw-adopt/src/mcp.rsand scan sources intw-scan, remote mode insrc-tauri/src/connection/andsrc/connection/remote.i18n.tsx, clients intw-adopt/src/clients.rs, key storage inconnection/secrets.rs(a0600file in the data directory, not the keychain), control transport insrc-tauri/src/control.rs.updater.rs(update_loop→notify_update, which records the version and callsNotices::announce;announceonly reaches the system when the notice mode is System),notices/mod.rs(open_from_notificationopens the update window for theupdatekey),menubar/model.rs("Install Version {v}…" in place of "Check for Updates…", shared by the macOS menu and the tray),update_show/update_checkfor Settings › About, andfindreading the tap's cask for Homebrew.twcore upgrade --versioninstalling an older release:plan()in core'sbin/twcore/src/upgrade.rs(v0.47.0 and later).pnpm shotsthere produces files identical to the committed ones.src-tauri/resources/twcorefails with "resource pathresources/twcoredoesn't exist", which is what the build instructions now account for.pnpm typecheck,pnpm buildandpnpm testpass.🤖 Generated with Claude Code