Repository navigation
Settings: preferences page with section index, grouped rows and complete states; update window polish - #194
Merged
Merged
Conversation
fylorn
force-pushed
the
ui/settings
branch
2 times, most recently
from
September 24, 2026 23:39
27025d9 to
11710ea
Compare
…ete states; update window polish Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Part of the UI upgrade, built on the kit from #187. Settings becomes a proper preferences page, every part of it gets complete loading / error / empty states, and the update window gets the same treatment.
Settings page (
src/settings/SettingsPage.tsx,src/settings/kit.tsx)useResource(cached, no flash on revisit), writes are optimistic with rollback andnotify.error, switches showpending. Each control has a skeleton of its own size while loading and an inline "Could not load · Retry" if the read fails, instead of the oldreturn null.useResourcewith a retryable error instead of silently becoming "no interfaces".update_showcommand instead of checking the network again. Auto-check switch, data directory, core binary, diagnostics bundle (disabled with a note while core is not connected).Bannerfor errors, pending buttons, outline Cancel with the primary action on the right, and titles without question marks.Update window (
src/UpdateWindow.tsx)App icon header; a determinate progress bar only when the download size is known; a pulsing dot while waiting for in-flight requests, with a Close button for that step (closing does not stop the update); failures as an error
Bannerwith Retry; the Homebrew command in a surface-coloured field. No expand/collapse animation, since the window's height follows the content.Navigation
settings:listen); the shell'sgoand the pending-view handler understandsettings:<section>.palette/sections.tstakes its titles from the new dictionaries (its doc asked for exactly this on a settings redesign); the menu bar entry is macOS-only, like the row.Removed
src/Config.tsx,Appearance,Language,MenubarSettings,NoticeSettings, the settings half ofUpdateand their dictionaries (merged intosrc/settings/*), and the strings nothing uses any more.Decisions
?fail, unlinked).warn(amber): it needs attention but nothing is broken.Checks
pnpm typecheck,pnpm test,pnpm buildcargo fmt --check,cargo clippy --all-targets -- -D warnings,cargo test(against twcore v0.47.0)?fail,?slow,?remote,?remote=down,?down=stopped,?update,install=homebrew|dev, and the update window in each step (idle, downloading, waiting, failed, Homebrew, development build).🤖 Generated with Claude Code