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
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