-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
3
-
False
-
False
-
Undefined
-
Not Supported
-
Description of problem:
Currently, redux state and context provider extension both are being used to store the active namespace. We only want to use context provider extension and get rid of the redux state completely for the active namespace
Acceptance Criteria
- Remove redux selector getActiveNamespace(state) and all usages
- Remove ui helper getActiveNamespace (in public/actions/ui.ts)
- Cleanup NamespaceContext and use only user-settings to get latest namespace (see packages/console-app/src/components/detect-namespace/namespace.ts)
- If possible remove all redux action type ActionType.SetActiveNamespace and redux setActiveNamespace action creator (and calls to this function) (:warning: this name is also used for the user settings update callback)
- Ensure that if the namespace is changed the application state (in redux) jumps automatically to ALL_APPLICATIONS_KEY. Maybe by dispatching a cleanup action in the setter of useActiveNamespace?
Additional Details:
- is blocked by
-
ODC-5111 Convert last used and boomarked perspective, namespace and application from localStorage to user settings
-
- Closed
-
- links to