-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/172 css grid restyling #174
Conversation
…-parent-tree-tables-v2
…-parent-tree-tables-v2
…-parent-tree-tables-v2
…-parent-tree-tables-v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! Added only a few markups, and an overall question, shouldn't we separate the parent tree step implementation and focus just on the grid styling for this PR?
frontend/src/components/SeedlotRegistrationSteps/CollectionStep/index.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/SeedlotRegistrationSteps/CollectionStep/index.tsx
Show resolved
Hide resolved
As @mgaseta pointed out, this PR contains some changes for the parent tree step component which do not fit the scope of this issue. The reason being this task was branched out of the development of parent tree, in the future this practice will be avoided. For "efficiency" sake, these changes will be pushed to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just another typo to fix and it's good to go!
frontend/src/components/SeedlotRegistrationSteps/CollectionStep/index.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* fix: add prevent duplicate logic to orcahrd step * fix: remove prevent duplicate orchard id logic * fix: modularize things * fix: add root to dockerfile dev * feat: add DescriptionBox component * feat: adjust description box styling * fix: update carbon version * fix: test link in notification box * fix: remove !import for grid and refactor related code * feat: add padding to page bottom * fix: change where padding bottom is added * feat: add btn text and icon customization feat to submit modal * fix: update snapshot * fix: add end of file lines * fix: fix collection start date col size * fix: update em to rem * fix: add breakpoints to col * fix: update to rem
* fix: add prevent duplicate logic to orcahrd step * fix: remove prevent duplicate orchard id logic * fix: modularize things * fix: add root to dockerfile dev * feat: add DescriptionBox component * feat: adjust description box styling * fix: update carbon version * fix: test link in notification box * fix: remove !import for grid and refactor related code * feat: add padding to page bottom * fix: change where padding bottom is added * feat: add btn text and icon customization feat to submit modal * fix: update snapshot * fix: add end of file lines * fix: fix collection start date col size * fix: update em to rem * fix: add breakpoints to col * fix: update to rem
* fix: add prevent duplicate logic to orcahrd step * fix: remove prevent duplicate orchard id logic * fix: modularize things * fix: add root to dockerfile dev * feat: add DescriptionBox component * feat: adjust description box styling * fix: update carbon version * fix: test link in notification box * fix: remove !import for grid and refactor related code * feat: add padding to page bottom * fix: change where padding bottom is added * feat: add btn text and icon customization feat to submit modal * fix: update snapshot * fix: add end of file lines * fix: fix collection start date col size * fix: update em to rem * fix: add breakpoints to col * fix: update to rem
* fix: add prevent duplicate logic to orcahrd step * fix: remove prevent duplicate orchard id logic * fix: modularize things * fix: add root to dockerfile dev * feat: add DescriptionBox component * feat: adjust description box styling * fix: update carbon version * fix: test link in notification box * fix: remove !import for grid and refactor related code * feat: add padding to page bottom * fix: change where padding bottom is added * feat: add btn text and icon customization feat to submit modal * fix: update snapshot * fix: add end of file lines * fix: fix collection start date col size * fix: update em to rem * fix: add breakpoints to col * fix: update to rem
Description
This PR removes the usage of
!important
forGrid
andFlexGrid
component. The front end was built to accommodate this!important
override in the beginning so a lot of components need to be refactored in another issue.To keep each PR small(fairly small), this one only refactored the Collection Step of the registration flow as an example.
To see the reason for this change please see #172 for detail.
Summary of changes
important
for grid css in the component override fileCollectionStep
andSeedlotRegistrationForm
SubmitModal
componentNote:
Fixes #172
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Local testing
Checklist
Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend
Frontend
Oracle-API
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow