-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Added displaynetwork option in filters for listnetwork only for admin #10209
base: 4.19
Are you sure you want to change the base?
Added displaynetwork option in filters for listnetwork only for admin #10209
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10209 +/- ##
=========================================
Coverage 15.13% 15.13%
- Complexity 11274 11279 +5
=========================================
Files 5408 5408
Lines 473974 474016 +42
Branches 57813 57824 +11
=========================================
+ Hits 71730 71746 +16
- Misses 394227 394248 +21
- Partials 8017 8022 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
clgtm
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build: ✔️ |
tested ok in qa! |
I suppose users you mean the admins! The display is possible only when they select "Display Network" to false, so I think it is intuitive. But what I just realized is clicking on that network leads to a 404 error. I'm thinking to extend this PR to include that as well. Any objections on that ? |
@DaanHoogland can you please check again, added fix for that too. |
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build: ✔️ |
Description
This PR addresses the issue #9386
With this PR, admin will now have the new option in filters section in list networks page. If a network is edited by setting "Display Network" to false, it will still redirect to 404 page, but then have the below option to list those kind of networks.
Types of changes
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Edit a network (test) and set "Display network" to false, then list networks
Update filter option, set "Display network" to false
click Search, Networks to which display networks set to false will be shown
How did you try to break this feature and the system with this change?