Skip to content

Conversation

@jamiebenstead
Copy link
Contributor

@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 4, 2025 15:29 — with GitHub Actions Inactive
@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 4, 2025 15:34 — with GitHub Actions Inactive
@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 4, 2025 16:24 — with GitHub Actions Inactive
@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 5, 2025 11:22 — with GitHub Actions Inactive
@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 5, 2025 12:18 — with GitHub Actions Inactive
@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 5, 2025 12:18 — with GitHub Actions Inactive
@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 5, 2025 13:17 — with GitHub Actions Inactive
@jamiebenstead jamiebenstead marked this pull request as ready for review November 5, 2025 13:17
@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 5, 2025 13:18 — with GitHub Actions Inactive
@jamiebenstead jamiebenstead temporarily deployed to previews/1270/merge November 5, 2025 13:25 — with GitHub Actions Inactive
position: plugin.position || "top",
panel: () => (
<SidebarPanel heading={plugin.heading} Button={plugin.button}>
<SidebarPanel heading={plugin.heading} buttons={plugin.button || []}>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should say plugin.buttons rather than plugin.button

Comment on lines +24 to +30
{buttons?.length > 0 && (
<div className="sidebar__panel-buttons">
{buttons.map((btn, i) => (
<DesignSystemButton key={i} {...btn} />
))}
</div>
)}
Copy link
Contributor

Choose a reason for hiding this comment

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

would be nice to have a quick test for this

Copy link
Contributor

@loiswells97 loiswells97 left a comment

Choose a reason for hiding this comment

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

Looks great! ✅

@jamiebenstead jamiebenstead merged commit d01c6dd into main Nov 5, 2025
8 checks passed
@jamiebenstead jamiebenstead deleted the Refactor-sidepanel-for-multiple-buttons branch November 5, 2025 14:37
@patch0 patch0 mentioned this pull request Nov 13, 2025
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