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

fix: improve default contribution action icon #5236

Merged
merged 1 commit into from Dec 12, 2023
Merged

Conversation

deboer-tim
Copy link
Collaborator

@deboer-tim deboer-tim commented Dec 12, 2023

What does this PR do?

We've had several people get confused with actions contributed by extensions that show up as an ellipsis icon in popup menus and Detail pages. The correct/full fix will require us to allow commands to provide their own icons, and to do this for all of the current extensions. This is not that fix. :)

The other two things we should do are:

  • switch the default icon so that it doesn't use the same icon as our popup menus
  • pass the detailed property through the ContributionActions component so that these icons show up on buttons on the Details pages like the other actions.

This is that part of the fix!

I went through FA trying to find a more suitable icon and this is the best I could come up with. I preferred it to icons like the puzzle piece and I think it still gives some indication that the action comes from an extension.

Screenshot / video of UI

Before:

Screenshot 2023-12-12 at 2 25 34 PM Screenshot 2023-12-12 at 2 25 13 PM

After:

Screenshot 2023-12-12 at 2 26 37 PM Screenshot 2023-12-12 at 2 01 15 PM

What issues does this PR fix or reference?

First step toward fixing #4763.

How to test this PR?

Go to contribution actions, e.g. Image Details page. Use PR #5222 as well to see the popup on Images list.

@deboer-tim deboer-tim requested review from benoitf and a team as code owners December 12, 2023 19:28
@deboer-tim deboer-tim requested review from jeffmaury and lstocchi and removed request for a team December 12, 2023 19:28
@benoitf
Copy link
Collaborator

benoitf commented Dec 12, 2023

rebasing to trigger again sonar check

We've had several people get confused with actions contributed by
extensions that show up as an ellipsis icon in popup menus and Detail
pages. The correct/full fix will require us to allow commands to provide
their own icons, and to do this for all of the current extensions. This
is not that fix. :)

The other two things we should do is switch the default icon so that it
doesn't use the same icon as our popup menus, and to pass the detailed
property through the ContributionActions component so that these icons
show up on buttons on the Details pages like the other actions. This is
that part of the fix!

I went through FA trying to find a more suitable icon and this is the
best I could come up with. I preferred it to icons like the puzzle
piece and I think it still gives some indication that the action comes
from an extension.

First step toward fixing #4763.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
Copy link
Collaborator

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

image
works for me

@benoitf benoitf merged commit a298dcd into main Dec 12, 2023
8 checks passed
@benoitf benoitf deleted the contribution-action branch December 12, 2023 20:15
@benoitf benoitf mentioned this pull request Dec 12, 2023
5 tasks
@podman-desktop-bot podman-desktop-bot added this to the 1.7.0 milestone Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants