Skip to content

Use ItemId for UUIDs in most remaining places

Erwan Rouchet requested to merge itemid-everywhere into master

Refs #1166 (closed)

This uses the ItemId component to display UUIDs consistently in most of the remaining inconsistent spots in the frontend. I looked at ~1800 occurrences of id to find those.

  • Generic memberships for a group were displaying the UUID in a Bulma tag
  • A user's groups were displaying the UUID in a Bulma tag
  • The group details page was displaying the UUID in a Bulma tag
  • The WorkerVersion details dropdown had a custom Copy button
  • The UUID was displayed without formatting when an error occurs when loading a WorkerRun's details
  • The image elements page had the image details section rewritten as it was unnecessarily generic and didn't easily allow adding the ItemId.

Remaining inconsistent displays

  • The process list uses UUIDs as links, which cannot work with ItemId since clicking on an ID will copy it:

    image

  • Search results have a very smol UUID at the bottom:

    image

  • The process worker activity list will use the process ID as a link if there is no process name:

    image

Merge request reports

Loading