- Notifications
You must be signed in to change notification settings - Fork1k
Commit7bddd80
authored
feat(site): add task notifications to user settings (#20006)
## DescriptionAdd UI support for the new `Task Events` notification templates (`TaskWorking` and `Task Idle`) added in backend PR#19965. The`/api/v2/notifications/templates/system` endpoint now returns thesetemplates, therefore this PR keeps the UI in sync.## Changes* Added `Task Working` and `Task Idle` to notification template mocks soStorybook reflects backend data.* Deployment Settings already lists all templates from the API, so nocode change was needed (stories updated automatically).* Updated the User Settings filter to include `Task Events` so theyappear for end users.<img width="2930" height="1666" alt="Screenshot 2025-09-29 at 17 06 22"src="https://github.com/user-attachments/assets/045d5dd7-13a4-4378-9bf3-9fd86a86e64b"/>Depends on:#199651 parentada20d2 commit7bddd80
File tree
4 files changed
+44
-3
lines changed- site/src
- pages
- DeploymentSettingsPage/NotificationsPage
- UserSettingsPage/NotificationsPage
- testHelpers
4 files changed
+44
-3
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
| 72 | + | |
72 | 73 |
| |
73 | 74 |
| |
74 | 75 |
| |
|
Lines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
58 | 73 |
| |
59 | 74 |
| |
60 | 75 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
228 | 228 |
| |
229 | 229 |
| |
230 | 230 |
| |
231 |
| - | |
232 |
| - | |
233 | 231 |
| |
234 | 232 |
| |
235 | 233 |
| |
236 | 234 |
| |
| 235 | + | |
| 236 | + | |
237 | 237 |
| |
238 | 238 |
| |
239 | 239 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4702 | 4702 |
| |
4703 | 4703 |
| |
4704 | 4704 |
| |
| 4705 | + | |
| 4706 | + | |
| 4707 | + | |
| 4708 | + | |
| 4709 | + | |
| 4710 | + | |
| 4711 | + | |
| 4712 | + | |
| 4713 | + | |
| 4714 | + | |
| 4715 | + | |
| 4716 | + | |
| 4717 | + | |
| 4718 | + | |
| 4719 | + | |
| 4720 | + | |
| 4721 | + | |
| 4722 | + | |
| 4723 | + | |
| 4724 | + | |
| 4725 | + | |
| 4726 | + | |
| 4727 | + | |
| 4728 | + | |
| 4729 | + | |
4705 | 4730 |
| |
4706 | 4731 |
| |
4707 | 4732 |
| |
|
0 commit comments
Comments
(0)