-
Notifications
You must be signed in to change notification settings - Fork 18
NETOBSERV-2182 & NETOBSERV-2183 PoC : Filters refactoring #877
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: main
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
[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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #877 +/- ##
==========================================
- Coverage 55.19% 49.24% -5.96%
==========================================
Files 199 39 -160
Lines 10620 3314 -7306
Branches 1231 0 -1231
==========================================
- Hits 5862 1632 -4230
+ Misses 4391 1516 -2875
+ Partials 367 166 -201
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
a) What does it mean to have:
compared to:
b) The dropdown is used to combine/separate peers. This is not intuitive.
a) How do I add Destination Namespace? b) If I click "Swap", it changes to:
If I click "Swap" again, it changes to:
Previously, there was no "From". It was just:
Thoughts: The "Swap" button would change the "Source" fields to "Destination" and vice versa. |
Thanks for your feedback @stleerh. Let me try to adress all of these:
If you feel it's not clear enough I can try to improve the display here but showing the full query will definitly take too much space in the screen.
Do you have a better way to do so ? I tried to reduce the number of filters in the selection by separating Source / Destination from the dropdown.
For now, you need to click on the arrow next to your value and then click "as destination" It's an extra step but I didn't found a better way yet. We may find a way to select Source / Destination before validating the filter but I don't want to keep the accordion in the filter selection.
The from / to should never appear. Let me fix that.
That's not something we can easilly change here. I don't want to have These could become a tooltip / popover.
I'm not sure to get what you mean here. Could you please give an example ?
Yes, any filter change re-run a query and redraw the topology as usual. We can improve that in a followup but let's focus on the filtering engine first.
Yes, since we don't have the accordion anymore it makes sense. I can even put an autocomplete here if you feel it will help.
Let me check what I can do there 👍
How do you want to keep these without having a huge list and removing the accordion ? |
Description
Merge
Match
option andBack and forth
ones into a single new dropdown appearing next to filters values as:Add dropdowns under filters values allowing:
Removed the Source and Destination accordion from the filters selection. The source is forced only when using one way or peers, else it's both by default.
Dependencies
Requires netobserv/network-observability-operator#1632 to get updated filters config
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.