Skip to content

feat(SDK-1161): add PrintChecksBanner - #2585

Merged
krisxcrash merged 5 commits into
mainfrom
kw/feat/print-checks-2-banner
Aug 20, 2026
Merged

feat(SDK-1161): add PrintChecksBanner#2585
krisxcrash merged 5 commits into
mainfrom
kw/feat/print-checks-2-banner

Conversation

@krisxcrash

Copy link
Copy Markdown
Contributor

Summary

Second PR in the print-checks stack (see #2584 for the full split rationale, splitting up #2572).

  • Adds PrintChecksBanner — a standalone component that fetches its own payroll data via usePayrollsGet (IDs-not-entities convention), shows an info alert when the payroll has employees paid by check, and surfaces a "View and print checks" CTA once the payroll is processed. Fires PRINT_CHECKS_START when clicked.

Base branch note: this targets kw/feat/print-checks-1-terminal-screens, not main — it's stacked on PR #2584. Diff will narrow to just this PR's files once #2584 merges and this gets retargeted.

Stack

  1. feat(SDK-1161): add print-checks terminal screens and event vocabulary #2584 — terminal screens + events
  2. This PR — Banner
  3. Form (stacked on this)
  4. State machine / orchestrator (stacked on 3)
  5. PayrollOverview integration (stacked on 4)

Testing

  • npm run test -- --run src/components/Payroll/PrintChecks — 11 tests pass
  • npx tsc --noEmit and npm run lint:check clean

🤖 Generated with Claude Code

krisxcrash and others added 2 commits August 18, 2026 15:11
First slice of the print-checks feature (split out of #2572 for
reviewability): the shared event constants and the two terminal
screens of the upcoming print-checks flow, PrintChecksFailure and
PrintChecksSummary. Both are standalone, presentational components
that will be wired into a state-machine orchestrator in a follow-up PR
stacked on this one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Second slice of the print-checks feature stack (see #2584). A
standalone banner that fetches its own payroll data via
usePayrollsGet, shows an info alert when the payroll has employees
paid by check, and surfaces a "View and print checks" CTA once the
payroll is processed. Fires PRINT_CHECKS_START when clicked.

Stacked on kw/feat/print-checks-1-terminal-screens; targets that
branch, not main.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@krisxcrash
krisxcrash requested a review from a team as a code owner August 18, 2026 22:15
Base automatically changed from kw/feat/print-checks-1-terminal-screens to main August 20, 2026 21:21
krisxcrash and others added 2 commits August 20, 2026 14:28
…2-banner

# Conflicts:
#	.reports/embedded-react-sdk.api.md
#	docs/reference/Translations/index.md
#	src/i18n/types.d.ts
@krisxcrash
krisxcrash enabled auto-merge August 20, 2026 21:30
@krisxcrash
krisxcrash added this pull request to the merge queue Aug 20, 2026
Merged via the queue into main with commit c4d3293 Aug 20, 2026
36 checks passed
@krisxcrash
krisxcrash deleted the kw/feat/print-checks-2-banner branch August 20, 2026 21:52
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