Skip to content

Commit

Permalink
[Reorder] menu items; fixes #736
Browse files Browse the repository at this point in the history
  • Loading branch information
samatstariongroup committed Dec 13, 2024
1 parent 364bada commit 4910ef2
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions COMETwebapp/Model/Applications.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,6 @@ private static List<Application> InitializesApplications()
ComponentType = typeof(ModelDashboardBody)
},

new TabbedApplication
{
Name = "Parameter Editor",
Color = "#76b8fc",
IconType = typeof(FeatherLayout),
Description = "Table of element usages with their associated parameters.",
Url = WebAppConstantValues.ParameterEditorPage,
ComponentType = typeof(ParameterEditorBody)
},

new TabbedApplication
{
Name = "Subscription Dashboard",
Expand All @@ -93,6 +83,36 @@ private static List<Application> InitializesApplications()
ComponentType = typeof(SubscriptionDashboardBody)
},

new Application
{
Name = "Requirement Management",
Color = "#fda966",
Icon = "link-intact",
Description = $"Edit requirements in the model.{Environment.NewLine}Under Development",
IsDisabled = true,
Url = WebAppConstantValues.RequirementManagementPage
},

new TabbedApplication
{
Name = "Model Editor",
Color = "#76fd98",
IconType = typeof(FeatherBox),
Description = "Populate model",
Url = WebAppConstantValues.ModelEditorPage,
ComponentType = typeof(ElementDefinitionTable)
},

new TabbedApplication
{
Name = "Parameter Editor",
Color = "#76b8fc",
IconType = typeof(FeatherLayout),
Description = "Table of element usages with their associated parameters.",
Url = WebAppConstantValues.ParameterEditorPage,
ComponentType = typeof(ParameterEditorBody)
},

new TabbedApplication
{
Name = "System Representation",
Expand All @@ -103,14 +123,14 @@ private static List<Application> InitializesApplications()
ComponentType = typeof(SystemRepresentationBody)
},

new Application
new TabbedApplication
{
Name = "Requirement Management",
Color = "#fda966",
Icon = "link-intact",
Description = $"Edit requirements in the model.{Environment.NewLine}Under Development",
IsDisabled = true,
Url = WebAppConstantValues.RequirementManagementPage
Name = "3D Viewer",
Color = "#76fd98",
IconType = typeof(FeatherPackage),
Description = "Show 3D Viewer",
Url = WebAppConstantValues.ViewerPage,
ComponentType = typeof(ViewerBody)
},

new Application
Expand All @@ -125,12 +145,12 @@ private static List<Application> InitializesApplications()

new TabbedApplication
{
Name = "3D Viewer",
Name = "Book Editor",
Color = "#76fd98",
IconType = typeof(FeatherPackage),
Description = "Show 3D Viewer",
Url = WebAppConstantValues.ViewerPage,
ComponentType = typeof(ViewerBody)
IconType = typeof(FeatherBook),
Description = "Manage books",
Url = WebAppConstantValues.BookEditorPage,
ComponentType = typeof(BookEditorBody)
},

new TabbedApplication
Expand All @@ -143,26 +163,6 @@ private static List<Application> InitializesApplications()
ComponentType = typeof(EngineeringModelBody)
},

new TabbedApplication
{
Name = "Model Editor",
Color = "#76fd98",
IconType = typeof(FeatherBox),
Description = "Populate model",
Url = WebAppConstantValues.ModelEditorPage,
ComponentType = typeof(ElementDefinitionTable)
},

new TabbedApplication
{
Name = "Book Editor",
Color = "#76fd98",
IconType = typeof(FeatherBook),
Description = "Manage books",
Url = WebAppConstantValues.BookEditorPage,
ComponentType = typeof(BookEditorBody)
},

new TabbedApplication
{
Name = "Reference Data",
Expand Down

0 comments on commit 4910ef2

Please sign in to comment.