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

store sheet state in URL #732

Closed
jimniels opened this issue Oct 18, 2023 · 0 comments · Fixed by #1281 · May be fixed by #2139
Closed

store sheet state in URL #732

jimniels opened this issue Oct 18, 2023 · 0 comments · Fixed by #1281 · May be fixed by #2139
Assignees
Labels
type: enhancement new feature or request

Comments

@jimniels
Copy link
Collaborator

Today if you have multiple sheets, you lose the state of the sheet you're looking at if you refresh.

For example, if I'm on a sheet with tabs: [Foo][Bar] and "Foo" is the active sheet, if I switch to "Bar" that navigation is not tracked in the URL. So if I then refresh the page, I will no longer be looking at "Bar" but at "Foo" because by default it loads the first sheet.

Not only does refreshing lose your state in the sheet, but there's also no way to share a link with someone to a particular sheet.

Again with the example of the sheets [Foo][Bar], if I made that sheet public and linked someone to it, I wouldn't be able to link them directly to sheet "Bar". It would always load "Foo"

We should have a query param that updates as the user navigates so, at minimum, you can link someone to the sheet you're looking at (and if you reload, you don't lose the sheet you were looking at).

Example: https://app.quadratichq.com/file/:uuid?sheet=:sheetId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement new feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants