Skip to content

Multiple tab behaviour #182

Description

@Cu3PO42

Since the app currently treats its local state as a single source of truth, multiple open tabs will lead to unexpected behaviour. For example if you add a new formatting option in one tab, close it, then close another already open tab that option would be overwritten.

To deal with this, one could

  1. Not allow multiple open tabs: If you already have an open tab, opening a new tab would tell you to go there instead
  2. Implement some kind of configuration reconciliation: Try to merge the changes made by multiple tabs. The expected behaviour here needs further specification. What should happen if two tabs change the same formatting options?
  3. Lock the setting on all but the first open tab, so no conflicts can arise.

Please reply with the option you would prefer and why. Feel free to offer different solutions as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions