Skip to content

feat(SDK-551): add PolicyListPresentation component#1411

Open
krisxcrash wants to merge 8 commits intomainfrom
kw/feat/sdk-551-policy-list-presentation
Open

feat(SDK-551): add PolicyListPresentation component#1411
krisxcrash wants to merge 8 commits intomainfrom
kw/feat/sdk-551-policy-list-presentation

Conversation

@krisxcrash
Copy link
Copy Markdown
Contributor

@krisxcrash krisxcrash commented Mar 30, 2026

Summary

  • Adds stateless PolicyListPresentation component for the time off policy list page
  • Adds PolicyListTypes.ts with shared types (PolicyListItem, PolicyListPresentationProps)
  • Updates translations in Company.TimeOff.TimeOffPolicies.json to match Figma designs

Changes

  • PolicyListPresentation.tsx: DataView table (Name/Enrolled columns), per-row overflow menu (Edit/Delete), "Finish setup" button for incomplete policies, delete confirmation dialog, dismissible success alert, and empty state
  • PolicyListTypes.ts: Props interface and PolicyListItem type
  • Translations: Renamed addPolicyCtacreatePolicyCta, updated empty state copy to match Figma, added finishSetupCta, allEmployeesLabel, enrolledDash, deletePolicyDialog.confirmCta/cancelCta, tableLabel

Related

Testing

  • Storybook stories will be added in a follow-up PR
  • npx tsc --noEmit passes with no errors

@krisxcrash krisxcrash self-assigned this Mar 30, 2026
@krisxcrash krisxcrash marked this pull request as draft March 30, 2026 20:44
@krisxcrash krisxcrash marked this pull request as ready for review March 30, 2026 22:06
Base automatically changed from kw/feat/sdk-547 to main April 1, 2026 21:31
Stateless presentation component for the time off policy list. Renders
a DataView table with Name/Enrolled columns, per-row overflow menu
(Edit/Delete), Finish setup button for incomplete policies, delete
confirmation dialog, dismissible success alert, and empty state.

Also updates translations to match Figma designs.

Made-with: Cursor
@krisxcrash krisxcrash force-pushed the kw/feat/sdk-551-policy-list-presentation branch from b3680a1 to 2f37c35 Compare April 2, 2026 16:40
@krisxcrash krisxcrash marked this pull request as draft April 2, 2026 18:31
@krisxcrash krisxcrash marked this pull request as ready for review April 2, 2026 19:02
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