Monorepo for Tangled tangled.org

feature: universal commit-id popup menu #670

Open boltless.me
Open opened by boltless.me

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.

not related to commit-id, but GH PR page had similar problem too, and here is one of their solution to unify two actions into one UI element:

Image

branch pill(tag?) here can do two actions here:

  1. navigate to that branch
  2. copy the branch name
Sign up or Sign in to add to the discussion.