Skip to content

Add functionality to reload page and open the same panes #11

@davestewart

Description

@davestewart

Background

Right now, if you reload the page you lose your frames.

It would be good if the page is reloaded that the same frames reload.

Ideas

Update URL with loaded frames

  • pros: could use URL as canonical state
  • cons: potential complexity in keeping track of navigations, main page would lose its state

Track state using local storage

  • pros: simple
  • cons: none

Proposal

Track state using local storage

Either:

  • store state on navigation / update
  • use onBeforeUnload() to confirm saving state

Implementation:

  • store id + locations
  • on load
    • update frames
    • delete stored tab id + urls
  • if not clearing on reload, clear stored tab ids on startup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions