+Svelte specific

This commit is contained in:
2026-02-19 17:47:24 +03:00
parent c8029ed309
commit 4de5b22d57

View File

@@ -5,9 +5,10 @@
# @INVARIANT: Every component MUST have `<!-- [DEF:] -->` anchors and UX tags. # @INVARIANT: Every component MUST have `<!-- [DEF:] -->` anchors and UX tags.
# @INVARIANT: Use Tailwind CSS for all styling (no custom CSS without justification). # @INVARIANT: Use Tailwind CSS for all styling (no custom CSS without justification).
## 1. UX PHILOSOPHY: RESOURCE-CENTRIC ## 1. UX PHILOSOPHY: RESOURCE-CENTRIC & SVELTE 5
* **Definition:** Navigation and actions revolve around Resources (Dashboards, Datasets), not Tools (Migration, Git). * **Version:** Project uses Svelte 5.
* **Discovery:** All actions (Migrate, Backup, Git) for a resource MUST be grouped together (e.g., in a dropdown menu). * **Runes:** Use Svelte 5 Runes for reactivity: `$state()`, `$derived()`, `$effect()`, `$props()`. Traditional `let` (for reactivity) and `export let` (for props) are DEPRECATED in favor of runes.
* **Definition:** Navigation and actions revolve around Resources.
* **Traceability:** Every action must be linked to a Task ID with visible logs in the Task Drawer. * **Traceability:** Every action must be linked to a Task ID with visible logs in the Task Drawer.
## 2. COMPONENT ARCHITECTURE: GLOBAL TASK DRAWER ## 2. COMPONENT ARCHITECTURE: GLOBAL TASK DRAWER