Skip to content

Bug 2053080 - Highlight the last "Open graph" button clicked#9680

Open
davidmiculit wants to merge 5 commits into
mozilla:masterfrom
davidmiculit:feat/highlight-last-opengraph-button
Open

Bug 2053080 - Highlight the last "Open graph" button clicked#9680
davidmiculit wants to merge 5 commits into
mozilla:masterfrom
davidmiculit:feat/highlight-last-opengraph-button

Conversation

@davidmiculit

@davidmiculit davidmiculit commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Bug 2053080 - Highlight the last "Open graph" button clicked

When a user clicks an "open graph" button (which opens a new tab), that button gets highlighted. The highlight clears ~3 seconds after the user returns to the tab, using the visibilitychange event. State lives in AlertsViewControls and is prop-drilled through AlertTable → AlertTableRow.

Comment thread ui/perfherder/alerts/AlertTableRow.jsx Outdated
Comment thread ui/perfherder/alerts/AlertsViewControls.jsx Outdated
Comment thread ui/perfherder/alerts/AlertsViewControls.jsx Outdated
Comment thread ui/perfherder/alerts/AlertTableRow.jsx Outdated
@davidmiculit
davidmiculit force-pushed the feat/highlight-last-opengraph-button branch from 566d645 to 6bd3e28 Compare July 13, 2026 15:01
Comment thread tests/ui/perfherder/alerts-view/alerts_table_row_test.jsx Outdated
Comment thread tests/ui/perfherder/alerts-view/alerts_table_row_test.jsx Outdated
Comment thread ui/perfherder/alerts/AlertsViewControls.jsx
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.

3 participants