1
0
Fork 0
polaris-task-force/tests
Z8MB1E 8c95c1ee82 feat(announcements): add announcements system with roleDocs targeting and richText
- announcements collection: info/success/warning/error variants, banner/modal/dialog/toast display types, up to 3 action buttons, dismissible flag, activeFrom/activeUntil windows, audience targeting (all/users/roles) and path include/exclude matching copied from the Shims pattern
- pure client-safe evaluation lib (enabled, time window, audience via roleDoc IDs, path match) plus per-browser localStorage dismissals
- AnnouncementHost mounted in the (frontend) layout: banners render inline, toasts via sonner custom markup, modals and confirmation dialogs queue one at a time
- permissions announcements:create/read/update/delete + admin:announcements:manage
- description is Lexical richText rendered via RichText/lexical-content on all surfaces; role targeting uses the dynamic Roles collection
- hand-written migrations with snapshot sidecars (collection, roleDocs targeting, description richtext conversion) + integration tests (12 passing)
2026-09-22 21:08:46 -04:00
..
e2e feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
int feat(announcements): add announcements system with roleDocs targeting and richText 2026-09-22 21:08:46 -04:00
push-schema.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
seed-baseline.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
test-db.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
vitest-global.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
vitest-teardown.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00