bmc_hub/plan-websiteContentAdministration.prompt.md
Christian adc4fb5876 Implement tests for sag module, add knowledge base templates, and enhance internet connection migrations
- Added multiple test cases for the sag module to ensure proper functionality and data handling.
- Created new templates for knowledge detail and knowledge index pages to display articles and solutions.
- Introduced migrations to enhance the internet connections schema, including new columns for manual sharing and SLA subscriptions.
- Added a script to reconcile known internet connections with verified data.
- Planned the implementation of a new website content administration module for managing customer references and operational status.
2026-08-30 14:34:43 +02:00

35 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Plan: Website Content Administration
Implementere et nyt `website_content`-modul i HUB, der skriver direkte til den eksterne MySQL-database `bmcnetworks_26`.
**Hoveddele**
1. Tilføje MySQL-konfiguration, connection pool og transaktionshåndtering.
2. Oprette CRUD for:
- Kundereferencer
- Aktuel driftsstatus
- Driftshistorik
3. Implementere “Afslut hændelse og flyt til historik” som én MySQL-transaktion.
4. Bruge soft-hide via `is_active`/`is_public`; ingen DELETE-operationer.
5. Tilføje adgangskontrol med egne rettigheder som `website_content.view` og `website_content.edit`.
6. Tilføje responsiv Nordic Top-administrationsside med:
- Logo-upload og preview
- Rækkefølge
- Status-severity
- Planlagte start/sluttider
- Historik
- Dark mode-kompatibilitet
7. Registrere API, frontend-route og navigation i HUB.
8. Tilføje fokuserede tests med mocket MySQL.
**Logo-upload**
Den eksisterende `logo_url VARCHAR(500)` kan ikke indeholde almindelige billedfiler. Derfor skal website-databasen udvides med eksempelvis `logo_blob` og `logo_mime_type`, og website-projektets `content.php` skal suppleres med en billedendpoint.
HUB-delen kan implementeres i dette workspace. Website-ændringerne kræver adgang til det separate projekt:
- `/Users/christianthomas/DEV/new bmcnetworks/api/content.php`
- `/Users/christianthomas/DEV/new bmcnetworks/sql/pending/001_schema.sql`
Planen er gemt i sessionen. Godkend planen, så går jeg videre med implementationen.