Skip to content

feat(contractor): add "Record a historical payment" CTA to payments list#2472

Open
aaronlee777 wants to merge 2 commits into
mainfrom
feat/contractor-payments-historical-payment-cta
Open

feat(contractor): add "Record a historical payment" CTA to payments list#2472
aaronlee777 wants to merge 2 commits into
mainfrom
feat/contractor-payments-historical-payment-cta

Conversation

@aaronlee777

@aaronlee777 aaronlee777 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a "Record a historical payment" Box CTA below the contractor payments DataView on PaymentsListPresentation, mirroring the off-cycle CTA pattern on PayrollList.
  • Uses a Flex column of Text components (title + supporting description) as the Box header, with a secondary Button footer.
  • Button onClick is a no-op — UI only for now, action to be wired up in a follow-up.

DEMO

Screenshot 2026-07-24 at 12 34 34 PM

Test plan

  • Verify the CTA renders below the DataView in Storybook / sdk-app
  • Verify the CTA renders in both populated and empty payments states
  • Verify the title, description, and button label read correctly
  • Verify layout matches the off-cycle CTA on the payroll list at the same 640px max width

🤖 Generated with Claude Code

Adds a non-functional Box CTA below the contractor payments DataView,
mirroring the off-cycle payroll CTA pattern on PayrollList. Button is
wired to a no-op onClick pending action definition.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aaronlee777
aaronlee777 requested a review from a team as a code owner July 24, 2026 16:26
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.

1 participant