Skip to content

fix: widget library crash behind DetailDrawerProvider#116

Merged
WhiteMuush merged 2 commits into
mainfrom
fix/widget-library-drawer
Jul 11, 2026
Merged

fix: widget library crash behind DetailDrawerProvider#116
WhiteMuush merged 2 commits into
mainfrom
fix/widget-library-drawer

Conversation

@WhiteMuush

@WhiteMuush WhiteMuush commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Wrap the widget library page in DetailDrawerProvider so opening a widget detail no longer crashes with a missing context error.
  • Add an e2e fixture seed (e2e/seed.ts) creating one employee, so fresh CI instances land on the dashboard instead of being redirected to /setup, letting the smoke test cover the widgets page.

Test plan

  • Playwright smoke test now reaches /dashboard/widgets in CI.
  • Verified manually: login, open widget library, open a widget detail drawer.

Fresh instances with zero employees redirect to /setup, which broke
the widget drawer smoke path. Seed one employee after prisma/seed.ts
in the e2e job.
@WhiteMuush WhiteMuush merged commit ddc831e into main Jul 11, 2026
12 checks passed
@WhiteMuush WhiteMuush deleted the fix/widget-library-drawer branch July 11, 2026 13:56
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