-
Notifications
You must be signed in to change notification settings - Fork 92
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
Feature/clear input button #151
Feature/clear input button #151
Conversation
Why: make it easily to the user change the line number How: by using IconButton (with ClearIcon) and placing in the right placeholder What: add ClearButton in LineSelector component
…imelinePage How: Check if the lineNumber or operatorId is not undefined and stop the other effects from running
…apsPatternsPage and SingleLineMapPage How: Check if the lineNumber or operatorId is not undefined , reset the routeKey and routes
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.
looks great!
did you manually test that everything still works?
BTW, adding a playwright test would be a great practice
…n-bus-map-search into feature/clear-input-button
please resolve conflicts |
✅ Deploy Preview for astonishing-pothos-5f81bd ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
What: Add tests to make sure that the clear button works Why: To be sure that future changes will not affect its functionality How: using playwright
@NoamGaash, I added tests of the clear button. |
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.
feel free to merge after addressing the comment :)
thank you!
Description
Solves issue #59
[Feature] Add ClearButton To LineSelector
Why: make it easily to the user change the line number
How: by using IconButton (with ClearIcon) and placing in the right placeholder
What: add ClearButton in LineSelector component
Reset the routeKey and routes values when clearing the operatorId or lineNumber
screenshots
<-- paste here -->
Recording.2023-10-23.225958.mp4