Commit graph

12 commits

Author SHA1 Message Date
a329ed1cbe refactor(styles): migrate hardcoded CSS values to variables
* Define global variables for colors, layout, and spacing scales in
* Replace hardcoded padding, gap, color, and border values with CSS variables across guide components (, , , , )
* Add  utility class to guide frames in  for unified styling
2026-07-08 20:52:13 +02:00
075e41ec89 feat(ui): update navigation to NavLink and implement print styles for guides 2026-07-06 11:31:41 +02:00
ab2029384b feat(guides): add navigation after save and update UI styling
- Add programmatic navigation to the guide view after successful form submission.
- Add class names and layout styling for header, navigation sidebar, and action buttons.
- Update Guide view print layout.
2026-06-30 11:49:10 +02:00
03df525775 feat(guide): style guide layout and hide links in print view
- Add class names to Guide layout elements (, ).
- Restrict guide max-width and add padding.
- Update global  styling to use outline.
- Hide anchor tags and reset main margin in print media query.
2026-06-24 11:14:14 +02:00
c4a8f975c5 feat: add settings page and fix sidebar layout
- Add Settings route, component, and useSettings hook
- Add Settings link to nav
- Fix sidebar to use fixed positioning instead of flexbox
- Fix footer to stay within sidebar column
- Reset form after save in useGuideForm
- Use SubmitEvent type for handleSaveGuide
2026-06-18 12:00:55 +02:00
4dd8ce8b17 feat(guides): implement guide detail view with delete and export
- Render guide title, description, frames, and steps from context
- Add delete and export PDF actions via useGuide hook
- Add print media query to hide header, footer, and buttons
- Extract guide logic into useGuide hook
- Add Guide.css for view-specific styles
2026-06-17 19:21:59 +02:00
f214b0ac4d feat: add frame reordering and improve file upload accessibility
- Add Up/Down reorder controls to Frame component
- Add handleReOrderFrames hook using splice swap
- Improve FileUpload: keyboard support, aria attributes, fix accept=image/* typo
- Extract component-level CSS for Frame, Step, FileUpload
- Update focus-visible styles; scope border style to .file-upload
2026-06-15 19:49:00 +02:00
1bb6ddf403 refactor(guides): colocate steps within frames state
- Remove standalone steps state; steps now live inside each Frame object
- Initialize each frame with one default empty step on file upload
- Update handleAddSteps, handleUpdateStep, handleRemoveStep to operate
  on frames array via nested map/filter
- Rename handleUpdateStepText -> handleUpdateStep
- Rename schema types to StepType, FrameType, GuideType
- Add steps and title fields to FrameSchema
- Wire FileUpload onChange and render Frame components in NewGuide
- Add NewGuide.css and basic input/textarea border styles
2026-06-12 11:10:02 +02:00
fc63290806 refactor: remove comments in App.css 2026-06-10 20:22:48 +02:00
e133c03409 refactor: reorganizing the App.css styles 2026-06-10 19:56:05 +02:00
064a89ccda styling: add basic styles to App.css 2026-06-10 19:48:30 +02:00
efa9789a2a refactor: bootstrap app shell with routing and layout 2026-06-09 21:08:12 +02:00