Ghost/ghost/admin/app/components/gh-nav-menu
Kevin Ansfield cb13b7de1e Added automatic open of brand settings form when no custom theme settings exist
no issue

When no custom theme settings exist it's nice to have the brand settings form automatically visible when opening the design settings menu to avoid an extra click and let users make actions immediately. We don't want that behaviour when custom theme settings exist because it would hide useful context and result in extra scroll+clicks to get to the section you're interested in.

- when first rendering the menu, set the open section to `brand` if we're on the design settings index screen
- add an event handler to the router that re-sets the open section to `brand` each time we navigate back to the design settings index screen (leaving the index screen closes all open sections)
2021-10-22 12:02:59 +01:00
..
design.hbs Added automatic open of brand settings form when no custom theme settings exist 2021-10-22 12:02:59 +01:00
design.js Added automatic open of brand settings form when no custom theme settings exist 2021-10-22 12:02:59 +01:00
footer.hbs Updated About/What's new? page (#1872) 2021-09-08 14:00:24 +02:00
footer.js Renamed isAdmin/isOwner/isAdminOrOwner to reduce confusion 2021-07-12 14:55:56 +02:00
main.hbs Fixed main nav menu bug for Offers alpha flag 2021-10-21 17:08:48 +02:00
main.js Removed Offer from sidebar when stripe is disconnected 2021-10-20 18:02:14 +05:30