From 32ef8d65f53a887a871cff7ef13760bbde6935d6 Mon Sep 17 00:00:00 2001 From: Vladimir Lewandowski Date: Wed, 17 Apr 2024 13:47:08 +0200 Subject: [PATCH] feat(Cluster): persist nodes filter in URL (#797) --- src/store/state-url-mapping.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/store/state-url-mapping.ts b/src/store/state-url-mapping.ts index eab3c5dbf..6a4cd18e6 100644 --- a/src/store/state-url-mapping.ts +++ b/src/store/state-url-mapping.ts @@ -85,6 +85,20 @@ const paramSetup: ParamSetup = { stateKey: 'partitions.selectedConsumer', }, }, + '/cluster/storage': { + storageType: { + stateKey: 'storage.type', + }, + storageVisibleType: { + stateKey: 'storage.visible', + }, + storageNodesUptime: { + stateKey: 'storage.nodesUptimeFilter', + }, + storageFilter: { + stateKey: 'storage.filter', + }, + }, }; function mergeLocationToState(state: S, location: Pick): S {