grafana/public/app/types
Sonia Aguilar d8d8ef1aff
Alerting: Add Notification error feedback on contact points view (#56225)
* Alerting: Receivers integrations error feedback: WIP - Add notifications error at the top right on contact points view (#52390)

* Add interfaces for contact point errors

* [WIP] Create fake response for the new service to get contact point errors

* [WIP] Create action an reducer for the new service to get contact point errors

* Fetch fetchContactPointStates in Contact Points tab every 20s and when AM changes

* [WIP] Use store to get error count

* Show number of integrations errors at the contact points main view

* Add warning icon and refactor styles using getStyles

* Change lastNotify type to string instead of DateTime

* Use Stack component from experimental library when it is possible

* Alerting: Add receivers error feedback in contact point list (#52524)

* Refactor types for contact points state

* Add health column in ReceiversTable in case error state is available for this AM

* Create method for converting contact points state DTO to the FE type used in Redux store

* Update types

* Fix indexOf criteria getting integration type

* Change type name to integrationType name

* Change new components to be named functions to follow the FE style-guide

* Fix typos

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>

* Decouple ReceiversTable from Redux state

* Create private useContactPointsState hook to simplify code in ReceiversTable component

* Add tests for getIntegrationType and refactor the method to validate the name

* Add tests for contactPointsStateDtoToModel method

* Remove unnecessary check

* Use Badge compoment for health status in contact point list

* Create new method parseIntegrationName to simplify getting types and index from integration name

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>

* Alerting: Show integrations error feedback when expanding contact point in list (#52920)

* Use DynamicTable for rendering list of contact points and make them expandable if error status is available

* Render expanded content for contact points integrations

* Style and format last notify column

* Add send resolve column to the integration details

* Fix receiver id for DynamicTable row

* Update clock icon in integration state

* Fix tests

* Add PR review sugestions

* Alerting/integrations error feedback handle null dates in response 3 (#55659)

* Update fake response with lastNotify ISO8601 formatted, to be aligned with latest BE changes

* Update LastNotify in ReceiversTable component to handle null date

* Alerting/integrations error feedback handle 404 state not available (#55803)

* Create fetchContactPointsState using the future contact point url and handle 404 error

* Add contact points state tests

* Alerting/update receivers dto naming 2 (#56201)

* Update NotifierStatus naming and fix sendResolved not being updated in UI

* Return always empty ContactPointsState array when catching an error in the request response

* Fix test

* Show notification status only in notifications main view

* Calculate total error count from the final contactPointsState object, to avoid errors when duplicated entries are returned wronly in the response

* Add PR review suggestions

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2022-10-06 15:23:38 +02:00
..
jquery Minor progress on fixing no-implicit any issues 2019-03-19 18:24:47 +01:00
accessControl.ts RBAC: Add permissions to install and configure plugins (#51829) 2022-09-09 09:44:50 +02:00
acl.ts Dashboard: Prevents folder change when navigating to general settings (#38103) 2021-08-20 11:53:48 +02:00
alerting.ts Alerting: Add Notification error feedback on contact points view (#56225) 2022-10-06 15:23:38 +02:00
apiKeys.ts API Keys: Add revocation for SATs (#53896) 2022-08-18 16:54:39 +02:00
appEvent.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
appNotifications.ts Frontend: Add notification persistence behind feature flag (#47871) 2022-04-20 10:42:32 +01:00
config.ts Chore: Add type info for grafana boot data (#45322) 2022-03-30 10:48:58 +01:00
dashboard.ts TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature (#55149) 2022-09-15 14:04:58 +02:00
datasources.ts DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
events.ts fix: some typos (#56171) 2022-10-04 18:43:49 -05:00
explore.ts Explore: Revert split pane resize feature (#56310) 2022-10-04 15:42:43 +01:00
folders.ts RBAC: Add access control metadata to folder dtos (#51158) 2022-06-22 10:29:26 +02:00
index.ts Angular: Option to disable angular support and isolate angular dependencies (#45421) 2022-02-16 17:14:33 +01:00
ldap.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
location.ts FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
lru-cache.d.ts Update dependency lru-cache to v7 (#45074) 2022-02-18 10:23:06 +01:00
organization.ts SelectOrgPage: migrate API function calls to Redux (#43133) 2021-12-16 09:57:18 +01:00
plugins.ts Chore: reduces circular dependencies for variables/utils.ts (#44087) 2022-01-17 12:48:26 +01:00
preferences.ts Preferences: Use dashboardUID to set the home dashboard (#51919) 2022-07-22 10:44:22 +02:00
query.ts DataSource: Default data source is no longer a persisted state but just the default data source for new panels (#45132) 2022-03-08 08:56:12 +01:00
serviceaccount.ts RBAC: Remove builtin role code (#53767) 2022-08-18 12:25:37 +02:00
store.ts Chore: Update and enforce usage of typed react-redux hooks (#55349) 2022-09-19 10:49:35 +01:00
suggestions.ts VisualizationSuggestions: Support image & text instead of real previews. Adds suggestions for all non data panels when there are no data (#42074) 2021-11-25 10:52:01 +01:00
svg.d.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
teams.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
templates.ts make variable type more slim 2019-01-07 11:26:06 +01:00
unified-alerting-dto.test.ts Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
unified-alerting-dto.ts Alerting: Add alert preview to cloud rules editor (#54950) 2022-09-23 10:05:08 +02:00
unified-alerting.ts Alerting: Support for re-ordering alert rules in a group (#53318) 2022-08-16 14:42:02 +02:00
user.ts UsersTable: Display Disabled flag in Organizations' Users table (#53656) 2022-08-15 10:58:58 +02:00
window.d.ts Type window.nonce (#51200) 2022-06-22 09:28:05 +01:00