Repository navigation
feat: add optional widget header info icon - #25
Merged
Merged
Conversation
Allow widgets to show clickable header help via config.info, opening a popover by default or a modal for longer content. Co-authored-by: Cursor <cursoragent@cursor.com>
2 of 4 tasks
Contributor
Author
|
@wise-king-sullyman @andrew-ronaldson Can we get some eyes on this? |
andrew-ronaldson
requested changes
Nov 10, 2026
andrew-ronaldson
left a comment
There was a problem hiding this comment.
A couple spacing updates for the widget headers. I can't tell from the screenshots but I think the spacing between the icon and the header text could be reduced. Also in the header I think the three icon buttons could be group closer together. These changes will give a small amount of space back for larger titles.
Contributor
Author
|
Updated widget header action spacing.
@andrew-ronaldson Please re-review |
wise-king-sullyman
approved these changes
Nov 20, 2026
wise-king-sullyman
left a comment
Contributor
There was a problem hiding this comment.
Looks great, thanks!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Widgets can contain complex information—for example usage stats on a data dashboard. New users may need more background on what a widget contains and/or where the data comes from. Today there isn’t a straightforward pattern to add “more info” that covers the entire widget.
This PR adds an optional
config.infoon the widget configuration. When present, an info icon is shown in the widget header; clicking it opens a popover by default, or a modal when the content is larger (variant: 'modal'). Ifinfois not configured, the icon is not shown.Screenshot
Changes
WidgetInfoand optionalinfoonWidgetConfigurationGridTile(popover or modal)GridTiletestsAssisted-by: Cursor