Piotr Jamróz
|
6bb6b13379
|
Query History: Refactor persistence layer (#44545)
* Extract Rich History storage into two separate implementations
Implement getting all entries and adding a new entry
* Add deleting rich history items
* Add editing rich history
* Simplify RichHistoryStorage API
* Reorganize methods
* Rename variable
* Remove feature toggle
* Fix TS errors
* Fix tests
* Clean up
* Clean up only when adding new entry
* Fix showing a warning message
* Use enum instead of a string
* Update public/app/core/history/richHistoryLocalStorage.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Update public/app/core/history/richHistoryLocalStorage.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Improve readability
* Rename files and remove inferred return types
* Use const over a var
* Remove unsed files
* Remove redundant null check
* Update public/app/core/history/richHistoryLocalStorageUtils.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Fix linting issues
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
|
2022-02-04 12:46:27 +01:00 |
|