From 538b17b9b882fbc310be91542a7f310965392e5b Mon Sep 17 00:00:00 2001 From: Twyco Date: Tue, 15 Sep 2026 22:44:16 +0200 Subject: [PATCH] feat(KAN-45): rebuild project notification settings --- .../projects/NotificationEditorDialog.vue | 632 ++++++++ resources/js/lib/notification-filters.ts | 23 + resources/js/lib/notification-labels.ts | 13 + resources/js/locales/en.ts | 109 ++ .../pages/projects/settings/Notifications.vue | 1380 +++-------------- resources/js/types/project-notifications.ts | 12 + ...jectNotificationSettingsControllerTest.php | 62 + .../ProjectNotificationSettingsUiTest.php | 19 + .../project-notification-settings-browser.mjs | 310 ++++ .../project-notification-settings-preview.mjs | 19 + .../project-notification-settings.mjs | 363 +++++ 11 files changed, 1752 insertions(+), 1190 deletions(-) create mode 100644 resources/js/components/projects/NotificationEditorDialog.vue create mode 100644 resources/js/lib/notification-filters.ts create mode 100644 resources/js/lib/notification-labels.ts create mode 100644 resources/js/types/project-notifications.ts create mode 100644 tests/Feature/Projects/ProjectNotificationSettingsUiTest.php create mode 100644 tests/Fixtures/project-notification-settings-browser.mjs create mode 100644 tests/Fixtures/project-notification-settings-preview.mjs create mode 100644 tests/Fixtures/project-notification-settings.mjs diff --git a/resources/js/components/projects/NotificationEditorDialog.vue b/resources/js/components/projects/NotificationEditorDialog.vue new file mode 100644 index 0000000..6c7ae9e --- /dev/null +++ b/resources/js/components/projects/NotificationEditorDialog.vue @@ -0,0 +1,632 @@ + + +