Commit Graph

3 Commits

Author SHA1 Message Date
Cody Jackson 663d7759e8 Cleaning up the route and receiver pages
rancher/dashboard#1807
2020-11-23 12:50:25 -07:00
Cody Jackson 5772341855 Change how we handle nameless routes and how we save yaml
- We just filtered out nameless routes which caused problems with default routes and manually created routes. This now gives a default name of `route-${i}` which if saved will add the name to the route.
- We remove the names before saving and prever the user from setting the name.
- Made the yamlSaveOverride consistent with receivers since it wasn't working when going to edit as yaml from the create page.

rancher/dsahboard#1239
2020-11-03 17:23:34 -07:00
Cody Jackson 0118e0c984 Adding the route alertmanager route type
- Extracted code that could be shared between route and receiver into an alertmanagerconfig util
- Added some more support code to allow users to dynamically add/remove uncreatableTypes

rancher/dashboard#1239
2020-10-27 16:10:01 -07:00