-
Notifications
You must be signed in to change notification settings - Fork 143
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
feat(admin): identify external plugins #1202
feat(admin): identify external plugins #1202
Conversation
The image is available at: |
1 similar comment
The image is available at: |
I thought we had discussed that this information could, for 1.2, be hard-coded on the client side ? I'm of course not against making something more automated, but I'm not a fan of the code depending on the content of the Another point to consider is the following; the fact that a plugin is mentioned in the cc @nickboldt |
cc7d9cb
to
a11a300
Compare
The image is available at: |
Hi @davidfestal , thanks for the review. I also felt that package value in |
2d5c5fd
to
c416052
Compare
The image is available at: |
cc @gashcrumb as the related EPIC owner. |
c416052
to
9ad2695
Compare
Hi @gashcrumb The mapping component seems not passing the SonarCloud duplication check. Did I misunderstand the mapping from our discussion? |
The image is available at: |
Just took a quick glance (will look closer tomorrow) and I think this is along the lines of what we've discussed. We may have to add an exception in SonarCloud for this (I need to learn how to do this for my own PR too), probably also worth adding a comment if there isn't one already explaining what the mapping is for. |
plugins/dynamic-plugins-info/src/components/InternalPluginsMap.tsx
Outdated
Show resolved
Hide resolved
plugins/dynamic-plugins-info/src/components/DynamicPluginsTable/DynamicPluginsTable.tsx
Outdated
Show resolved
Hide resolved
abaf180
to
643732f
Compare
The image is available at: |
643732f
to
bbe12b4
Compare
The image is available at: |
1 similar comment
The image is available at: |
Not sure I'm a fan of the Is there an ability to filter the enabled / disabled ones ? Maybe a Button, something visual that would make it clear what is the list we're seeing ? |
Maybe just
The sorting can be used to get an idea but I agree it does feel like a quick filter of some variety would be nicer. I think the filter widget that's used on other catalog pages is probably too much for this purpose. @ShiranHi I wonder if there's other quick filter options we could use here? |
In the Support pop up, it uses cc @gashcrumb |
86a35df
to
c7156c6
Compare
The image is available at: |
I think we should probably update the support popup to say "All of the plugins" and I still think maybe just simplifying the page title to just "Plugins" would be best here, as now the table shows all of this. I was thinking this more generic title fits if we also have simple filter control perhaps in the toolbar area for quickly filtering out disabled plugins as @davidfestal suggests. |
There's this filtered table option we could try out. |
I think we don't need to add a filter bar to this page. The columns are sortable, and users can use the search bar if they need to find something specific.
We decided against displaying any links in the UI. This is because the page is hardcoded, meaning any changes would require users to wait for a new release. Additionally, this approach wouldn't function in air-gapped environments. So I don't think we need to add this support button. I have 3 questions:
|
That's a good point, the support button here is more for the user to configure to point to their own internal pages. This is as good a time as any to remove this control. What about the question of "Installed Plugins" vs "Total Plugins" vs "Plugins" for the table title?
The "Role" column combines two fields that plugins set in their
This means it's a plugin that shipped on the RHDH image but it has not been enabled via the Helm chart or Operator configuration.
This is what the "Preinstalled" column represents. A "no" here means that an external plugin was installed via a remote souurce. The API doesn't give an installation URL or indication of an external plugin so this is being calculated on the frontend side by comparing the API response against our default configuration. |
BTW we did try the filtered table, however it introduces some layout issues and the actual filter panel doesn't seem to work, which will require additional investigation. I propose we hold off introducing any additional filtering into this PR, we can always do this as an enhancement later. |
Right, I missed that. Only "Plugins" should work imo |
ee37378
to
a2d936f
Compare
The image is available at: |
Signed-off-by: Yi Cai <[email protected]>
7f39b56
to
2fa1bbd
Compare
Quality Gate passedIssues Measures |
The image is available at: |
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.
👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gashcrumb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Huh, didn't realize that would add both labels, a 2nd look by someone else would be good too 😄 |
Or would have been, I guess it was on the merge queue already even though I removed the label manually. @kadel wonder why both labels were applied at once, was it the 👍 in my comment when I used the approve button? |
@gashcrumb I can raise a separate PR to address any further comments for this PR. @davidfestal @ShiranHi Let me know if this PR needs more work. Thank you. |
Description
As a user of RHDH, I want to know which third party plugins are installed so that I know that there could be unsupported plugins running in my RHDH installation.
Which issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer
Screenshot(updated 5/1)
Note: for internal packages that are not enabled, Version and Role values are left empty in table.
Passed e2e tests