NP Migration: Dashboard URLs #49060
Labels
discuss
Feature:Dashboard
Dashboard related features
Feature:NP Migration
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
When moving to NP we plan to split up the current "kibana" app into multiple apps for the various parts (discover, dashboard, visualize, management and so on).
To do this we have to migrate the URLs. Currently dashboard is using the following routes:
/app/kibana#/dashboards
as listing page/app/kibana#/dashboard
as new dashboard page/app/kibana#/dashboard/:id
as saved dashboard pageURLs are mapped to their respective apps by the URL prefix which means it should not use both
dashboards
anddashboard
as a first path segment.We can keep both prefixes for now and just re-initialize the app when switching between listing and actual dashboard, but on the new platform we should clean this app as we have to forward URLs anyway. Suggestion:
app/dashboards
as listing pageapp/dashboards/create
as new dashboard pageapp/dashboards/view/:id
as saved dashboard pageWith this scheme we can safely forward existing URLs to their new counterparts. It is also close to the URLs of visualize (
/visualize
for listing,/visualize/create
for new visualizations,visualize/edit/:id
for existing visualizations). Having/view/:id
also containing the edit mode is not super nice (having a separate/edit/:id
path would be better) but as this is currently part of the app state it's difficult to migrate, so I don't think the complexity is justified.The text was updated successfully, but these errors were encountered: