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

Badging for sidebar panel icons, for notifications or alerts #16676

Open
JasonWeill opened this issue Aug 13, 2024 · 1 comment
Open

Badging for sidebar panel icons, for notifications or alerts #16676

JasonWeill opened this issue Aug 13, 2024 · 1 comment

Comments

@JasonWeill
Copy link
Contributor

Problem

Sidebar panel icons, including for panels that are not actively selected, do not have a provision to add a badge or some other visual treatment to suggest that the user should open the sidebar panel and perform some action, such as reading a message or responding to an error.

Proposed Solution

Modify the sidebar widget API to allow for the panel icon to have a badge on it, with some combination of a shape and a text annotation, such as a number. Allow for widgets to dynamically show, hide, or update the badge in response to actions in any part of JupyterLab.

Additional context

See also:

@JasonWeill JasonWeill added enhancement status:Needs Triage Applied to new issues that need triage tag:Design and UX and removed status:Needs Triage Applied to new issues that need triage labels Aug 13, 2024
@JasonWeill
Copy link
Contributor Author

Related PR: #15155 would add a popover to show shortcuts when an accelerator is pressed. If we implement this, we need to avoid conflicts with the popover on keypress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant