From bcee83df7597beb64201a792bc8f5a09077000b5 Mon Sep 17 00:00:00 2001 From: Vladimir Lewandowski Date: Tue, 16 Apr 2024 14:53:18 +0200 Subject: [PATCH] feat(Cluster): persist nodes filter in URL --- 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 eab3c5dbf4..6a4cd18e6f 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 {