mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
* 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 |
||
---|---|---|
.. | ||
api.ts | ||
PlaylistEditPage.test.tsx | ||
PlaylistEditPage.tsx | ||
PlaylistForm.test.tsx | ||
PlaylistForm.tsx | ||
PlaylistNewPage.test.tsx | ||
PlaylistNewPage.tsx | ||
PlaylistPage.test.tsx | ||
PlaylistPage.tsx | ||
PlaylistSrv.test.ts | ||
PlaylistSrv.ts | ||
PlaylistStartPage.tsx | ||
PlaylistTable.tsx | ||
PlaylistTableRow.tsx | ||
PlaylistTableRows.tsx | ||
StartModal.tsx | ||
styles.ts | ||
types.ts | ||
usePlaylist.tsx | ||
usePlaylistItems.tsx |