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

New-HTMLNav - Locational Awareness #410

Open
smasterson opened this issue Sep 11, 2023 · 3 comments
Open

New-HTMLNav - Locational Awareness #410

smasterson opened this issue Sep 11, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@smasterson
Copy link
Contributor

I have been using New-HTMLTopNav with success for a while now. The issue that I am running into is sprawl with nested links...

One way I thought could help tremendously here is if I switched to left nav (New-HTMLNav) and that it could 'know where you are' or more simply 'open to your location'.

Looking at the pic below, if I am browsing the page at Compute > VMware > Stats > Clusters
and then want to jump to Compute > VMware > Stats > Hosts
it takes like 5 clicks :-(
If the nav opened/expanded the list to the current page it would be easier (one click) to navigate to other similar pages without having to open the menu and drill, drill, drill, drill each time.

image

Hope this makes sense!

@PrzemyslawKlys
Copy link
Member

You want the state of nav to be saved. I am not sure how to do that. It's a good idea, but I doubt my html/css/js skills are high enough to do this. You would probably need limit the example, and post on stackoverflow or maybe ask chatgpt and then we can try and figure it out.

@PrzemyslawKlys PrzemyslawKlys added the enhancement New feature or request label Sep 12, 2023
@smasterson
Copy link
Contributor Author

I'm not sure 'saved' is needed as much as the ability to open/expand the menu to a certain link?
If we could do that, we just look at the current pageid and open to the corresponding link?

@PrzemyslawKlys
Copy link
Member

Either way, I don't have idea on how to do it properly. Feel free to experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants