refactor: Removes the Filter Box code (#26328)

Co-authored-by: John Bodley <john.bodley@gmail.com>
This commit is contained in:
Michael S. Molina
2024-01-19 09:54:53 -03:00
committed by GitHub
parent 591f266543
commit d9a3c3e1dd
97 changed files with 577 additions and 4970 deletions

View File

@@ -30,7 +30,6 @@ export enum LocalStorageKeys {
* TODO: Update all local storage keys to follow the new pattern. This is a breaking change,
* and therefore should be done in a major release.
*/
filter_box_transition_snoozed_at = 'filter_box_transition_snoozed_at',
db = 'db',
chart_split_sizes = 'chart_split_sizes',
controls_width = 'controls_width',
@@ -59,7 +58,6 @@ export enum LocalStorageKeys {
}
export type LocalStorageValues = {
filter_box_transition_snoozed_at: Record<number, number>;
db: object | null;
chart_split_sizes: [number, number];
controls_width: number;

View File

@@ -172,7 +172,7 @@ export function getDashboardPermalink({
*/
anchor?: string;
}) {
// only encode filter box state if non-empty
// only encode filter state if non-empty
return getPermalink(`/api/v1/dashboard/${dashboardId}/permalink`, {
urlParams: getDashboardUrlParams(),
dataMask,