Skip to content

Review-queue nav slices render auto-derived columns without the verdict field — declare highlightFields on ats_employer and ats_job #33

Description

@claude

Found while delivering #3 (card 08). Object files (src/objects/) are outside that card's scope, so filed.

What was measured

platform.nav.ts defines both review queues as filters slices on the bare data surface (/_console/apps/ats/ats_employer/data?filter[verification_status]=pending, /_console/apps/ats/ats_job/data?filter[status]=pending_review). The data surface (objectui ObjectDataPage) does NOT read the object's authored default list; it derives its columns from highlightFields when the object declares them, else the first business fields. Measured columns today:

  • Employers Pending: Employer Name · Short Name · Logo · Industry · Company Size · City — no verification_status, no verification_docs, no owner.
  • Jobs Pending: Job Title · Employer · Employer Organization · Department · Description · Requirements — two rich-text columns, no status, no published_at.

Screenshots: docs/evidence/issue-3/04-platform-employers-pending-nav-slice.png and 05-platform-jobs-pending-nav-slice.png on the #3 branch. Authoring ats_employer.all / ats_job.all with the right columns (done in #3) did not change the slice, as expected.

Proposed fix

Declare highlightFields on the two objects (spec 17: the key compactLayout was renamed to highlightFields in 11.7.0; ADR-0085 semantic role) so every derived surface — the review-queue slices, related lists, the record highlights panel — leads with the fields a reviewer needs:

  • ats_employer: name, industry, city, verification_status, service_tier, owner
  • ats_job: title, employer, status, city, employment_type, published_at

This keeps the nav slice as the single owner of each queue (no second, drifting pending_* list view) while fixing what it shows.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions