feat(gui): cozy library redesign (v0.3.0)#26
Merged
Conversation
… base/patched library split Lift the rompatch UI from a single-flow patcher into a small, opinionated library + patcher app per the design handoff. - design tokens: warm light/dark themes, four accents, Instrument Serif + Geist + JetBrains Mono type pairing - sidebar: cartridge brand mark, Library / Patcher / Discover hacks nav, Preferences footer - library: page header, search, segmented filter (All / Base / Patched), grid + list layouts, separate Base and Patched sections — patched ROMs are first-class cards with format badge and based-on subline - ROM detail slide-over: 520px right-side panel with two modes (base / patched) navigated via a based-on pill; download flow re-verifies the recorded hash and refuses on mismatch; remove confirm copy adapts to base-with-N / base-alone / patched contexts - preferences modal: Appearance (Theme + Accent), Patching (strip header + fix checksum, persisted and used to seed the patcher's Advanced options), Storage (library folder picker), About - patcher: save-strip now shows filename above directory with double-click to rename, and refreshes the library on a successful apply so the new patched ROM appears immediately - backend: new library_reveal_rom IPC so the slide-over can reveal a base ROM even when no patches reference it yet Co-Authored-By: Claude
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.
Summary
Reworks the Rompatch GUI from a single-flow patcher into a small library + patcher app per the design handoff in
~/Desktop/romdesign/. The aim is a warm, library-like experience for non-technical players, while keeping all the existing verify / re-apply / export plumbing reachable.What's new
based on <BaseTitle>subline. Search matches against patch names too.RomDetail.tsx): 520 px right-side panel with two modes (base / patched) navigated via abased on…pill. Download flow re-verifies the recorded hash before exporting and refuses on mismatch. Remove confirm copy adapts: base-with-N-patches / base-alone / patched.PreferencesModal.tsx): four sections — Appearance (Theme + Accent), Patching (strip header + fix checksum, persisted to localStorage and used to seed the patcher's Advanced defaults), Storage (library folder picker vialibrarySetRoot), About.Backend
library_reveal_rom(rom_hash)IPC so the slide-over can reveal a base ROM even when no patches reference it yet. Wraps the existingrom_path_for+reveal_in_finder.Test plan
pnpm typecheck+cargo check -p rompatch-guiboth pass.based on…pill → navigates back to the base view within the same overlay.index.htmlmatches on next launch.