Skip to content

Change modified in to use custom hover - #152401

Merged
Raymond Zhao (rzhao271) merged 4 commits into
mainfrom
rzhao271/se-modified-in-custom-hover
Jun 21, 2022
Merged

Raymond Zhao (rzhao271) merged 4 commits into
mainfrom
rzhao271/se-modified-in-custom-hover

Conversation

@rzhao271

Copy link
Copy Markdown
Collaborator

Ref #151787

This PR changes the "Modified in/Also modified in" label to say "(Also) modified elsewhere" when there are two or more scopes in which the setting has been modified.

When the "Modified elsewhere" label is displayed, there is also a custom hover that shows a list of scopes in which the setting has been modified.

For now, the hover shows a list of spans rather than a list of links, but I plan on upgrading the link handler event for clicking on a scope in general, and then using links instead.

A screenshot showing the new Modified elsewhere label along with the custom hover

@rzhao271
Raymond Zhao (rzhao271) merged commit 10e6e87 into main Jun 21, 2022
@rzhao271
Raymond Zhao (rzhao271) deleted the rzhao271/se-modified-in-custom-hover branch June 21, 2022 00:09
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants