Skip to content

[Enhancement] Rearchitecting state management #17

@irebased

Description

@irebased

The current state management for dashboard parameters is fairly coupled with the rest of the application, making adding new widgets a bit of a hassle. I'd like to make a better effort of creating layers of abstraction here to keep these elements scaling independently. New approach:

  • hook that owns logic for reading/writing query parameters after compression. Can manage the state of the query parameters internally.
  • widgets can just define their settings and request to read/write these settings to the state
  • global state, layout, and text metadata can similarly interface with this system.

I want to abstract the state caching so I can explore other means of storing this state:

  • json (or other) copy/paste sidebar
  • database payload, maybe

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions