Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Aug 18, 2025

External Links

Description

Adds an actions prop to the NodeProps interface. This will be used for showing the + icon for adding a field in Compass' data modeling.

📸 Screenshots/Screencasts

Screenshot 2025-08-18 at 1 32 59 AM

<Icon fill={theme.node.headerIcon} glyph="Drag" />
</NodeHeaderIcon>
<NodeHeaderTitle>{title}</NodeHeaderTitle>
{actions}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Small suggestion, can we wrap this in a <div> with margin-left: 'auto' since the actions will always be hugging the right of the header?

Copy link
Member Author

Choose a reason for hiding this comment

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

In case we want to add a badge next to the text I was thinking leaving that up to the consumer may give more flexibility. With that considered though actions might not be the best name, can't think of much better of one though.

Copy link
Member Author

Choose a reason for hiding this comment

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

Merged it in, happy to change in a follow up pr if you'd like it that way! let me know.

@Anemy Anemy merged commit 3288564 into main Aug 21, 2025
5 checks passed
@Anemy Anemy deleted the feat/COMPASS-9696-add-actions-prop-for-node-toolbar branch August 21, 2025 02:30
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.