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

MBS-12942: Also indicate if target has pending edits in relationship editor #2901

Merged
merged 2 commits into from
Jun 17, 2023

Conversation

reosarevok
Copy link
Member

@reosarevok reosarevok commented Mar 15, 2023

Implement MBS-12942

Problem

The old relationship editor highlighted entities with pending edits, but the new one does not. We now indicate relationships with pending edits with an icon, but there's nothing indicating an entity has pending edits.

Solution

@Aerozol came up with a pair of icons to represent entity and relationship pending edits, so I added a second tooltip option for when the entity has pending edits. See images below. This one links to the /open_edits page for the entity.

Testing

By hand on a fake release I changed so that it has both types of pending edits.

Example

image_2023-06-13_142000825

On top of #2964 to use the other icons in the new set already.

@reosarevok
Copy link
Member Author

@brainzbot, retest this please

@Aerozol
Copy link
Contributor

Aerozol commented Mar 15, 2023

Nice!!
I think the icons are too prominent atm. Could the icons be made slightly smaller, so the yellow circle is the same size as the circle around the (+) icon?

@reosarevok
Copy link
Member Author

Hmm. The height of both those icons is supposed to be 16px right now...

@Aerozol
Copy link
Contributor

Aerozol commented Mar 16, 2023

huh, maybe the other icons have whitespace around them? It’s only a few px but it makes a difference:
image

@reosarevok reosarevok added the QoL Non-urgent quality of life improvements label Mar 17, 2023
@reosarevok
Copy link
Member Author

@Aerozol: can you play with it a bit and see what the preferred height would be for you? 15? 14?

@atj
Copy link
Contributor

atj commented Apr 25, 2023

Apologies if you've already discussed this, but is there any way we can convey the meaning of this icon a bit better? I tried adding the following but you can't really make it out at 16px:

open_edits_for_entity-new

@reosarevok
Copy link
Member Author

Hovering will open a tooltip anyway, so I don't think it's the end of the world if we cannot make it more obvious than it is now at that size :)

@Aerozol
Copy link
Contributor

Aerozol commented Jun 12, 2023

Lost this ticket in my emails, sorry tīmu!
I’ve revisited this icon after atj’s feedback, see the ticket: https://tickets.metabrainz.org/browse/MBS-12942

re. sizing, I had a look and the other icons do have whitespace around them in the png file. Let’s just do full size (e.g. the same size as the others), we’ll replace those icons at some point anyway.

@reosarevok
Copy link
Member Author

Updated this with the new icons :)

Aerozol made us this, we should use it.
We were already showing if the relationship itself has pending edits,
but not if the target entity has them (which the old relationship editor
used to indicate with a highlight).
Aerozol made us a nice icon to use for this, and I think
it's quite useful to have it and link to the entity's open edits page.
@reosarevok reosarevok merged commit b753057 into metabrainz:master Jun 17, 2023
@reosarevok reosarevok deleted the MBS-12942 branch June 17, 2023 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QoL Non-urgent quality of life improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants