Pode.Web icon indicating copy to clipboard operation
Pode.Web copied to clipboard

Side Navigation Group Enhancements

Open jbaechtelMT opened this issue 3 years ago • 2 comments

  • Support for multi-level Group specifications in the side Navigation panel, much like a bulleted list
  • Provide separator bar between elements like is available in the top navigation panel
  • Provide support to disable the "sort" behavior in the side panel elements. I would like for the side navigation panel to retain the order of pages/links that I code instead of Pode.Web deciding to alphabetizing them for me

Thanks for all of the good work!!!

jbaechtelMT avatar Jun 18 '22 21:06 jbaechtelMT

Hey @jbaechtelKoala9126,

  • The multi-level groups support I have thought about myself, too! So I'll have to investigate it.
  • For the separator bar, do you mean like New-PodeWebLine? This displays a horizontal line
  • This should be possible to put in :)

Badgerati avatar Jun 19 '22 17:06 Badgerati

+1 for the 3rd item in particular. I just started adding some more pages only to find they are in alphabetical order in the sidebar, rather than the order I created them in. Adding a -Position parameter to Add-PodeWebPage would be best I think, lowest number is higher up, and if any pages clash with the same number, sort those ones alphabetically. If Position is not supplied, it defaults to 0, which then replicates the current behaviour.

DanGough avatar Apr 13 '23 18:04 DanGough