grafana/public/app/features/playlist
Uchechukwu Obasi 4e8ab0512c
PlayList: add delete functionality to remove playlist (#38120)
* WIP: add delete functionality to playlist

* fixes deleted item to be removed instantly without manual refresh

* update confirmModal to reference playlist name

* refactor confirmModal message to be clear enough

* WIP: some unit tests for the playlistPage

* added more tests and did some cleanup

* some code refactoring

* adds ability for user roles to control playlist delete

* some abstraction to cleanup code

* modified alert message for delete button to correspond with action

* tried a better approach to modify the alert message

* fixes playlist lookup on each render

* update handlers to not use anonymous function

* exposed getBackendSrv().get api to fetch all playlist

* used better naming convention

* removes unecessary async/await construct

* some code refactoring

* used the correct param structure
2021-09-01 13:23:57 +01:00
..
api.ts PlayList: add delete functionality to remove playlist (#38120) 2021-09-01 13:23:57 +01:00
PlaylistEditPage.test.tsx Playlist: Migrates New/Edit pages to React (#32218) 2021-03-23 07:45:04 +01:00
PlaylistEditPage.tsx Pages: update react components to use v2 theme (#33413) 2021-04-28 16:05:00 +02:00
PlaylistForm.test.tsx Playlist: Migrates New/Edit pages to React (#32218) 2021-03-23 07:45:04 +01:00
PlaylistForm.tsx Grafana-UI: Update React Hook Form to v7 (#33328) 2021-04-29 16:54:38 +03:00
PlaylistNewPage.test.tsx Playlist: Migrates New/Edit pages to React (#32218) 2021-03-23 07:45:04 +01:00
PlaylistNewPage.tsx Pages: update react components to use v2 theme (#33413) 2021-04-28 16:05:00 +02:00
PlaylistPage.test.tsx PlayList: add delete functionality to remove playlist (#38120) 2021-09-01 13:23:57 +01:00
PlaylistPage.tsx PlayList: add delete functionality to remove playlist (#38120) 2021-09-01 13:23:57 +01:00
PlaylistSrv.test.ts Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
PlaylistSrv.ts Chore: Fix more TypeScript strict errors (#37066) 2021-07-22 08:09:55 +01:00
PlaylistStartPage.tsx Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
PlaylistTable.tsx Playlist: Migrates New/Edit pages to React (#32218) 2021-03-23 07:45:04 +01:00
PlaylistTableRow.tsx Emotion: Upgrades emotion from 10 to 11 and updates all import paths (#32541) 2021-04-01 14:15:23 +02:00
PlaylistTableRows.tsx UI text edits (#32524) 2021-03-31 16:07:37 -07:00
StartModal.tsx PlayList: add delete functionality to remove playlist (#38120) 2021-09-01 13:23:57 +01:00
styles.ts Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme (#33619) 2021-05-03 09:45:54 +02:00
types.ts Playlist: Migrates New/Edit pages to React (#32218) 2021-03-23 07:45:04 +01:00
usePlaylist.tsx Chore: eslint react hook fix for public folder (#31174) 2021-03-25 12:42:14 +01:00
usePlaylistItems.tsx Chore: eslint react hook fix for public folder (#31174) 2021-03-25 12:42:14 +01:00