Refactor config editor UI; add cross-tab sync and batch plot download/preview#22
Open
afffe18 wants to merge 1 commit intocodex/2026-04-28_17-08-46-fix-dark-mode-inconsistenciesfrom
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.
Motivation
Description
Select all / Deselect all,Expand / Collapsecontrols, and (for whitelist) a mode toggle inline; removed the old helper placeholder lines under those selectors, and applied the same header layout to axis controls. (edits insrc/App.tsx)src/App.tsx)src/App.tsx)localStorageand listen forstorageevents so multiple tabs on the same device share and synchronize the same config; added loading of cached config on startup. (edits insrc/App.tsxandsrc/utils/configIo.ts)svgor a clamped integer between30and999, and treat an empty numeric input as0; fixed auto-tab-name collisions by escaping the dynamic regex prefix. (edits insrc/App.tsx)src/App.tsx, small CSS adjustments)preview currentorcreate allactions, plot batching showsx of y Plots createdprogress, added a refresh button, and moved/added a single “Download all (.zip)” action in the Backend preview panel. (edits insrc/App.tsx,src/components/PlotPage.tsx)h-auto max-w-full, and removed redundant per-panel create/preview buttons. (edits insrc/components/PlotPage.tsx)/api/download-plotswhich renders requested plots server-side and returns a ZIP archive of images, honoringexport_file_namewhen present. (edits inbackend/app.py)Testing
npm run lint, which completed successfully.npm run build, which completed successfully.npm run test:frontenddid not run to completion in this environment due to the Node runtime not supporting the repository's--test-isolation=noneflag.npm run test:backenddid not run in this environment because the test script expects a Windows virtualenv path that is not available here.Codex Task