-
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
Add filter page components #94
Conversation
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!
I just have a couple of questions:
- This PR aimed to implement only the components of the sections and the Create Filter Page #76 will put everything together? Maybe it would be better to implement the page ui first and than put the logic in it. It will take more time to add the state management, etc
- In storybook, the checkbox is moving when we click on it, is there an easy way to fix it?
</span> | ||
<Input | ||
className={inputClass} | ||
onChange={onMinChange} |
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.
in both cases the onChange
will update the value, right? I think it is worth it to add a const with useCallback for it
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.
The Parent component will probably create two states, one for each input, so we will probably always have two setState also.
d78c795
to
a8fb19c
Compare
Fixed |
a8fb19c
to
dceef7b
Compare
dceef7b
to
0b5284a
Compare
Description
Related Issues
Closes #75
How to test it
pnpm run storybook
Filter CheckboxSection
andFilter TimeRangeSection