Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't copy and paste between tabs on jbrowse.org demos #4872

Open
cmdcolin opened this issue Mar 6, 2025 · 0 comments
Open

Can't copy and paste between tabs on jbrowse.org demos #4872

cmdcolin opened this issue Mar 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@cmdcolin
Copy link
Collaborator

cmdcolin commented Mar 6, 2025

There is a system for jbrowse-web that lets you copy and paste the URL from one tab to another, and it uses BroadcastChannel to get the info from the old tab to the new one

Kind of a tricky system

This appears to work on localhost but not on jbrowse.org (unclear why)

Steps

Visit e.g. https://jbrowse.org/code/jb2/v3.0.5/?config=test_data%2Fvolvox%2Fconfig.json&session=share-JCsm46ATdn&password=ilHg5
Wait till it loads and changes to a local session
Copy and paste the URL to a new tab
Observe it says that it says 'localstorage session not found'

Random thought: might be able to fetch from the autosaves in indexed db instead of broadcast channel

@cmdcolin cmdcolin added the bug Something isn't working label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant