grafana/public/app/features/alerting/state
Peter Holmberg 12dcba5d0b
AlertingNG: Test definition (#30886)
* break out new and edit

* changed model to match new model in backend

* AlertingNG: API modifications (#30683)

* Fix API consistency

* Change eval alert definition to POST request

* Fix eval endpoint to accept custom now parameter

* Change JSON input property for create/update endpoints

* model adjustments

* set mixed datasource, fix put url

* update snapshots

* run test response through converters

* remove edit and add landing page

* remove snapshot tests ans snapshots

* wrap linkbutton in array

* different approaches to massage data

* get instead of post

* use function to return instances data

* hook up test button in view

* test endpoint for not saved definitions

* function that return query options

* Chore: fixes strict error

* hide ng alert button

* typings

* fix setAlertDef error

* better message when you have queries but no data

* NGAlert: Refactoring that handles cleaning up state (#31087)

* Chore: some refactorings of state

* Chore: reduces strict null errors

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-02-15 13:56:59 +01:00
..
actions.ts AlertingNG: Test definition (#30886) 2021-02-15 13:56:59 +01:00
alertDef.ts Alerting: Update alertDef.ts with more time options (#29498) 2020-12-01 15:34:15 +01:00
reducers.test.ts Migration: Edit notification channel (#25980) 2020-09-09 12:46:19 +02:00
reducers.ts AlertingNG: Test definition (#30886) 2021-02-15 13:56:59 +01:00
selectors.test.ts AlertingNG: List saved Alert definitions in Alert Rule list (#30603) 2021-01-26 12:12:41 +01:00
selectors.ts AlertingNG: List saved Alert definitions in Alert Rule list (#30603) 2021-01-26 12:12:41 +01:00
ThresholdMapper.test.ts Alerting: Hides threshold handle for percentual thresholds (#30431) 2021-01-21 06:23:09 +01:00
ThresholdMapper.ts Alerting: Hides threshold handle for percentual thresholds (#30431) 2021-01-21 06:23:09 +01:00