Skip to content

Add custom settings icon API#56

Merged
Yahiewi merged 2 commits into
mainfrom
nblink-ui
Jun 30, 2026
Merged

Add custom settings icon API#56
Yahiewi merged 2 commits into
mainfrom
nblink-ui

Conversation

@Yahiewi

@Yahiewi Yahiewi commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

This PR brings some changes to specta that make it more customizable by other applications (notebook-link for example):
Added setSettingsIcon(icon) and customIcon to ISpectaTopbarWidget to let other apps replace the default burger menu icon with a custom React element.
Added optional label to ISpectaUiSwitcher to allow overriding the default "Select UI" text in the settings dropdown.

Here's notebook-link using this version of specta with a custom settings icon and label.

Screencast.from.2026-06-30.14-22-22.mp4

@martinRenou

Copy link
Copy Markdown
Member

Neat!

@Yahiewi Yahiewi merged commit b21443d into main Jun 30, 2026
3 checks passed
@Yahiewi Yahiewi deleted the nblink-ui branch June 30, 2026 13:15
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