Pages still using dummy data or missing an endpoint (25 Sept 2026)

Hi. I went through every page in the staff portal and the admin console, looking for anything that shows made-up data, or pretends to save something the backend can't store yet. The list below is what needs backend work. Each item names the page, what's wrong today, and what I need from you.

Items marked (frontend) at the end are mine to fix. They're listed so you don't chase them.


At a glance

# Page Problem today What's needed
1 Staff portal → Media Entirely sample data A media endpoint, or a decision to drop the page
2 Staff portal → Roster, and the "On duty" panel on the home page Entirely sample data A roster endpoint, or a decision to drop both
3 Events, Surveys, Knowledge space builder Audience lists are made up A list of real departments, locations and staff categories
4 Knowledge spaces → Request access Says "moderator notified" but sends nothing A request-access endpoint
5 Surveys → Save draft Says "Draft saved" but saves nothing Draft surveys
6 Auditor → Memo decision trails Can't list memos, only audit events A memo list the auditor may read
7 Admin Overview dashboard Memo counts are pieced together from the audit log Memo counts, or an all-memos list for admins
8 DTI → Integration health → Retry No way to retry a failed sync A retry / sync-now endpoint
9 P&C → Acknowledgement report No way to chase one person now A send-reminder endpoint
10 Auditor → Audit log Filters work on the first 20 events only Filters and export on the server (QA notes #10)
11 P&C/CCP → Survey results Has to download every raw answer Totals per option (QA notes #12)
12 DTI/Auditor → Access review No roles or assignment dates Roles and dates in the review (QA notes #15)

Pages that are connected but show nothing because no data has arrived yet are listed separately at the end. They need the HRMS feed, not new endpoints.


1. Media library (staff portal: /media)

Today: every item is a sample, e.g. "Call to the Bar 2026 — ceremony photographs" and "Registrar's briefing". The page shows a yellow "sample data" notice.

Note: the media library isn't in the SRS. It was carried over from the reference design. So the first question is whether we keep it.

If we keep it, the page needs a list of approved media, each with:

2. Duty roster (staff portal: /roster)

Today: every shift is a sample. The roster page shows the "sample data" notice.

Also on the home page: the "On duty" panel shows four of these sample shifts with no notice, so every staff member sees made-up people "on duty" on the main page.

Note: the roster isn't in the SRS either. Same question: keep it or drop it?

If we keep it, the page needs a read-only list of shifts, each with:

The page is deliberately read-only. Changing the roster would need the duty-manager check, so staff can't edit it here.

3. Audience lists (Events, Surveys, Knowledge space builder)

Three screens let the author choose who something is for, and all three use made-up lists:

What I need: one endpoint returning the real values content can be targeted by:

These would most naturally come from the HRMS directory. Then all three screens can offer real choices and send them as scope_departments, scope_locations, scope_categories and so on.

4. Knowledge spaces: Request access (/knowledge and each space page)

Today: clicking "Request access" on a restricted space shows "The moderator of … has been notified", but nothing is sent.

The backend has join for open spaces. For a restricted space, join refuses with "Request access from the space moderator", and there's no way to actually make that request.

What I need:

5. Surveys: Save draft (/pnc/surveys/new)

Today: "Save draft" shows "Draft saved" but saves nothing. Surveys have no draft state: they're live as soon as they're created.

What I need: either draft surveys (created but not open until published), or confirmation that drafts aren't wanted, and I'll remove the button.

6. Auditor: Memo decision trails (/auditor/memos)

Today: the auditor can't list memos. The existing lists need memo-submit or approval rights, which the auditor rightly doesn't have. So the page rebuilds the trail from audit events instead.

What I need: a read-only memo list the auditor may see, with each memo's status and decision history.

7. Admin overview dashboard (/)

Today: there's no endpoint listing all memos, so the dashboard counts approved and distributed memos from audit events. That count stops at 20, the first page of the audit log.

What I need: either memo counts by status for the dashboard, or an all-memos list for admin roles.

8. DTI: Integration health → Retry (/dti/health)

Today: each failing integration (Policy library, Staff directory, Recognition, S204 Audit) has a "Retry" button. It can only say "Manual retry is not available yet", because nothing on the backend triggers a sync on demand.

What I need: an endpoint to retry a failed sync now, or to "sync now", for each feed and outbox.

9. P&C: Acknowledgement report → send reminder (/pnc/ack-report)

Today: reminders only go out on the automatic schedule. There's no way for P&C to chase one person, or everyone outstanding on a policy, straight away.

What I need: an endpoint to send a reminder now, to one person or to everyone outstanding for a policy. Or confirmation that the schedule is enough, and I'll leave the page as it is.

10–12. Already in the QA notes

These are in MESSAGE_TO_BACKEND_QA_FINDINGS.md with the details:


Connected, but empty until data arrives

These pages already call the backend correctly. They look empty on UAT because the feeds from HRMS, the Policy system and Recognition have never synced (QA notes #13):


Frontend items (mine, for information)

Done (25 Sept): the stale news notice is removed; content scheduling waits for the server; "Request access" now says who to ask instead of claiming a request was sent; "Save draft" is removed; the home "On duty" panel is labelled as sample data. The banner's location is the only item still waiting, on HRMS.


How I checked (so nothing is missed)

  1. Sample-data notices and sample-data files: found every page that shows the "sample data" or "not available yet" notice, or reads from the frontend's sample files. That found Media, Roster and the home "On duty" panel.
  2. Made-up lists and fake buttons: searched every page for hard-coded lists, and for buttons that report success without calling the backend. That found items 3, 4 and 5.
  3. Every address the frontend calls (66 in total) was matched against the backend's actual routes. All of them exist, so no page calls something that isn't there.
  4. Gaps the code itself admits in comments, e.g. "no endpoint to…". That found items 6 to 9.
  5. Made-up text (hard-coded dates, names, places, counts) in pages and shared components. That found only the "CLET HQ · Accra" banner.