Merge branch 'fix/qa-report-sweep' into 'main'
fix(admin-ui): QA report sweep — modal/table layout, i18n, sidebar polish See merge request 2-6/2-6-4/terravault/ordinis!239
This commit is contained in:
@@ -2,7 +2,6 @@ import { useState } from 'react'
|
||||
import { Link, useLocation } from '@tanstack/react-router'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import {
|
||||
Home,
|
||||
Database,
|
||||
FileText,
|
||||
ClipboardList,
|
||||
@@ -112,12 +111,14 @@ export function Sidebar() {
|
||||
webhooks.data?.filter((w) => w.active).length ?? 0
|
||||
|
||||
// Flat list per redesign/compact.html — no section labels, /graph removed
|
||||
// (now reachable via catalog toolbar "Граф ⇄" button). Order: Главная →
|
||||
// Справочники → Мои черновики → На ревью → Outbox → Webhooks → Аудит → Поиск.
|
||||
// (now reachable via catalog toolbar "Граф ⇄" button). QA bug #8: «Главная»
|
||||
// удалён — он вёл на `/` который сразу redirect'нет на /dictionaries; в
|
||||
// сайдбаре подсветка слетала (active state на /dictionaries, не на /).
|
||||
// Logo сверху уже даёт home affordance — duplicate nav item только сбивал.
|
||||
// Order: Справочники → Мои черновики → На ревью → Outbox → Webhooks → Аудит → Поиск.
|
||||
const sections: NavSection[] = [
|
||||
{
|
||||
items: [
|
||||
{ to: '/', label: t('nav.home'), icon: Home },
|
||||
{
|
||||
to: '/dictionaries',
|
||||
label: t('nav.dictionaries'),
|
||||
@@ -484,11 +485,11 @@ export function MobileSidebar({ open, onClose }: { open: boolean; onClose: () =>
|
||||
const webhooksActive =
|
||||
webhooks.data?.filter((w) => w.active).length ?? 0
|
||||
|
||||
// Flat list per redesign — same as desktop Sidebar above.
|
||||
// Flat list per redesign — same as desktop Sidebar above. QA bug #8:
|
||||
// «Главная» удалён (redirect → /dictionaries сбивал active state).
|
||||
const sections: NavSection[] = [
|
||||
{
|
||||
items: [
|
||||
{ to: '/', label: t('nav.home'), icon: Home },
|
||||
{
|
||||
to: '/dictionaries',
|
||||
label: t('nav.dictionaries'),
|
||||
|
||||
Reference in New Issue
Block a user