Skip to content

fix: remove unprocessed payroll status badge#2426

Draft
aaronlee777 wants to merge 3 commits into
mainfrom
fix/al/feat/update-payroll-status-indicators
Draft

fix: remove unprocessed payroll status badge#2426
aaronlee777 wants to merge 3 commits into
mainfrom
fix/al/feat/update-payroll-status-indicators

Conversation

@aaronlee777

@aaronlee777 aaronlee777 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes the "Unprocessed" badge from the payroll list per product feedback. Payrolls with no active processing request and no upcoming deadline now show no badge. Also tightens the "Due in X days" window from 30 days to 14 days.

Changes

  • Removed unprocessed status rule, translation string, and type entry
  • Tightened dueInDays condition from ≤ 30 days to ≤ 14 days
  • Updated tests and Storybook stories to reflect both changes

Demo

Screenshot 2026-07-17 at 2 39 00 PM

Testing

  • npm run test -- --run src/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.test.ts — 31 tests pass
  • Storybook: Domain/Payroll/Status ShowcasePriority4 Fallback Statuses (unprocessed row removed)

aaronlee777 and others added 3 commits July 17, 2026 14:26
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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