Conversation
|
7e10f12 to
683c386
Compare
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Pull Request Overview
This PR implements several UI/UX improvements to align the interface more closely with the Figma design specifications. The changes focus on enhancing the visual clarity and usability of form inputs and sliders.
Key Changes:
- Moved units from after sliders to their labels for better visual organization
- Added min/max value labels below sliders, with descriptive "weak"/"strong" labels for the decay length slider
- Updated tab labeling from "Edit" to "Editable fields" for clarity
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/test/test-files/one_sphere.json | Updated test data bounding box coordinates and sphere radius to reflect new test values |
| src/test/recipeLoader.test.ts | Updated test assertions to match new bounding box coordinates and radius values |
| src/components/RecipeForm/style.css | Removed padding from recipe form container |
| src/components/PackingInput/index.tsx | Changed tab label from "Edit" to "Editable fields" |
| src/components/InputSwitch/style.css | Added styles for slider wrapper, min/max labels, and adjusted alignment and spacing |
| src/components/InputSwitch/index.tsx | Restructured slider markup to include min/max labels and moved units to the label area |
| src/components/GradientInput/style.css | Added styles for strength input container |
| src/components/GradientInput/index.tsx | Added min/max labels with "weak"/"strong" descriptors for the gradient strength slider |
| src/App.css | Reduced footer padding from 10px to 5px |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <small className="slider-label-left"> | ||
| {gradientStrengthData.min}<br /> weak | ||
| </small> | ||
| <small className="slider-label-right" style={{ marginRight: "5px" }}> |
There was a problem hiding this comment.
Inline styles should be avoided when possible. Consider moving this marginRight style to the CSS class definition for consistency with the rest of the codebase.
e638144 to
c352a5c
Compare
a3ce3ad to
bca7e93
Compare
rugeli
left a comment
There was a problem hiding this comment.
tested things around and everything looks good on my end! (mainly speak from the visual/behavior side)
Problem
There were a few things Thao had asked for that I hadn't gotten around to making tickets for because they were so small. One step towards getting closer to the figma doc
I did check in with Thao and she has approved this set of changes.
Solution