feat(chrome): put Settings beside update check and center unified-diff lines - #21
Merged
Merged
Conversation
…f lines Port hardbeat920#72: compact the sidebar update control next to Settings, and vertically center hunk/gutter/code rows in UnifiedDiffView. Co-authored-by: Warexpor <warexpor@gmail.com>
Warexpor
marked this pull request as ready for review
September 4, 2026 21:28
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 changed
Port of hardbeat920/monocode#72 onto this fork’s current chrome:
SidebarUpdateFooter. Label + app version live ontitle/aria-label. The separate SettingsRailActionblocks were removed fromProjectRail.tsxandSidebar.tsx.UnifiedDiffView.tsxuseflex items-center+leading-noneinstead of explicitlineHeight.Why
Match upstream hardbeat920#72 without redesigning MonoCode chrome (still
RailAction,UpdateRailCard, and accent states). Checking / available / download affordances stay on the update button via title.Checklist
npm run check:web(vitest + tsc; 117 files / 1208 tests)npx vite buildsucceededVerification
Browser (Vite, no Tauri) — temporary harness mounted
SidebarUpdateFooter+UnifiedDiffView(not committed):RailActionand update icon sit on one row (Settings ~203×32, update 32×32, sametop).onOpenSettings.title/aria-label=Check for updates · v0.0.0(idle;getVersionfalls back,check()is not configured).flex+align-items: centerandleading-none.The full
index.htmlApp boot still depends on Tauri (loadBootWorkspace/invoke); that shell was not exercised.Needs Tauri (not claimed here): live
check()probe, checking/available/download icon states against a real endpoint, install/relaunch, native dialogs, Windows/DWM.Refs: hardbeat920#72