Skip to content

Conversation

@timmo001
Copy link
Owner

@timmo001 timmo001 commented Jan 5, 2026

Note

Adds lightweight ID visibility and copy UX to aid command reference and integration.

  • In settings-commands.ts, renders each command's id with a small "Copy" icon button
  • Implements handleCopyId using navigator.clipboard.writeText and wires it to the new button

Written by Cursor Bugbot for commit e644f09. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Jan 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
system-bridge Ready Ready Preview, Comment Jan 5, 2026 8:25pm

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 23

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

data-id=${cmd.id}
@click=${this.handleCopyId}
title="Copy ID"
class="h-5 w-5"
Copy link

Choose a reason for hiding this comment

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

Custom button classes overwritten by component styling

The class="h-5 w-5" on the copy button will be ignored because the ui-button component's updateStyles() method uses setAttribute("class", classes), which completely overwrites any class attribute with only the computed variant/size classes. The intended 20x20 pixel sizing will be replaced by the default icon size of 36x36 pixels (size-9), making the button larger than intended for inline display alongside text.

Fix in Cursor Fix in Web

@timmo001 timmo001 merged commit b6fa2fb into master Jan 5, 2026
18 checks passed
@timmo001 timmo001 deleted the commands-copy-id branch January 5, 2026 20: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.

2 participants