feat(foundation): add managed Adopt a Display catalogue #362

Merged
Eric merged 2 commits from feat/adopt-a-display-local into main 2026-10-03 17:16:40 +02:00
Owner

Adopt a Display now has a bilingual public catalogue at /foundation-adopt and a staff editor at /dashboard-next?area=adopt. New records default to drafts; only explicitly published records appear publicly. Staff can create, edit, publish, unpublish and delete records, with duplicate display numbers supported through MongoDB document IDs.

The editor uses a dedicated adopt_displays.manage permission, existing image uploads, attachment protection in both media deletion paths, and audit logging. No real users or roles are changed. Availability, adoption amount, recognition and expiry are optional descriptive fields. The private historical review JSON remains ignored and excluded from Docker; no import, publication or deployment is included.

Validation: full npm test passed under Node 24.18.0 (598 tests); focused permission/lifecycle/media and frontend regression checks passed; git diff --check passed. Independent review findings for media-manager deletion, navigation guards and catalogue retry were fixed and re-reviewed with no remaining must-fix findings. Visual QA uses synthetic in-memory records. Required Forgejo CI and Docker checks must pass before merge.

Adopt a Display now has a bilingual public catalogue at `/foundation-adopt` and a staff editor at `/dashboard-next?area=adopt`. New records default to drafts; only explicitly published records appear publicly. Staff can create, edit, publish, unpublish and delete records, with duplicate display numbers supported through MongoDB document IDs. The editor uses a dedicated `adopt_displays.manage` permission, existing image uploads, attachment protection in both media deletion paths, and audit logging. No real users or roles are changed. Availability, adoption amount, recognition and expiry are optional descriptive fields. The private historical review JSON remains ignored and excluded from Docker; no import, publication or deployment is included. Validation: full `npm test` passed under Node 24.18.0 (598 tests); focused permission/lifecycle/media and frontend regression checks passed; `git diff --check` passed. Independent review findings for media-manager deletion, navigation guards and catalogue retry were fixed and re-reviewed with no remaining must-fix findings. Visual QA uses synthetic in-memory records. Required Forgejo CI and Docker checks must pass before merge.
Eric self-assigned this 2026-10-03 17:06:03 +02:00
feat(foundation): add managed Adopt a Display catalogue
All checks were successful
Validate PR title / Conventional PR title (pull_request) Successful in 4s
Tests / Docker image build (pull_request) Successful in 2m15s
Tests / Node.js 24 test suite (pull_request) Successful in 3m28s
b85a2b8780
Eric changed title from WIP: feat(foundation): add managed Adopt a Display catalogue to feat(foundation): add managed Adopt a Display catalogue 2026-10-03 17:07:38 +02:00
fix(foundation): align catalogue search controls
All checks were successful
Validate PR title / Conventional PR title (pull_request) Successful in 2s
Tests / Docker image build (pull_request) Successful in 2m8s
Tests / Node.js 24 test suite (pull_request) Successful in 3m26s
9121f84b05
Eric merged commit e57905a540 into main 2026-10-03 17:16:40 +02:00
Eric deleted branch feat/adopt-a-display-local 2026-10-03 17:21:07 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Eric/CMCENDev!362
No description provided.