Now is there anyway I can create a sidebar component and re-use in different pages, rather than having to recreate for every single page.
Also any links to creating a layout with design for header, sidebar and main page. So every time I want to create a new app i can start with a predefined template?
tried, module does not work proper. Such a shame, Should be straightforward to create an app template that inherit header and sidebar automatically. Also the new nav component does not have expanded default state or active nav item.
Hi @blackst thanks for this feedback! I believe our team is working on templating options I don't have an eta though, so I'd also suggest modules for the time being. Can you share some more feedback on how the module isn't working? I'll pass that on to our team
For the navigation, could you configure the active nav item using the highlight field?
I'll share this feedback about expended default state as a feature request!
The breadcrumb ability to know what page you on , should be potted to the nav component. Also module should allow setting SideBar and header and passing it props into them from a child app. Having to hack the app to get it to recognise saved application state is not the best way to go.
I'm happy to use modules for the Sidebar but can't see how to do it. If I go to "Create new .." and "Module" and I get the design UI but Sidebar isn't a component I can choose from.
Hi @awilly thanks for reaching out! Sidebars aren't currently available in modules, but I was thinking the opposite--you can create a module and then import the module into a sidebar in your app
Thanks for the reply, Tess. I'm not sure I completely understand; but, I created the sidebar by hand and used copy and paste to move the navigation component to new apps. Not too bad.
I was thinking you could create a module with the components that you want to be in your sidebar->Then create an app with a sidebar->Clear out the default sidebar components->Then drag & drop your module inside the sidebar:
That said, per @blackst's feedback, you could run into extra complexity/limitations with this approach, so copy + paste may be a good solution for now
hope that multi page projects comes soon.
In the mean time can any one help me with any resource where I can see how to change page with the sidebar ? I am want to click and change page also clicked menu should be focused.
Our team is still actively working on multi page! Can't wait to have more updates soon, but no official timeline yet.
I recently posted a similar example in this modules post. It doesn't sound like you're specifically using modules, but it may help with your case still TLDR - you'll want to create Custom event handlers for the Go to App events, and then set the Highlight to be true when you're on that page.