Right now, like 3 different places all independently implement navigating to page vs node.
Centralize this into the navigation service so they all behave the same. Accept a page ID/node ID.
Look up the node if provided. If the node type supports opening a full-screen format, do that instead of opening the page unless a flag is passed in.
Make the sidebar and search results use this navigation service.
Right now, like 3 different places all independently implement navigating to page vs node.
Centralize this into the navigation service so they all behave the same. Accept a page ID/node ID.
Look up the node if provided. If the node type supports opening a full-screen format, do that instead of opening the page unless a flag is passed in.
Make the sidebar and search results use this navigation service.
Right now, like 3 different places all independently implement navigating to page vs node.
Centralize this into the navigation service so they all behave the same. Accept a page ID/node ID.
Look up the node if provided. If the node type supports opening a full-screen format, do that instead of opening the page unless a flag is passed in.
Make the sidebar and search results use this navigation service.