feat(ui): support storage settings, pinned copies and contextual window actions

This commit is contained in:
Codex
2026-11-10 01:04:24 +03:00
parent be929f9d8e
commit 601ca62e9a
12 changed files with 54 additions and 13 deletions
+4 -1
View File
@@ -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)}