There are many actions users might want to perform when interacting with a commit ID in a git forge.
- Copy the full commit ID
- Copy the short commit ID
- Navigate to the commit page
- Navigate to the file tree at that commit
Usually, I want to copy the commit ID, but I still want the navigation options especially for the commit page. As for the tree page, I can still access it through the commit page.
It is pretty challenging to pack all these buttons into a common UI element like a commit ID. Instead of choosing just one approach (e.g., GitHub's navigation-only or Radicle's copy-only) or spreading out all the options (e.g., Tangled's PR compose page), we can pack everything into a popup menu.
cc @eti.tf