feat(frontend): step 1 UI layout refactor (top band + two-column workspace)#33
Merged
theodubus merged 2 commits intoFeb 14, 2026
Merged
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
HeaderBarand reworkingApp.tsxlayout, and update styles instyles.cssto provide the new.topBand,.mainColumns,.viewerPane,.toolsPane, and upload dropzone visuals.Load new PDFbutton (localized) when a file is loaded; code changes live infrontend/src/App.tsx,frontend/src/components/HeaderBar.tsxand localized keys infrontend/src/locales/*.json.frontend/src/components/PdfViewer.tsxto compute per-page scales, expose user text selections via aselectionchangehandler producingUiRect[], and draw preview rectangles in the viewer; added selection rule support and utilities infrontend/src/types/uiRules.tsandfrontend/src/components/*.rectssupport to the API client by introducingRectInputand passing selection rects in the payload (frontend/src/api.ts), and update rules UI (RulesSection.tsx,RulesList.tsx,EditRuleModal.tsx) to surface the selection workflow and prevent editing of selection-type rules.Testing
cd frontend && npm run build, and the production build completed successfully.cd frontend && npm run dev -- --host 0.0.0.0 --port 4173and confirmed Vite reported readiness.artifacts/ui-layout-step1-empty.pngto validate the upload/dropzone and two-column arrangement.Codex Task