feat(SDK-1161): add PrintChecksBanner - #2585
Merged
Merged
Conversation
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>
This was referenced Aug 18, 2026
serikjensen
approved these changes
Aug 19, 2026
Base automatically changed from
kw/feat/print-checks-1-terminal-screens
to
main
August 20, 2026 21:21
…2-banner # Conflicts: # .reports/embedded-react-sdk.api.md # docs/reference/Translations/index.md # src/i18n/types.d.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Second PR in the print-checks stack (see #2584 for the full split rationale, splitting up #2572).
PrintChecksBanner— a standalone component that fetches its own payroll data viausePayrollsGet(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. FiresPRINT_CHECKS_STARTwhen clicked.Base branch note: this targets
kw/feat/print-checks-1-terminal-screens, notmain— it's stacked on PR #2584. Diff will narrow to just this PR's files once #2584 merges and this gets retargeted.Stack
Testing
npm run test -- --run src/components/Payroll/PrintChecks— 11 tests passnpx tsc --noEmitandnpm run lint:checkclean🤖 Generated with Claude Code