Skip to content

fix(CompensationHistory prototype): stack per-job sections and correct multi-job eligibility#2311

Open
aaronlee777 wants to merge 1 commit into
mainfrom
al/fix/compensation-history-prototype
Open

fix(CompensationHistory prototype): stack per-job sections and correct multi-job eligibility#2311
aaronlee777 wants to merge 1 commit into
mainfrom
al/fix/compensation-history-prototype

Conversation

@aaronlee777

Copy link
Copy Markdown
Contributor

Summary

  • Replaced the combined/filterable DataView in CompensationHistory with one heading + DataView per job — the merged-rows view was creating UX problems, and the underlying assumption (mixed employee types across jobs) doesn't reflect reality.
  • Kept Job title as a DataView column since the title on a compensation row can change over time, while the section heading reflects the current job title.
  • Corrected the prototype configurations: only Nonexempt/Hour employees are eligible for multiple jobs, so updated the Multiple jobs state (Team lead) and the Mixed wages Bookkeeper to be Hour/Nonexempt.
  • Removed the now-unused CompensationHistory.module.scss (container query + filter styles tied to the deleted combined view).

Test plan

  • npm run test -- --run sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.test.tsx
  • Visually verify each prototype state in sdk-app design mode: Single job, Multiple jobs (stacked), Mixed wages (stacked, all hourly), Empty.

🤖 Generated with Claude Code

…t multi-job eligibility

- Replace the combined/filterable DataView with one heading + DataView per
  job; the merged view created UX problems and multiple-job employees only
  ever share a single shape.
- Keep job title as a column since titles can change over time, while the
  section heading reflects the current title.
- Fix the prototype configurations: only Nonexempt/Hour employees are
  eligible for multiple jobs, so update Multiple jobs and the Mixed wages
  Bookkeeper accordingly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aaronlee777 aaronlee777 requested a review from a team as a code owner June 30, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants