diff --git a/ToDo.txt b/ToDo.txt index bd1a1a1..598a52e 100644 --- a/ToDo.txt +++ b/ToDo.txt @@ -25,14 +25,20 @@ Last updated: 2026-01-20 • [x] Compromised User Fix (SAT) • [x] Pools Complete Setup check and refactor -- Implementing Logging Layout from Alex -- Talk with him (SAT) • [x] Adjust and add Functionality for Download Acc Data and Delete Acc (SAT) -• [ ] News Management (own pages for news) + Adjust the Dashboard to Display Latest news +• [X] News Management (own pages for news) + Adjust the Dashboard to Display Latest news • [ ] Unified Modal Design • [ ] Autorefresh of Site?? • [ ] UserMgmt table refactor with actions and filter options (SAT?) -• [ ] Remove irrelevant statuses in userverify filter +• [x] Remove irrelevant statuses in userverify filter • [ ] User Status 1 Feld das wir nicht benutzen • [ ] Pool mulit user actions (select 5 -> add to pool) -• [ ] reset edit templates +• [x] reset edit templates +• [] "Suspended" status should actually do something +• [] Matrix shit +• [x] Git +• [] mobile scroll bug with double page on top + + ================================================================================ diff --git a/package-lock.json b/package-lock.json index d1842aa..d1e3df4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10264,11 +10264,10 @@ } }, "node_modules/tar": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.2.tgz", - "integrity": "sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==", + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.3.tgz", + "integrity": "sha512-ENg5JUHUm2rDD7IvKNFGzyElLXNjachNLp6RaGf4+JOgxXHkqA+gq81ZAMCUmtMtqBsoU62lcp6S27g1LCYGGQ==", "dev": true, - "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/fs-minipass": "^4.0.0", "chownr": "^3.0.0", diff --git a/src/app/admin/contract-management/page.tsx b/src/app/admin/contract-management/page.tsx index 311110a..b0caeb5 100644 --- a/src/app/admin/contract-management/page.tsx +++ b/src/app/admin/contract-management/page.tsx @@ -21,6 +21,7 @@ export default function ContractManagementPage() { const router = useRouter(); const [section, setSection] = useState('templates'); const [editingTemplateId, setEditingTemplateId] = useState(null); + const [editorKey, setEditorKey] = useState(0); useEffect(() => { setMounted(true); }, []); @@ -56,7 +57,17 @@ export default function ContractManagementPage() { {NAV.map((item) => (
+ {error && ( +
+ {error} +
+ )} setTitle(e.target.value)} required /> - setSlug(e.target.value)} required /> +
+ { setSlugTouched(true); setSlug(e.target.value) }} + required + /> +

Used in the URL. Auto-generated from title unless edited.

+
setCategory(e.target.value)} />