nautobot / nautobot-app-version-control

Version Control App that uses and requires a Dolt Database
Other
30 stars 6 forks source link

update breadcrumbs #15

Closed jedelman8 closed 3 years ago

jedelman8 commented 3 years ago

Similar to the URL, we may end up changing it from being dolt but for now I'd like to add to the breadcrumbs in Commits.

On the commits page, it's currently: Commits / qgea09r8knk5qjvqal1l11c0cp58cqnj

Let's add to it so it is Dolt / Commits / $commit-message (this is adding "Dolt" and swapping out hash for message per #14

Same would be true for a branch page. Add "Dolt" to the breadcrumb.

Also for the commits page, instead of just having the page title being "Commits in Active Branch," let's add breadcrumbs: Dolt / Branches / $branch-name with the page name being $branch-name

andy-wm-arthur commented 3 years ago

What would the link be for Dolt? There's no top level page for this plugin. Maybe this portion of the breadcrumb doesn't have a link

jedelman8 commented 3 years ago

Right. For now that's what I would do.

andy-wm-arthur commented 3 years ago

addressed in https://github.com/nautobot/nautobot-plugin-workflow-dolt/commit/8359bb9931338793b9ea9c73a52f8f8a38d04697