Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Auto Generate Breadcrumbs #2472

Closed
wwitzel3 opened this issue May 19, 2021 · 6 comments · Fixed by #2580
Closed

Auto Generate Breadcrumbs #2472

wwitzel3 opened this issue May 19, 2021 · 6 comments · Fixed by #2580
Assignees
Labels
api enhancement New feature or request ui

Comments

@wwitzel3
Copy link
Contributor

  • Allow breadcrumbs to be generated based on the path a user has taken through the application
  • Allow the number of breadcrumbs to be auto-generated to be configurable.
  • Add breadcrumb metadata for when auto generating breadcrumbs e.g: title, since it maybe different from the display title
  • Add a service that holds the stack of visits as a user navigates the application

I don't think we can mix and match. I think if auto generate the breadcrumbs, then we turn off the statically rendered breadcrumbs.

@wwitzel3 wwitzel3 added enhancement New feature or request api ui labels May 19, 2021
@mklanjsek
Copy link
Contributor

I think we should use back/forward buttons in electron header for that. That is a place to navigate the history, while breadcrumbs are used to navigate the hierarchy. Even browser back/forth buttons would accomplish that if we are setting the meaningful page titles.

@wwitzel3
Copy link
Contributor Author

The scenario:
click Deployment, Pod, Plugin-Link .. now I want to go back to the Deployment ..

so I'm back button until I get there OR the plugin has to hard code the breadcrumbs. I think both of these fail to be really useful and we need a scenario where the breadcrumbs are a reflection of the history so I can easily jump back N pages

@mklanjsek
Copy link
Contributor

Long press on back would open the list of visited pages and get you there quickly.

Again, it's important not to mix history and hierarchy, for effective navigation we need both.

@wwitzel3
Copy link
Contributor Author

I think that would be an acceptable outcome as well .. some intuitive way to quickly move around the history.

@xtreme-vikram-yadav xtreme-vikram-yadav self-assigned this Jun 7, 2021
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jun 22, 2021
- Show descriptive page title
[vmware-archive#2472]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jun 23, 2021
- Show descriptive page title
[vmware-archive#2472]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
@nwpappas
Copy link

I'll add a little UX insight into the options, if this is still being investigated.

Breadcrumbs should represent site hierarchy, not navigational history. A good review of best practices can be found here: https://www.nngroup.com/articles/breadcrumbs/. Among the other points is:

  1. Breadcrumbs should display the current location in the site’s hierarchical structure, not the session history.

Breadcrumbs are not intended to show the history of pages traversed during a session on the site (a la a browser’s native Back button); they are intended to show the hierarchical structure of the site. We’ve noted this for many years, but it still bears repeating; attempting to show a list of the pages a user has accessed, in order, will quickly become long and confusing, with a lot of repetition, and won’t provide any benefit for users who arrive on a deep page directly from an external link, which is one of the key uses of breadcrumbs.

Not mentioned in the above article; accessibility is also a primary function of breadcrumbs. Users with low/no vision benefit from the readout of a breadcrumb, to understand where they are, and its navigational function in a much deeper way.

@xtreme-vikram-yadav
Copy link
Contributor

@nwpappas This issue has evolved into adding a history of visits to the UI. The breadcrumbs which currently exist in the UI capture the hierarchy in the app. Although, adding accessibility would be a nice addition to breadcrumbs. Are there any general guidelines for the order in which the breadcrumbs with dropdowns would read out?
dropdown-breadcrumbs

xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jun 28, 2021
- Show descriptive page title
[vmware-archive#2472]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jun 29, 2021
- Show descriptive page title
[vmware-archive#2472]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jun 30, 2021
- Show descriptive page title
[vmware-archive#2472]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 15, 2021
- Show descriptive page title
[vmware-archive#2472]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 15, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 15, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 15, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 16, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 19, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 19, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 23, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 23, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 23, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 23, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 23, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 23, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 26, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Jul 28, 2021
- Show descriptive page title
- Update octant content response to return empty namespace for non-namespaced resources
[vmware-archive#2472, vmware-archive#2640]

Signed-off-by: Vikram Yadav <yvikram@vmware.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api enhancement New feature or request ui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants