Skip to content

feat(SDK-561): wire up SelectHolidays functional component#1497

Merged
krisxcrash merged 1 commit intomainfrom
kw/feat/sdk-561-select-holidays
Apr 8, 2026
Merged

feat(SDK-561): wire up SelectHolidays functional component#1497
krisxcrash merged 1 commit intomainfrom
kw/feat/sdk-561-select-holidays

Conversation

@krisxcrash
Copy link
Copy Markdown
Contributor

@krisxcrash krisxcrash commented Apr 7, 2026

Summary

  • Merge SelectHolidays functional logic into HolidaySelectionForm.tsx, which now manages holiday selection state, calls the create holiday pay policy mutation, and emits flow events (TIME_OFF_HOLIDAY_SELECTION_DONE, CANCEL)
  • Rename presentation, types, test, and stories files from SelectHolidays* to HolidaySelectionForm* following SDK naming conventions (matching PolicyList pattern)
  • Co-locate all files under HolidaySelectionForm/ and delete the TimeOffManagement/SelectHolidays/ directory
  • Update shared/holidayHelpers.ts import to reference the new HolidaySelectionFormTypes location

Stacks on #1496.

Test plan

  • npm run test -- --run src/components/UNSTABLE_TimeOff/HolidaySelectionForm/ (10 tests pass)
  • npm run test -- --run src/components/UNSTABLE_TimeOff/shared/ (26 tests pass)
  • npm run build passes
  • Formatting and lint checks pass
  • State machine wiring verified: HolidaySelectionFormContextualHolidaySelectionFormHolidaySelectionFormPresentation
  • Verify stories render in Storybook

Base automatically changed from kw/feat/sdk-561-holiday-helpers to main April 8, 2026 21:32
@krisxcrash krisxcrash force-pushed the kw/feat/sdk-561-select-holidays branch from c95b3bc to db82a87 Compare April 8, 2026 21:42
Move SelectHolidays logic into HolidaySelectionForm and rename
presentation/types/tests/stories to follow SDK naming conventions
(HolidaySelectionForm* pattern, co-located under HolidaySelectionForm/).
@krisxcrash krisxcrash force-pushed the kw/feat/sdk-561-select-holidays branch from db82a87 to 8ca2f3e Compare April 8, 2026 21:46
@krisxcrash krisxcrash merged commit e399589 into main Apr 8, 2026
14 checks passed
@krisxcrash krisxcrash deleted the kw/feat/sdk-561-select-holidays branch April 8, 2026 21:51
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