Commit Graph

4 Commits (8391bc6b68a17de25e5223eaa2520d580b22a2dc)

Author SHA1 Message Date
QuackieMackie 307c69cb45 Update: added `pageConfig.maintenances.upcomingColor` to control upcoming maintenance alert colors. 2025-09-19 19:49:21 +01:00
keito 5769a52f0c
fix: improve types for callback-related config (#135)
* fix: allow partial callbacks in config types

* fix: allow non-async callback functions in config types

* fix: specify type of monitor argument in callback type

* fix: use generics type for env argument in callback type
2025-08-07 18:47:19 +08:00
lyc8503 57a37fd3c1 fix #114: add missing type def 2025-05-31 01:20:32 +08:00
Bennet Gallein a6c8eb6e12
maintenance mode (#101)
* feat: move types

* feat: add maintenance alert

* feat: move to config/base class to have fallback values on missing exports

* fix: wrong import for types

* Revert "fix: wrong import for types"

This reverts commit ca2b2e3a68.

* Revert "feat: move to config/base class to have fallback values on missing exports"

This reverts commit 9932ea2590.

* fix: imports

* chore: formatting

* fix: handle filtering for global status

* fix: pass props

* fix: ignore active maintenances when sending notifications

* fix: mark as warning when monitor is in maintenance

* fix: title width & warning icon

* fix: remove accordeons again

* alert config/style changes, worker code improve

* update example config

* update example config

* set monitors to be optional

---------

Co-authored-by: lyc8503 <me@lyc8503.net>
2025-05-01 01:09:53 +08:00