dolthub / hosted-issues

Issues for hosted.doltdb.com
https://hosted.doltdb.com
2 stars 0 forks source link

Feature: Show database tags in Hosted Dolt Workbench UI #104

Closed fulghum closed 1 year ago

fulghum commented 1 year ago

A Hosted Dolt customer requested the ability to see a list of the database's tags somewhere in the Workbench UI, as well as the ability to easily create new tags from the UI. Being able to click on a tag and run a sample query with it could be a nice touch to help customers start querying with the tag, too. One idea for the UI could be a new "tab" at the top of the Workbench UI, perhaps between "Commit Log" and "Releases".

tbantle22 commented 1 year ago

We don't distinguish between releases and tags on DoltHub or the Hosted workbench. The release tab on the workbench uses the dolt_tags table to display the list of releases. If you click on a release you should be able to run queries against that tag

fulghum commented 1 year ago

Oh, you're right! The customer and I both totally missed that the "Releases" tab is where tags are listed.

It's probably worth considering changing the tab to either "Tags" or maybe "Releases / Tags" or something to make it more obvious to customers, or at minimum changing some text on the page to make it super obvious that those are tags. The customer and I both assumed "Releases" were a separate concept from "Tags". Using the same terminology for tags everywhere (CLI, DoltHub, Hosted Dolt) seems like it would make it easier for customers to figure out.

timsehn commented 1 year ago

GitHub intermingles releases/tags. That is why we do it.

fulghum commented 1 year ago

True, although GitHub does still distinguish between Tags and Releases as different concepts – Releases have extra metadata, release notes, downloadable artifacts, etc. There's also a large switcher button at the top of the GitHub releases page that makes it very obvious whether you're looking at Releases or Tags. Hitting the "Tags" button on that switcher even takes you to a different resource path (/tags instead of /releases). GitHub also provides a direct link to that tags page (which only shows tags and not releases) at the very top of a repo's main page.

Since Dolt doesn't have separate concepts of Releases and Tags, it seems more intuitive for customers to just call them tags.

tbantle22 commented 1 year ago

Would it help if this branch dropdown showed branches and tags? That's been on our dolthub list for a while

Screen Shot 2023-07-07 at 9 43 27 AM

Can look like this (but tags instead of commits)

Screen Shot 2023-07-07 at 9 44 13 AM
tbantle22 commented 1 year ago

GitHub has a similar UI

Screen Shot 2023-07-07 at 9 51 50 AM
fulghum commented 1 year ago

Cool idea to follow GitHub's design there and include branches and tags in the drop down. I think that would definitely help make tags more discoverable in the UI.

tbantle22 commented 1 year ago

This is live now

Screen Shot 2023-07-10 at 3 08 24 PM
fulghum commented 1 year ago

Thanks @tbantle22! Resolving this one now since tags are more prominent in the UI now, and using the "view all tags" link you added takes you to the tags page where you can create a new tag.