Skip to content

Commit

Permalink
chore: Changes the main menu order as defined in SIP-34 (#15929)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Jul 28, 2021
1 parent 7b503fa commit 7b0acc4
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions superset/initialization/__init__.py
Expand Up @@ -227,24 +227,13 @@ def init_views(self) -> None:
category_icon="",
)
appbuilder.add_view(
DatabaseView,
"Databases",
label=__("Databases"),
icon="fa-database",
category="Data",
category_label=__("Data"),
category_icon="fa-database",
)
appbuilder.add_link(
"Datasets",
label=__("Datasets"),
href="/tablemodelview/list/",
icon="fa-table",
category="Data",
category_label=__("Data"),
category_icon="fa-table",
DashboardModelView,
"Dashboards",
label=__("Dashboards"),
icon="fa-dashboard",
category="",
category_icon="",
)
appbuilder.add_separator("Data")
appbuilder.add_view(
SliceModelView,
"Charts",
Expand All @@ -253,14 +242,6 @@ def init_views(self) -> None:
category="",
category_icon="",
)
appbuilder.add_view(
DashboardModelView,
"Dashboards",
label=__("Dashboards"),
icon="fa-dashboard",
category="",
category_icon="",
)
appbuilder.add_view(
DynamicPluginsView,
"Plugins",
Expand Down Expand Up @@ -357,6 +338,25 @@ def init_views(self) -> None:
category="SQL Lab",
category_label=__("SQL Lab"),
)
appbuilder.add_view(
DatabaseView,
"Databases",
label=__("Databases"),
icon="fa-database",
category="Data",
category_label=__("Data"),
category_icon="fa-database",
)
appbuilder.add_link(
"Datasets",
label=__("Datasets"),
href="/tablemodelview/list/",
icon="fa-table",
category="Data",
category_label=__("Data"),
category_icon="fa-table",
)
appbuilder.add_separator("Data")
appbuilder.add_link(
"Upload a CSV",
label=__("Upload a CSV"),
Expand Down

0 comments on commit 7b0acc4

Please sign in to comment.