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

feature(UI): navigate sibling assets/sensors #977

Merged
merged 3 commits into from Feb 13, 2024
Merged

Conversation

Flix6x
Copy link
Contributor

@Flix6x Flix6x commented Feb 13, 2024

Description

This PR let's you navigate sibling assets or sibling sensors in the breadcrumb.

Look & Feel

image

How to test

Load an asset page or sensor page, preferably one that actually has siblings.

Further Improvements

One idea is to support sibling navigation on any of the ancestors. However, the UX would then need a little rethinking, as the dropdown currently opens on click, and clicking an ancestor already takes you to that ancestor's page. I don't think it's really needed.

Signed-off-by: F.N. Claessen <felix@seita.nl>
@Flix6x
Copy link
Contributor Author

Flix6x commented Feb 13, 2024

Any idea why the Python 3.11 test suite is failing?

Copy link
Contributor

@victorgarcia98 victorgarcia98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Works as expected :D

I tried to make the dropdown show on hover what it was taking me too much time.

@Flix6x Flix6x added this to the 0.19.0 milestone Feb 13, 2024
Flix6x and others added 2 commits February 13, 2024 13:10
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
@Flix6x Flix6x merged commit 3046f11 into main Feb 13, 2024
9 checks passed
@Flix6x Flix6x deleted the feature/nav-siblings branch February 13, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants