Copy UUIDs in one click
Refs https://gitlab.com/teklia/requests/-/issues/803
Part of #1166 (closed)
We need a new component that allows a user to copy in a single click an object UUID.
Again, we should get inspiration from Gitlab
The component would display:
- a display name (Project ID, Process ID, ...)
- the 8 first characters of the UUID, followed by an ellipsis
- a clipboard icon
When the user clicks on any part (display name, characters, clipboard), a few things happen:
- the full UUID is shown
- the UUID is set in the user clipboard
- a tooltip displays "Copied"
This work should add the component to:
- corpus navigation (for the corpus ID)
- element details (for the element ID)
- process details (for the process ID)
Edited by Bastien Abadie