feat(web): wire calendar page to real API data #474

Merged
jason.woltje merged 1 commits from feat/calendar-real-api into main 2026-02-23 03:51:17 +00:00
Owner

Summary

  • Replace mock events with live API calls on the calendar page
  • Update interface to match backend (/)
  • Pass via header using hook
  • Add loading state, design-token error/empty states, and cancelled-flag cleanup

Changes

File Change
Remove , align with backend DTOs, add param
Wire to real API, add loading/error/empty states with design tokens

Test plan

  • Verify calendar page loads with real API data when workspace is selected
  • Verify loading spinner appears while fetching
  • Verify empty state renders when no events exist
  • Verify error state with retry button on API failure
  • Verify no regression on other pages (mockEvents was not imported elsewhere)

Refs #467

## Summary - Replace mock events with live API calls on the calendar page - Update interface to match backend (/) - Pass via header using hook - Add loading state, design-token error/empty states, and cancelled-flag cleanup ## Changes | File | Change | |------|--------| | | Remove , align with backend DTOs, add param | | | Wire to real API, add loading/error/empty states with design tokens | ## Test plan - [ ] Verify calendar page loads with real API data when workspace is selected - [ ] Verify loading spinner appears while fetching - [ ] Verify empty state renders when no events exist - [ ] Verify error state with retry button on API failure - [ ] Verify no regression on other pages (mockEvents was not imported elsewhere) Refs #467
jason.woltje added 1 commit 2026-02-23 03:50:57 +00:00
feat(web): wire calendar page to real API data
Some checks failed
ci/woodpecker/push/web Pipeline failed
75cc65a531
Replace mock events with live fetchEvents() calls. Update EventFilters
to match backend QueryEventsDto (startFrom/startTo), pass workspaceId
via header, add MosaicSpinner loading state, design-token error/empty
states, and cancelled-flag cleanup pattern matching the dashboard.

Refs #467

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit f97be2e6a3 into main 2026-02-23 03:51:17 +00:00
Sign in to join this conversation.