From fa97deb6778c97e02d6ba1e45b9fc0c69f1517ad Mon Sep 17 00:00:00 2001 From: Mix Date: Fri, 16 Oct 2026 00:10:03 +0300 Subject: [PATCH] docs: drop the Cursor rule of the removed panel-ui mockups .cursor/rules/panel-ui-system.mdc named docs/assets/panel-ui the source of truth for mockups; that folder is gone (6099716) and the redesign's rule (.cursor/rules/panel-design.mdc) is the one in force. The two plans that mention the removed folders say they were removed. Co-Authored-By: Claude Opus 5.5 --- .cursor/rules/panel-ui-system.mdc | 22 ---------------------- docs/plans/inbound-antispam-panel.md | 2 +- docs/plans/panel-redesign.md | 3 ++- 3 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 .cursor/rules/panel-ui-system.mdc diff --git a/.cursor/rules/panel-ui-system.mdc b/.cursor/rules/panel-ui-system.mdc deleted file mode 100644 index 8bd512f..0000000 --- a/.cursor/rules/panel-ui-system.mdc +++ /dev/null @@ -1,22 +0,0 @@ ---- -description: Panel UI mockups use the design system primitives, not a reskin of live templates. -globs: docs/assets/panel-ui/** -alwaysApply: false ---- - -# Panel UI system - -Source of truth: [docs/assets/panel-ui/system.html](docs/assets/panel-ui/system.html) and `system.css`. - -Do not copy `internal/web/view/templates` into mockups. Do not mark `
` as `ops`/`form` to pick width. Do not fix empty columns, Host/Type height, or split Save/Delete with one-off CSS. - -Compose screens from `stack`, `pair`, `measure`, `fill`, `field-row`, `actions-row`: -- Two peer jobs → `pair` (one child shrinks to `measure`). -- Tables/logs/DNS → `fill` (nowrap + overflow-x on the card). Add-to-list is a `measure` row inside that card, not a second card above it. -- Confirm/login/user form → `measure`. -- Host ‖ Type and two equal inputs → `field-row` (shared grid row, not two `.code` paddings). -- Save + Delete → `actions-row` inside the card; never submit inside `
` and danger after `
`. -- Danger zone is the second column of the last `pair`, never a full-width `fill`. -- Card chrome is title + optional `?` + body + actions. Help is not sprinkled later. -- Phone: `pair` stacks; `field-row` does not; tables become lists. -- One screen is one HTML file. Shared chrome is `shell.js`. Do not put every screen in one hash-SPA. diff --git a/docs/plans/inbound-antispam-panel.md b/docs/plans/inbound-antispam-panel.md index f914640..358a223 100644 --- a/docs/plans/inbound-antispam-panel.md +++ b/docs/plans/inbound-antispam-panel.md @@ -193,7 +193,7 @@ Filter lists** page (global-only: the lists are instance-wide) — see [panel-redesign.md](panel-redesign.md) § Room for roadmap items. The journal table has filters (decision, domain, date range). Mockups are drawn first, in `docs/assets/panel-redesign/panel/src/` under that plan's design contract — -not in the superseded `docs/assets/panel-ui/`. +not in the superseded `docs/assets/panel-ui/` (removed 2026-10-16). ## Schema (migration `0002_inbound_spam_log.sql`, the first after the 2.0 baseline) diff --git a/docs/plans/panel-redesign.md b/docs/plans/panel-redesign.md index e06b711..831d676 100644 --- a/docs/plans/panel-redesign.md +++ b/docs/plans/panel-redesign.md @@ -24,7 +24,8 @@ When an implementation and a mockup disagree, the implementation is wrong. The 2026-09-08 givens ("no component library, Web Awesome layout CSS only") are withdrawn. `docs/assets/panel-ui/` and the stage-1 directions `a/`, `b/`, `c/` -are history, not a brief. +were history, not a brief, and were removed on 2026-10-16 (`6099716`; they +are in the git history). ## Goal