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
Use Filtering class to get and set filter texts #15996
Merged
davelopez
merged 12 commits into
galaxyproject:dev
from
ahmedhamidawan:track_store_filtertext_in_panel
May 10, 2023
Merged
Use Filtering class to get and set filter texts #15996
davelopez
merged 12 commits into
galaxyproject:dev
from
ahmedhamidawan:track_store_filtertext_in_panel
May 10, 2023
Conversation
This file contains 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
ahmedhamidawan
force-pushed
the
track_store_filtertext_in_panel
branch
from
April 25, 2023 20:22
e812906
to
0b6dfed
Compare
davelopez
reviewed
Apr 26, 2023
ahmedhamidawan
changed the title
Track filterText from historyStore in HistoryPanel
Use Filtering class to get and set filter texts
May 3, 2023
davelopez
reviewed
May 3, 2023
davelopez
reviewed
May 3, 2023
davelopez
approved these changes
May 5, 2023
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.
Thank you so much @ahmedhamidawan!
This is already an awesome improvement! I'm looking forward to the next refactoring to reduce juggling around "filterText" 👍
ahmedhamidawan
added
the
kind/refactoring
cleanup or refactoring of existing code, no functional changes
label
May 6, 2023
Failed test:
seems unrelated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/UI-UX
kind/enhancement
kind/refactoring
cleanup or refactoring of existing code, no functional changes
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 are several improvements to
Filtering
in this PR:Using the
Filtering
class to apply and getfilterText
s:Instead of setting filters values like so:
Or like:
We are now able to pass filters as objects:
Converting the buttons in
HistoryCounter
to "Include deleted/visible"The buttons in the
HistoryCounter
as of now work as toggles that will either show ONLY deleted items if you click thedeleted
button, and vice versa for thevisible
buttonChanged this so the tooltips say "Include Deleted" instead, so users can click the buttons and include deleted or hidden items upon clicking on these buttons:
Screen.Recording.2023-05-02.at.11.22.33.PM.mov
Keeping HistoryPanel
filterText
in sync with the historyStore:Fixes #15990
We keep the current
HistoryPanel
andhistoryStore.storedFilterText
in sync:Screen.Recording.2023-04-25.at.2.35.24.PM.mov
How to test the changes?
(Select all options that apply)
License