Suvash - ### π ScenarioWe are using AppEmbed...
Scenario
We are using AppEmbed to display
Page.Liveboards.- When a user clicks on one of the Liveboards, we use the
event to capture the route change.RouteChange - We then redirect the user to our Liveboard page to display the selected Liveboard.
Behavior Observed
- There are two types of Liveboards:
- Liveboards with tabs
- Liveboards without tabs
- In our Liveboard page:
- If the Liveboard doesn't have tabs, the browser back button takes the user back to the Dashboards page as expected.
- If the Liveboard has tabs, the browser back button loops within the Liveboard embed, navigating back through tab routes instead of exiting the page.
Routes Observed
We noticed that different routes are used for displaying Liveboards:
β Seen in the/insights/pinboard/{guid}
payload from the Dashboard page when a user clicks a link.RouteChange
β Seen in the/insights/pinboard/{guid}/tab/{guid}
payload in the Liveboard page after it loads.RouteChange/embed/viz/{guid}- `/embed/insights/viz/{guid}/tab/{guid}`Sometimes these come **with tab info**, and sometimes **without**, even for Liveboards that actually contain tabs.
Questions
- Is there a way to capture the tab ID within the Dashboards page on the first
?RouteChange - Is there a way to prevent the browser back loop issue on Liveboard embeds that have tabs?
- Why are there inconsistencies within the routes?
.