#784 feat: url breadcrumbs feature
Pull request opened by
FrankFlitton
TL;DR
Change the page header to be consistent across the app with interactive breadcrumbs.
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☐ Code completed
☐ Smoke tested
☐ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
A row of breadcrumbs will appear above the page header. Each one may contain a drop down with links to similar items, eg workflows linking to other workflow pages. Project and domain switching is also supported.
The last item in the list will be treated as a page header.
A breadcrumb list can be provided in the config for custom breadcrumbs.
The approach is to parse the URL for even odd key value pairs. Then, the url segment, as well as complete URL and the next and previous segments, are passed to a validator within each bread crumb object that controls if it should render or not for a given URL. The value the breadcrumb displays is either directly from the URL or evaluated at runtime.
A breadcrumb object must be supplied or no breadcrumb will be rendered for a given URL segment.
Todo: link to design docs.
Tracking Issue
_Remove the '_fixes_' keyword if there will be multiple PRs to fix the linked issue_
fixes
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
flyteorg/flyteconsole
DCO: DCO
✅ 1 other check has passed
1/2 successful checks