docs(changelog): eigene Module unter Unveröffentlicht
- Neu-Eintrag in Alltagssprache - Layout-Wächter der Modulordner kennt den Ordner custom als bewusste Ausnahme ohne Zugriffsschranke Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,15 @@ import TenderRadarLayout from './tender-radar/layout';
|
||||
|
||||
const modulesDir = dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
/**
|
||||
* Ordner ohne ModuleAccessGate, bewusst (quick-260929-9wc): `custom/` traegt
|
||||
* die Rahmen-Seiten der „Eigenen Module“. Das sind keine Zeilen der Tabelle
|
||||
* `Module` und haengen an keiner Aktivierung oder Freigabe — sie sind fuer
|
||||
* ALLE angemeldeten Benutzer sichtbar (D-01). Jeder weitere Eintrag hier ist
|
||||
* eine bewusste Ausnahme von T-e8k-04 und gehoert begruendet.
|
||||
*/
|
||||
const DIRS_WITHOUT_GATE: readonly string[] = ['custom'];
|
||||
|
||||
const placeholderChild = <div data-testid="placeholder-child">child</div>;
|
||||
|
||||
describe('module layouts — ModuleAccessGate slug wiring (T-e8k-01, T-e8k-03)', () => {
|
||||
@@ -42,6 +51,7 @@ describe('module directory coverage — every module has a layout (T-e8k-04)', (
|
||||
const entries = readdirSync(modulesDir, { withFileTypes: true })
|
||||
.filter((entry) => entry.isDirectory())
|
||||
.filter((entry) => !entry.name.startsWith('['))
|
||||
.filter((entry) => !DIRS_WITHOUT_GATE.includes(entry.name))
|
||||
.map((entry) => entry.name);
|
||||
|
||||
expect(entries.length).toBeGreaterThan(0);
|
||||
|
||||
Reference in New Issue
Block a user