feat(ui): support storage settings, pinned copies and contextual window actions
This commit is contained in:
@@ -236,7 +236,7 @@ const iconGroups: Array<{ title: string; note: string; icons: IconName[] }> = [
|
||||
{
|
||||
title: "Сущности",
|
||||
note: "Общий словарь",
|
||||
icons: ["profile", "users", "building", "globe", "target", "database", "network", "inbox", "mail"],
|
||||
icons: ["profile", "users", "building", "globe", "target", "database", "pin", "network", "inbox", "mail"],
|
||||
},
|
||||
{
|
||||
title: "Контент",
|
||||
@@ -264,6 +264,7 @@ const iconLabels: Record<IconName, string> = {
|
||||
close: "Закрыть",
|
||||
copy: "Копировать",
|
||||
database: "База данных",
|
||||
pin: "Закрепить",
|
||||
download: "Скачать",
|
||||
edit: "Редактировать",
|
||||
eye: "Показать",
|
||||
@@ -2365,6 +2366,8 @@ export function CatalogApp() {
|
||||
<Window
|
||||
open={createModuleOpen}
|
||||
title="Создать модуль"
|
||||
headerActionsPlacement="before-close"
|
||||
headerActions={<IconButton label="Очистить форму" onClick={() => {setCreateModuleName("");setCreateModuleSlug("");}}><Icon name="trash"/></IconButton>}
|
||||
subtitle="Свободное окно · шапка: перемещение · края: размер"
|
||||
size="sm"
|
||||
onClose={() => setCreateModuleOpen(false)}
|
||||
|
||||
Reference in New Issue
Block a user