From 367953b25e5dfe5e2364bdb780a7478be146046c Mon Sep 17 00:00:00 2001 From: busya Date: Wed, 17 Jun 2026 16:23:15 +0300 Subject: [PATCH] fix(semantic): anchor mismatch, orphaned @defgroup UI, old format in ui/index.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix INV_3: Test.Dashboard.DataGrid closing #endregion now matches opening - Add @defgroup UI in UI.Module (orphaned @ingroup UI in 5 components) - Fix TYPE Function → Module, @PURPOSE → @BRIEF, @SEMANTICS: → [SEMANTICS] - Add [C:2] complexity tier --- .../dashboard/__tests__/DashboardDataGrid.test.ts | 2 +- frontend/src/lib/ui/index.ts | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/frontend/src/lib/components/dashboard/__tests__/DashboardDataGrid.test.ts b/frontend/src/lib/components/dashboard/__tests__/DashboardDataGrid.test.ts index 9bb342dd..29161225 100644 --- a/frontend/src/lib/components/dashboard/__tests__/DashboardDataGrid.test.ts +++ b/frontend/src/lib/components/dashboard/__tests__/DashboardDataGrid.test.ts @@ -253,4 +253,4 @@ describe('DashboardDataGrid', () => { expect(screen.queryByText('Next')).toBeNull(); }); }); -// #endregion DashboardDataGridTest:Module +// #endregion Test.Dashboard.DataGrid diff --git a/frontend/src/lib/ui/index.ts b/frontend/src/lib/ui/index.ts index 8032d2b9..d8b67d2d 100644 --- a/frontend/src/lib/ui/index.ts +++ b/frontend/src/lib/ui/index.ts @@ -1,10 +1,9 @@ -// #region ui:Module [TYPE Function] -// -// @SEMANTICS: ui, components, library, atomic-design -// @PURPOSE: Central export point for standardized UI components. -// @LAYER: Atom -// -// @INVARIANT: All components exported here must follow Semantic Protocol. +// #region UI.Module [C:2] [TYPE Module] [SEMANTICS ui,components,library,atoms] +// @defgroup UI Standardized UI component library (atoms + complex widgets). +// @ingroup UI +// @BRIEF Central export point for standardized UI components. +// @LAYER Atom +// @INVARIANT All components exported here must follow Semantic Protocol. // [SECTION: EXPORTS] export { default as Button } from './Button.svelte'; @@ -22,4 +21,4 @@ export { default as Pagination } from './Pagination.svelte'; export { default as ConfirmDialog } from './ConfirmDialog.svelte'; // [/SECTION: EXPORTS] -// #endregion ui:Module \ No newline at end of file +// #endregion UI.Module \ No newline at end of file