workspace-subcontext
[
{
"evaluator": "context-branch-is-master",
"config": {
"workspace-subcontext": {
"items": [
{
"key": "workspace/changes",
"title": "Changes",
"order": 20000,
"header": true,
"items": [
{
"key": "workspace/activities",
"remove": true
},
{
"key": "workspace/content",
"remove": true
}
]
}
]
}
}
},
{
"evaluator": "context-workspace-has-pending-merges",
"config": {
"workspace-subcontext": {
"items": [
{
"key": "workspace/workspaces",
"items": [
{
"key": "workspace/merges",
"title": "Pending Merges",
"uri": "#/projects/{projectId}/workspaces/{workspaceId}/merges",
"iconClass": "fa fa-angle-right",
"order": 22000
}
]
}
]
}
}
},
{
"evaluator": "context-workspace-archived",
"condition": false,
"config": {
"workspace-subcontext": {
"items": [
{
"key": "workspace/changes",
"title": "Changes",
"order": 20000,
"header": true,
"items": [
{
"key": "workspace/activities",
"title": "Activities",
"uri": "#/projects/{projectId}/workspaces/{workspaceId}/activities",
"iconClass": "fa fa-angle-right",
"order": 8000
},
{
"key": "workspace/content",
"title": "Content",
"uri": "#/projects/{projectId}/workspaces/{workspaceId}/changes",
"iconClass": "fa fa-angle-right",
"order": 9000
}
]
}
]
}
}
},
{
"evaluator": "context-branch",
"config": {
"workspace-subcontext": {
"items": [
{
"key": "workspace/heading",
"title": "Workspace",
"order": 10000,
"header": true,
"iconClass": "fa fa-dashboard",
"allowAuthority": [],
"allowPermission": [],
"rejectAuthority": [],
"rejectPermission": [],
"items": [
{
"key": "workspace/overview",
"title": "Overview",
"uri": "#/projects/{projectId}/workspaces/{workspaceId}",
"iconClass": "fa fa-angle-right",
"order": 1000
},
{
"key": "workspace/properties",
"title": "Properties",
"uri": "#/projects/{projectId}/workspaces/{workspaceId}/properties",
"iconClass": "fa fa-angle-right",
"order": 2000
}
]
},
{
"key": "workspace/workspaces",
"title": "Workspaces",
"order": 30000,
"header": true,
"items": [
{
"key": "workspace/explore",
"title": "Explore",
"uri": "#/projects/{projectId}/workspaces/{workspaceId}/explore",
"iconClass": "fa fa-angle-right",
"order": 20000
},
{
"key": "workspace/network",
"title": "Network",
"uri": "#/projects/{projectId}/workspaces/{workspaceId}/network",
"iconClass": "fa fa-angle-right",
"order": 21000
}
]
},
{
"key": "workspace/manage",
"title": "Manage",
"order": 40000,
"header": true,
"items": [
{
"key": "workspace/tools",
"title": "Tools",
"uri": "#/projects/{projectId}/workspaces/{workspaceId}/tools",
"iconClass": "fa fa-angle-right",
"order": 11000
}
]
}
]
}
}
}
]```