Skip to content

Candidate detail's tabs render nothing — Profile, Application, Notes, Messages, Activity and Inquiry are all empty #896

Closed

Description

@thinkclay

What

On /office/applications/:applicationId the tab strip renders — Profile · Application · Notes · Messages · Activity · Inquiry — but selecting any of them shows no content. Not an empty state, not a spinner, not an error: nothing is in the DOM below the tab row.

The header card above the tabs (avatar, name, score, Advance/Reject/Send Message, applied date, job, experience) renders correctly, so the screen itself is fine. It is the Tabs.Content bodies that never appear.

Reproducing

  1. Sign in as an employer ([email protected] locally).
  2. Open /office/applications/a28cda7f-009c-49d4-907f-1aa3db4c6dac (any application in your organisation).
  3. Click any tab.

document.body.innerText ends at …Profile Application Notes Messages Activity Inquiry with nothing after it, for every tab.

Not a regression from the redesign work

Verified on origin/main by checking out main's copies of features/inquiries/, InquiryTab.tsx and the office inquiry route over a redesign branch and reloading: identical behaviour, nothing renders. So this predates release-3 and is not caused by #834/#835/#836/#837.

Why it matters

Everything reachable only through those tabs is unreachable from candidate detail:

  • the inquiry compose form (InquiryCreateForm) — the only entry point for creating an inquiry
  • the notes, message and activity surfaces for a candidate
  • the candidate's own profile panel

/office/applications/:applicationId/inquiry is a separate route and does still work, so inquiry viewing has a way in; inquiry composing does not.

Evidence

  • packages/scf-core/features/office/applications/components/CandidateDetailContent.tsx:382 — the Tabs root and onValueChange
  • CandidateDetailContent.tsx:405-505 — the six Tabs.Content blocks, none of which render
  • packages/ui Tabs — worth checking whether Tabs.Content requires something the call site is not giving it (the triggers are wrapped in Tabs.Item, which the other Tabs call sites in the app may not do)

Acceptance

  • Selecting each of the six tabs on candidate detail renders that tab's content.
  • The inquiry tab specifically reaches InquiryCreateForm when the application has no inquiry, and InquiryTab when it has one.
  • A regression test covers "selecting a tab renders its panel" for this screen, so the bodies cannot silently go missing again.

Metadata

Metadata

Assignees

Labels

agent-ready

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions