LeC-D
04dfff4ebd
fix(notifications): remove redundant defaultValue prop and fix incident URL in telegram provider
...
- Remove redundant 'defaultValue' prop on Telegram chat ID Controller in create/index.tsx;
the form already initialises via 'defaultValues: defaults' at the useForm level, making
the per-Controller prop unnecessary and inconsistent with the reviewer's expectation.
- Fix 'View Incident' URL in telegram.ts: was pointing to the infrastructure details page
(/infrastructure/:id) instead of the incidents page (/incidents/:id).
2026-03-27 14:19:27 -04:00
Leandre Chamberland-Dozois
4c94a7c21e
fix: resolve TypeScript build errors in notification form types
2026-03-25 19:13:37 -04:00
LeC-D and Claude Opus 4.6
a864bc0c05
fix: run format and fix build errors
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-25 16:52:48 -04:00
Léo
eacbb227c3
feat(notifications): add Telegram notification channel ( #2753 )
...
Add Telegram as a new notification type, allowing users to receive
monitor alerts via a Telegram bot.
Configuration requires:
- Bot token (obtained from @BotFather)
- Chat ID (user, group, or channel)
Changes:
- TelegramProvider: sends HTML-formatted messages via Telegram Bot API
- NotificationsService: route telegram type to TelegramProvider
- Notification model/types: add 'telegram' to NotificationChannel enum
- Server validation: telegram schema (accessToken + address/chat_id)
- Client Types/Validation: telegram schema with accessToken + address
- useNotificationForm: handle telegram defaults
- Notifications create page: render Telegram config UI
- en.json: add telegram i18n keys
2026-03-24 10:15:46 -04:00
Alex Holliday
d45e6ec97c
remove v2 dir
2026-02-20 18:13:39 +00:00
Alex Holliday
a0aee182de
remove unused
2026-01-29 21:15:14 +00:00
Alex Holliday
806d7ae456
test
2026-01-29 20:59:47 +00:00
Alex Holliday
830318edc3
put -> patch
2026-01-29 20:55:02 +00:00
Alex Holliday
86a55e3cfe
submit
2026-01-29 20:47:47 +00:00
Alex Holliday
796960aeb2
matrix in one config
2026-01-29 20:26:28 +00:00
Alex Holliday
a25ff03b71
remaining fields
2026-01-29 20:12:50 +00:00
Alex Holliday
22ae6b4be6
type
2026-01-29 19:34:49 +00:00
Alex Holliday
0b5e28c296
form
2026-01-29 19:29:36 +00:00
Alex Holliday
3ba3e4b865
initial commit
2026-01-29 18:41:46 +00:00
Alex Holliday
d627a25b40
refactor notifications service
2026-01-21 13:51:04 -08:00
Alex Holliday
25d1039376
update pagespeed
2026-01-12 23:57:39 +00:00
Alex Holliday
4d89213e1c
Add typescript config, move to v1 dir
2025-09-25 10:11:41 -07:00
Alex Holliday
993339d0d1
update pager_duty validation
2025-08-17 20:21:18 -07:00
karenvicent
1a5f16c4e3
improves in light mode
2025-07-28 16:28:44 -04:00
Yashaswee Kesharwani
b89ab5a192
(fix): implemented email and webhook url validation with proper error and toast creation #2603
2025-07-15 22:13:31 +05:30
Alex Holliday
e08fba1b76
add delete confirmation dialog to notificiaton page
2025-07-07 15:34:45 -07:00
Luis Sousa
9954a74dfd
bleep boop fix translations
2025-07-07 20:08:34 +01:00
Luis Sousa
292c7fd7ea
address PR feedback
2025-07-04 11:53:25 +01:00
Luis Sousa
d9cc0f82c1
add internationalization for button labels in notifications
2025-07-02 23:05:53 +01:00
Luis Sousa
34455e10e4
running npm run format
2025-07-02 22:32:08 +01:00
Luis Sousa
85b13686a4
Notification channel Delete:
...
attempt to add the delete button to the notifications view
2025-07-02 17:14:39 +01:00
Alex Holliday
1187f9d4cc
add fix button loading state
2025-06-20 10:08:13 +08:00
Alex Holliday
440ce8a12b
simplify creatign notifications
2025-06-18 14:42:26 +08:00
Alex Holliday
4fd2a29ab3
fix email type
2025-06-16 13:30:27 +08:00
Alex Holliday
bea23a94bb
handle discord webhooks
2025-06-16 10:38:05 +08:00
Alex Holliday
5e23a2b79c
Remove team and user id
2025-06-13 12:16:52 +08:00
Alex Holliday
e6493df881
add test notificaiton button and methods
2025-06-10 12:07:31 +08:00
Alex Holliday
0ac1f13043
implement editing notification channels
2025-06-10 11:13:19 +08:00
Alex Holliday
1b40aa0ded
add notifications to infra page, add generic webhook notification channel
2025-06-09 14:59:26 +08:00
Alex Holliday
5b21906894
add notificaion pages
2025-06-09 12:57:30 +08:00