Skip to content

Conversation

@Baluduvamsi2006
Copy link

What this PR does

This PR adds a one-click copy-to-clipboard button for Service IDs on the Service List page.

Previously, users had to manually select and copy the Service ID, which was inconvenient and could lead to copy mistakes.
With this change, users can copy the ID instantly with a single click and receive visual feedback through a success message.

Why this change is needed

Service IDs are frequently used when creating routes, plugins, and performing API operations.
Providing a quick copy action significantly improves usability and reduces friction for daily workflows.

Implementation details

  • Adds a lightweight copy action next to each Service ID
  • Uses the browser Clipboard API (no extra dependencies)
  • Displays a success message after copying
  • Follows Apache i18n and linting standards

Checklist

  • UI-only change
  • No breaking changes
  • Lint passed
  • Tested locally

@Baoyuantop
Copy link
Contributor

Hi @Baluduvamsi2006, this PR and #3275 have some overlap.

@Baluduvamsi2006
Copy link
Author

Hi @Baluduvamsi2006, this PR and #3275 have some overlap.

Thanks for pointing this out!

The overlap is because PR #3278 was split from #3275 before #3275 is merged.
PR #3275 now only contains the empty-state change, and this PR only adds
copy-to-clipboard functionality.

Once #3275 is merged, the overlap should be resolved automatically.

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