Skip to content

Commit 130b0fa

Browse files
committed
Added doc for some of the contexts
1 parent cc86ac5 commit 130b0fa

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/app/core/shared/context.model.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,31 @@
33
*/
44

55
export enum Context {
6+
/** Default context */
67
Any = 'undefined',
8+
9+
/** General item page context */
710
ItemPage = 'itemPage',
11+
12+
/** General search page context */
813
Search = 'search',
14+
915
Workflow = 'workflow',
1016
Workspace = 'workspace',
1117
SupervisedItems = 'supervisedWorkspace',
18+
19+
/** Administrative menu context */
1220
AdminMenu = 'adminMenu',
1321
EntitySearchModalWithNameVariants = 'EntitySearchModalWithNameVariants',
1422
EntitySearchModal = 'EntitySearchModal',
23+
24+
/** Administrative search page context */
1525
AdminSearch = 'adminSearch',
1626
AdminWorkflowSearch = 'adminWorkflowSearch',
1727
SideBarSearchModal = 'sideBarSearchModal',
1828
SideBarSearchModalCurrent = 'sideBarSearchModalCurrent',
29+
30+
/** The MyDSpace* Context values below are used for badge display in MyDSpace. */
1931
MyDSpaceArchived = 'mydspaceArchived',
2032
MyDSpaceWorkspace = 'mydspaceWorkspace',
2133
MyDSpaceWorkflow = 'mydspaceWorkflow',

0 commit comments

Comments
 (0)