Release 2026-07: aria (develop → main) #11
@@ -1,5 +1,13 @@
|
|||||||
# hiveops-aria frontend — CLAUDE.md
|
# hiveops-aria frontend — CLAUDE.md
|
||||||
|
|
||||||
|
> ## ⛔ STOP — before writing ANY `.svelte`, use the template
|
||||||
|
> 1. Read `hiveops-template/CLAUDE.md` (the design system).
|
||||||
|
> 2. **Copy, don't write from scratch** — start from `hiveops-template/frontend/src/components/TablePage.svelte` (list/table pages) or `TemplatePage.svelte` (pages with status/severity badges).
|
||||||
|
> 3. Header = **text only**. Action buttons (Add/Refresh/Compose) go in `.toolbar-right`, never in `.header`. *(hook-enforced)*
|
||||||
|
> 4. Copy the filter-sidebar + table CSS **verbatim** — never simplify.
|
||||||
|
> 5. Scoped `<style>` only — never `import './x.css'`. *(hook-enforced)*
|
||||||
|
|
||||||
|
|
||||||
## Before writing ANY new component
|
## Before writing ANY new component
|
||||||
|
|
||||||
Read an existing sibling component first. Mandatory. Use `IocManagement.svelte` or `DevicePosture.svelte` as the reference.
|
Read an existing sibling component first. Mandatory. Use `IocManagement.svelte` or `DevicePosture.svelte` as the reference.
|
||||||
|
|||||||
Reference in New Issue
Block a user