Skip to content

Add copy buttons for the feeder ID and claim secret#53

Merged
d4rken merged 1 commit into
devfrom
feat/claim-copy-buttons
Jun 2, 2026
Merged

Add copy buttons for the feeder ID and claim secret#53
d4rken merged 1 commit into
devfrom
feat/claim-copy-buttons

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Jun 2, 2026

The claim view shows the feeder ID and claim secret as plain text you have to select by hand to copy. This adds a small copy icon after each value so it can be copied in one tap, with brief feedback on success.

Where the browser's async clipboard API isn't available — the webconfig is served over plain HTTP, which isn't a secure context — it falls back to a legacy copy path so the button still works on a feeder.

The claim view previously required manually selecting the feeder ID and
claim secret to copy them. Add a small inline copy icon after each value
that copies it in one tap, with brief visual feedback. Falls back to
execCommand where the async clipboard API is unavailable (the webconfig
is served over plain HTTP, not a secure context).
@d4rken d4rken added the enhancement New feature or request label Jun 2, 2026
@d4rken d4rken merged commit fb364ce into dev Jun 2, 2026
7 checks passed
@d4rken d4rken deleted the feat/claim-copy-buttons branch June 2, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant