Skip to content

Remove unnecessary base64 encoding of localStorage ke #293

@avinxshKD

Description

@avinxshKD

this is not really a bug but the localStorage keys are all being base64 encoded for no reason:

ALL_GRAPHS: window.btoa('ALL_GRAPHS'),
AUTHOR_NAME: window.btoa('AUTHOR_NAME'),

Then decoded every time with window.atob(). This isn't providing any security (localStorage is still wide open in devtools) and it just makes debugging annoying since all the keys look like gibberish.

If the goal was to avoid collisions with other apps, a simple prefix like concore_ would be clearer and faster. Or just drop the encoding entirely since it's adding overhead for no benefit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions