-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat(ws): add filter to workspaces table #157
base: notebooks-v2
Are you sure you want to change the base?
feat(ws): add filter to workspaces table #157
Conversation
0ad2045
to
fd2eb6f
Compare
fd2eb6f
to
47b4fac
Compare
cdd8587
to
7a34836
Compare
7a34836
to
0b91412
Compare
6b6f562
to
a80378b
Compare
Signed-off-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>
a80378b
to
a3d0695
Compare
@@ -0,0 +1,52 @@ | |||
import { home } from '~/__tests__/cypress/cypress/pages/home'; | |||
|
|||
const useFilter = (filterName: string, searchValue: string) => { |
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.
Why were these tests duplicated in two different folders?
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.
so they will run when testing on local and on pushing to github.
maybe there is better way to do so, i would like suggestions
a3d0695
to
41e9865
Compare
178590e
to
99da918
Compare
Signed-off-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>
99da918
to
8b64771
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes: #143.
extracted filtering logic into different generic Filter component.
implemented logic for filtering with single filter and multiple filters, including adding and removing.
cleaned the workspaces file code a little bit with inserting looping over data.
added cypress tests for the filtering.
made minor change in the cypress.config file in order to be able to see changes in the ui immidiatly on the cypress gui and make testing more easy, so we dont need to do build on each change in order to see it on cypress.