-
Notifications
You must be signed in to change notification settings - Fork 7
[APP-526] feat: Use NBS components for Advanced Filter UI #3315
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
Open
emyl3
wants to merge
39
commits into
main
Choose a base branch
from
el/app-526/adv-filter-nbs-components
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 28 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
736da60
[APP-526] feat: Use NBS components for Advanced Filter UI
emyl3 959c71c
fix: styling cleanup
mcmcgrath13 3c905c0
fix: commented out code
mcmcgrath13 1836fa6
Merge branch 'main' into el/app-526/adv-filter-nbs-components
emyl3 26775c2
fix: fix styling
emyl3 0c101ac
Merge branch 'main' into el/app-526/adv-filter-nbs-components
emyl3 e25367f
address comments
emyl3 a1449ab
wip: fix validation and add tests
emyl3 644a817
Merge remote-tracking branch 'origin/main' into el/app-526/adv-filter…
emyl3 7b5df69
fix: remove refs
emyl3 de78d75
fix: address comments
emyl3 751d940
fix: error msg
emyl3 c8b240a
fix: nested rule group labels and changing operators
emyl3 36a078d
fix: update buttons
emyl3 854dad2
Merge remote-tracking branch 'origin/main' into el/app-526/adv-filter…
emyl3 1f09b21
Apply suggestions from code review
emyl3 ff86178
address comments
emyl3 629a9b5
Apply suggestions from code review
emyl3 1b86b2c
fix styles
emyl3 9e14147
cleanup
emyl3 04c2a34
cleanup
emyl3 c89f8f6
address comments
emyl3 b16ff03
add error msg
emyl3 bd54eca
add more tests
emyl3 d5949fe
Merge branch 'main' into el/app-526/adv-filter-nbs-components
emyl3 7b41118
fix test
emyl3 62bcba7
fix test
emyl3 31016e7
Merge branch 'main' into el/app-526/adv-filter-nbs-components
emyl3 b9888d2
Fix typo
emyl3 cbd5649
Merge branch 'main' into el/app-526/adv-filter-nbs-components
emyl3 5498b62
address comments
emyl3 8751a85
run format
emyl3 5f06177
Merge remote-tracking branch 'origin/main' into el/app-526/adv-filter…
emyl3 dd484a4
run format
emyl3 52cef3a
fix test
emyl3 4d210e7
fix: cypress test
emyl3 c31d8e7
Apply suggestions from code review
emyl3 3ecb947
Merge branch 'main' into el/app-526/adv-filter-nbs-components
emyl3 0c45444
move constant
emyl3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
apps/modernization-ui/src/apps/report/run/filters/advanced/AddButton.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import React from 'react'; | ||
| import { ActionProps } from 'react-querybuilder'; | ||
| import { Button } from '../../../../../design-system/button'; | ||
|
|
||
| const AddButton = (props: ActionProps) => { | ||
| return ( | ||
| <Button | ||
| type={'button'} | ||
| onClick={(e) => props.handleOnClick(e)} | ||
| secondary={props.className === 'ruleGroup-addGroup'} | ||
| > | ||
| {props.title} | ||
| </Button> | ||
| ); | ||
| }; | ||
|
|
||
| export { AddButton }; | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
(thought, super-nb): ENTIRELY unrelated to this PR, but it'd be great if we could get path aliasing working at some point, and remove the need to traverse up the codebase like this for some of our dependencies!
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.
Yes! Agree! Do you prefer I create a separate ticket to keep track of this or just a good thing to keep in mind when we are out of the crunch period? 👀
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.
A tech debt ticket couldn't hurt! Thanks Elisa 🙏