Skip to content
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

frontend: PluginSettings: Use author for plugin origin #2572

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

skoeva
Copy link
Contributor

@skoeva skoeva commented Nov 14, 2024

This change makes the formatting of the plugin names consistent, using the plugin author for the origin value. When the author is not set, the default origin is "Unknown".

Fixes: #2544

Testing

  • Open Headlamp and navigate to the plugin settings
  • Note the consistent plugin name formats and author listed under the origin column

image
image

@skoeva skoeva added bug Something isn't working plugins labels Nov 14, 2024
@skoeva skoeva self-assigned this Nov 14, 2024
@skoeva skoeva linked an issue Nov 14, 2024 that may be closed by this pull request
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 14, 2024
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Nov 14, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Nov 14, 2024
@skoeva skoeva force-pushed the plugin-name-formats branch 5 times, most recently from f6598ee to 35ba0fc Compare November 19, 2024 13:50
@skoeva skoeva requested a review from illume November 19, 2024 13:55
@illume
Copy link
Collaborator

illume commented Nov 21, 2024

Can you please split the commits to changes in separate components out?
(Maybe it’s just the subtitle change that could be put in its own commit… but there’s lots of files changed so I could have missed something else.)

@illume
Copy link
Collaborator

illume commented Nov 21, 2024

I wonder if we can use the fit repo if it’s there instead of unknown?
Also maybe that should even be displayed… because it can be more useful than whatever the author is put there.

Just a thought, I don’t think adding the GitHub repo should be done in this PR.

We should however make sure all our plugins have the author in the package.json (Also separate to this PR)

This change makes the formatting of the plugin names consistent, using
the plugin author for the origin value. When the author is not set, the
default origin is "Unknown".

Fixes: #2544

Signed-off-by: Evangelos Skopelitis <[email protected]>
@skoeva
Copy link
Contributor Author

skoeva commented Nov 21, 2024

@illume added a separate commit for the subtitle change, lmk if this should be split up further to reflect the change itself vs the context it's being used in

Copy link
Collaborator

@illume illume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 22, 2024
@illume illume merged commit e50133c into main Nov 22, 2024
17 of 18 checks passed
@illume illume deleted the plugin-name-formats branch November 22, 2024 20:56
skoeva added a commit that referenced this pull request Nov 22, 2024
This change addresses a regression introduced by #2572 since the
SectionHeader components were aligned in a column, causing title side
actions to appear under the title. Now, subtitles should appear under
the title, and title side actions should appear next to the title.

Fixes: #2605

Signed-off-by: Evangelos Skopelitis <[email protected]>
skoeva added a commit that referenced this pull request Nov 27, 2024
This change addresses a regression introduced by #2572 since the
SectionHeader components were aligned in a column, causing title side
actions to appear under the title. Now, subtitles should appear under
the title, and title side actions should appear next to the title.

Fixes: #2605

Signed-off-by: Evangelos Skopelitis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer plugins size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Development

Successfully merging this pull request may close these issues.

Plugin names have different formats
3 participants