diff --git a/models/card/src/index.ts b/models/card/src/index.ts index 4da3f66d1e..9c4e6b3d8f 100644 --- a/models/card/src/index.ts +++ b/models/card/src/index.ts @@ -161,7 +161,7 @@ export function createSystemType ( attachTo: type, descriptor: view.viewlet.List, viewOptions: { - groupBy: ['_class', 'createdBy', 'modifiedBy'], + groupBy: ['_class', 'createdBy', 'modifiedBy', 'parent'], orderBy: [ ['modifiedOn', SortingOrder.Descending], ['rank', SortingOrder.Ascending] @@ -281,7 +281,7 @@ export function createModel (builder: Builder): void { attachTo: card.class.Card, descriptor: view.viewlet.List, viewOptions: { - groupBy: ['_class', 'createdBy', 'modifiedBy'], + groupBy: ['_class', 'createdBy', 'modifiedBy', 'parent'], orderBy: [ ['modifiedOn', SortingOrder.Descending], ['rank', SortingOrder.Ascending] @@ -304,7 +304,7 @@ export function createModel (builder: Builder): void { descriptor: view.viewlet.List, variant: 'child', viewOptions: { - groupBy: ['_class', 'createdBy', 'modifiedBy'], + groupBy: ['_class', 'createdBy', 'modifiedBy', 'parent'], orderBy: [ ['modifiedOn', SortingOrder.Descending], ['rank', SortingOrder.Ascending] diff --git a/models/view/src/plugin.ts b/models/view/src/plugin.ts index 84291c2e3b..7cb168668a 100644 --- a/models/view/src/plugin.ts +++ b/models/view/src/plugin.ts @@ -72,7 +72,6 @@ export default mergeIds(viewId, view, { DatePresenter: '' as AnyComponent, DateTimePresenter: '' as AnyComponent, TableBrowser: '' as AnyComponent, - RolePresenter: '' as AnyComponent, YoutubePresenter: '' as AnyComponent, GithubPresenter: '' as AnyComponent, ClassPresenter: '' as AnyComponent, diff --git a/packages/ui-next/lang/cs.json b/packages/ui-next/lang/cs.json index ae7d1e7703..accb0b306e 100644 --- a/packages/ui-next/lang/cs.json +++ b/packages/ui-next/lang/cs.json @@ -1,6 +1,7 @@ { "string": { "Added": "Přidáno", + "All": "Vše ({count})", "Attach": "Připojit", "Cancel": "Zrušit", "Edit": "Upravit", diff --git a/packages/ui-next/lang/de.json b/packages/ui-next/lang/de.json index 8f1a616815..dbcdec1df1 100644 --- a/packages/ui-next/lang/de.json +++ b/packages/ui-next/lang/de.json @@ -1,6 +1,7 @@ { "string": { "Added": "Hinzugefügt", + "All": "Alle ({count})", "Attach": "Anhängen", "Cancel": "Abbrechen", "Edit": "Bearbeiten", diff --git a/packages/ui-next/lang/en.json b/packages/ui-next/lang/en.json index ada9377dbd..912a73febc 100644 --- a/packages/ui-next/lang/en.json +++ b/packages/ui-next/lang/en.json @@ -1,6 +1,7 @@ { "string": { "Added": "Added", + "All": "All ({count})", "Attach": "Attach", "Cancel": "Cancel", "Edit": "Edit", diff --git a/packages/ui-next/lang/es.json b/packages/ui-next/lang/es.json index 154602a5e9..e56675a57e 100644 --- a/packages/ui-next/lang/es.json +++ b/packages/ui-next/lang/es.json @@ -1,6 +1,7 @@ { "string": { "Added": "Añadido", + "All": "Todo ({count})", "Attach": "Adjuntar", "Cancel": "Cancelar", "Edit": "Editar", diff --git a/packages/ui-next/lang/fr.json b/packages/ui-next/lang/fr.json index 05a86af885..3beb1d5e81 100644 --- a/packages/ui-next/lang/fr.json +++ b/packages/ui-next/lang/fr.json @@ -1,6 +1,7 @@ { "string": { "Added": "Ajouté", + "All": "Tout ({count})", "Attach": "Joindre", "Cancel": "Annuler", "Edit": "Modifier", diff --git a/packages/ui-next/lang/it.json b/packages/ui-next/lang/it.json index d544e1261c..ae5dc9a98d 100644 --- a/packages/ui-next/lang/it.json +++ b/packages/ui-next/lang/it.json @@ -1,6 +1,7 @@ { "string": { "Added": "Aggiunto" , + "All": "Tutto ({count})", "Attach": "Allega", "Cancel": "Annulla", "Edit": "Modifica", diff --git a/packages/ui-next/lang/pt.json b/packages/ui-next/lang/pt.json index 8990eadd4d..8cb43053d6 100644 --- a/packages/ui-next/lang/pt.json +++ b/packages/ui-next/lang/pt.json @@ -1,6 +1,7 @@ { "string": { "Added": "Adicionado", + "All": "Todos ({count})", "Attach": "Anexar", "Cancel": "Cancelar", "Edit": "Editar", diff --git a/packages/ui-next/lang/ru.json b/packages/ui-next/lang/ru.json index 09e63991a9..c985eb2eb3 100644 --- a/packages/ui-next/lang/ru.json +++ b/packages/ui-next/lang/ru.json @@ -1,6 +1,7 @@ { "string": { "Added": "Добавлено", + "All": "Всего ({count})", "Attach": "Прикрепить", "Cancel": "Отмена", "Edit": "Редактировать", diff --git a/packages/ui-next/lang/zh.json b/packages/ui-next/lang/zh.json index b54eafefa1..a1d7831753 100644 --- a/packages/ui-next/lang/zh.json +++ b/packages/ui-next/lang/zh.json @@ -1,6 +1,7 @@ { "string": { "Added": "已添加", + "All": "全部 ({count})", "Attach": "附加", "Cancel": "取消", "Edit": "编辑", diff --git a/packages/ui-next/src/components/NavigationList.svelte b/packages/ui-next/src/components/NavigationList.svelte index 2b299b250a..be8e899dc7 100644 --- a/packages/ui-next/src/components/NavigationList.svelte +++ b/packages/ui-next/src/components/NavigationList.svelte @@ -14,31 +14,53 @@ -->
diff --git a/packages/ui-next/src/components/Section.svelte b/packages/ui-next/src/components/Section.svelte index 87965370a7..b743ae52cd 100644 --- a/packages/ui-next/src/components/Section.svelte +++ b/packages/ui-next/src/components/Section.svelte @@ -26,12 +26,15 @@ export let title: IntlString export let withHeaderDivider = false export let expanded = true + export let selected = false const dispatch = createEventDispatcher() let _expanded = expanded - function toggleExpanded (): void { + function toggleExpanded (event: MouseEvent): void { + event.stopPropagation() + event.preventDefault() _expanded = !_expanded dispatch('toggle', id) } @@ -40,17 +43,19 @@