UI for editing customizable dashboard views

This commit is contained in:
shamoon
2024-04-17 00:23:51 -07:00
parent 23a96810f7
commit 4cd9fd6832
10 changed files with 281 additions and 31 deletions

View File

@@ -16,6 +16,37 @@ export enum DashboardViewTableColumn {
STORAGE_PATH = 'storagepath',
}
export const DASHBOARD_VIEW_TABLE_COLUMNS = [
{
id: DashboardViewTableColumn.TITLE,
name: $localize`Title`,
},
{
id: DashboardViewTableColumn.CREATED,
name: $localize`Created`,
},
{
id: DashboardViewTableColumn.ADDED,
name: $localize`Added`,
},
{
id: DashboardViewTableColumn.TAGS,
name: $localize`Tags`,
},
{
id: DashboardViewTableColumn.CORRESPONDENT,
name: $localize`Correspondent`,
},
{
id: DashboardViewTableColumn.DOCUMENT_TYPE,
name: $localize`Document type`,
},
{
id: DashboardViewTableColumn.STORAGE_PATH,
name: $localize`Storage path`,
},
]
export interface SavedView extends ObjectWithPermissions {
name?: string