Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Breadcrumb in Kibana top nav #2161

Closed
juankaromo opened this issue Mar 26, 2020 · 1 comment
Closed

Add Breadcrumb in Kibana top nav #2161

juankaromo opened this issue Mar 26, 2020 · 1 comment
Assignees
Labels
type/enhancement Enhancement issue UI/UX Generic label for things related to the font-end side
Milestone

Comments

@juankaromo
Copy link
Contributor

Hi team,

We are going to implement a new navigation aid to facilitate the user experience. This new improvement will consist of a global BreadCrumb, as Kibana already does, and located on the same site.

This breadcrumb will replace the ones that already existed throughout the app, and will be displayed globally and always in the same place.

We will use for this task the react component EuiBreadcrumbs.

The implementation should look like this:

image

Regards,

@juankaromo juankaromo added type/enhancement Enhancement issue UI/UX Generic label for things related to the font-end side NEW APP labels Mar 26, 2020
@juankaromo juankaromo added this to the Sprint 109 milestone Mar 26, 2020
@juankaromo juankaromo self-assigned this Mar 26, 2020
@juankaromo
Copy link
Contributor Author

juankaromo commented Apr 6, 2020

Hi team,

To establish the breadcrumb a builder will be added in each section. The constructor will be based on a JSON type object in which the entry is a section, with its corresponding redirection. The first section will always be empty because it corresponds to the logo and the logic of the floating menu.

    const breadcrumb = [
      {
        text: '',
      },
      {
        text: 'Agents',
        href: "#/agents-preview"
      },
      {
        text: `${this.props.agent.name} (${this.props.agent.id})`,
        href: `#/agents?agent=${this.props.agent.id}`,
        truncate: true,
      },
      {
        text: 'Integrity monitoring',
      },
    ];
    store.dispatch(updateGlobalBreadcrumb(breadcrumb));

Finally, implementing all this the breadcrumb will look similar to the following image:

breadcrumb

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Enhancement issue UI/UX Generic label for things related to the font-end side
Projects
None yet
Development

No branches or pull requests

1 participant