-
Notifications
You must be signed in to change notification settings - Fork 1.2k
add search filter reset button #7531
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
base: development
Are you sure you want to change the base?
Conversation
@@ -50,6 +50,12 @@ | |||
/> | |||
</FtFlexBox> | |||
<div class="searchFilterCloseButtonContainer"> | |||
<FtButton | |||
:label="$t('Clear filters')" |
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.
Also need an entry in static/locales/en-US.yaml
so people can translate
:label="$t('Clear filters')" | |
:label="$t('Search Filters.Clear Filters')" |
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.
Thanks for the quick response, have committed those changes
Head branch was pushed to by a user without write access
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.
- I looks like that the close and clear filters button use different kinds of red
- Change secondary theme to Dracula green and see that words in clear filters label is white. See that the words within the buttons of the Data settings are black
The clear filters button is using the secondary color var as I thought this would be less confusing. I can change it to the primary color though or whichever is suitable? |
Please read my comment again. I do not have anything against the secondary color theme. I have an issue with the text within it |
Head branch was pushed to by a user without write access
static/locales/en-US.yaml
Outdated
@@ -118,6 +118,7 @@ Search Filters: | |||
Fetching results. Please wait: Fetching results. Please wait | |||
Fetch more results: Fetch more results | |||
There are no more results for this search: There are no more results for this search | |||
Clear Filters: Clear filters |
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.
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.
Head branch was pushed to by a user without write access
Probably very out of scope: I need someone else to verify because i dont know if its my panel put if my secondary color theme is set to Red the Close button got a different shade of Red then the Clear Filters button |
Ok disregard what i said. Ty for testing :) |
Pull Request Type
Related issue
closes #7396
Description
Add button that clears active search filters
Screenshots
Before

After
