Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make message ID on submission page copyable (version 2) #577

Merged
merged 3 commits into from
Jan 16, 2024

Conversation

rossburton
Copy link
Contributor

This directly conflicts with #572.

Add a little "copy" button to the message ID field so that the user can copy the message ID to the clipboard. This makes working with b4 from a terminal easier because it's just one-click to get the IDs.

Screenshot 2024-01-10 at 18 10 42

Also depends on and incorporates #576, for the updated glyphicon font with a 'copy' icon.

The output is identical, but this removes the duplication of the Message
ID itself in the source.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Don't limit the clipboardjs hooking to button.btn-copy, as we may want
to use it on icons which are not buttons.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Add an icon alongside the message ID to copy the message ID to the
clipboard, to ease integration with eg b4.

Signed-off-by: Ross Burton <ross.burton@arm.com>
@stephenfin stephenfin merged commit 0f6a2ba into getpatchwork:main Jan 16, 2024
17 checks passed
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