Skip to content

Bug 2054039 - Add a button to clear all screen notifications#9687

Open
davidmiculit wants to merge 2 commits into
mozilla:masterfrom
davidmiculit:feat/clear-all-notifications-button
Open

Bug 2054039 - Add a button to clear all screen notifications#9687
davidmiculit wants to merge 2 commits into
mozilla:masterfrom
davidmiculit:feat/clear-all-notifications-button

Conversation

@davidmiculit

Copy link
Copy Markdown
Collaborator

Comment on lines +34 to +40
<Button
onClick={() => clearAllNotifications()}
className="clear-all-notifications w-100 mb-1"
size="sm"
>
Clear all notifications
</Button>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Functionality is all right
That blue background stands out too much imo, this styling is used for tags.
I would go for maybe variant="darker-info", it looks better on jobs view, it overlaps with Table view and Add test data buttons in graphs view, I'm not sure. What do you think?
Or something that is not that bright in color and is similar with the other buttons in Perfherder.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe we could add a keyboard shortcut for this

@davidmiculit davidmiculit Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I agree that it could look better, but the overlapping will still be present as long as any notifications are on screen(even without the clear all button), so that can't be helped

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.

2 participants