Skip to content

Sidebar: Improve <details> state storage data structure. #14

@AesaraB

Description

@AesaraB

We currently store the open/close state of sidebar collapsible menus in local storage discretely:

For each applicable <details> tag we use a variable name prefixing details- to the element ID, and boolean value for its state.

This is kinda stupid. It'd be much more elegant to store these KV pairs in an object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions