Skip to content

Store file size/orientation data in sessionStorage #5451

@mishaschwartz

Description

@mishaschwartz

File text size, image zoom level, image orientation is stored on the window (as of #5413).

Preferably, we should store this info in sessionStorage (lasts for the duration of the session) or localStorage (lasts until cleared).

(We should not set these values in a react component's state. Doing so would overly-complicate the code and would not provide any functional advantage to storing this information on the window.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions