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

Fix focus retention of tabs while switching between IDEs #37648

Closed
Tracked by #37342
ankitakinger opened this issue Nov 22, 2024 · 1 comment · Fixed by #38799
Closed
Tracked by #37342

Fix focus retention of tabs while switching between IDEs #37648

ankitakinger opened this issue Nov 22, 2024 · 1 comment · Fixed by #38799
Assignees
Labels
IDE Pod Issues that new developers face while exploring the IDE IDE Product Issues related to the IDE Product Task A simple Todo

Comments

@ankitakinger
Copy link
Contributor

ankitakinger commented Nov 22, 2024

When you switch between IDEs, the old IDE loses the focus retention of tabs. For example, you're on app editor and on page 2, with 6 queries/apis open (tabs). Now, you switch to home screen and open a package editor, and then back to the app editor, the opened page as well as its open tabs are no longer retained.

This also happens when you simply move from editor to homepage and back to editor. Another scenario this happens is on page refresh. And yet another one, if you try to connect and authorize a Google spreadsheet as a datasource, once you are back on the app editor after authorisation is complete, the opened tabs are no longer retained (open bug #31590)

This needs to be fixed by maybe using local storage or you can explore other solutions.

Also, handle the state that maintains which tabs are open so that when user switches between say data and editor tabs in the sidebar, the open entities should remain open. The focus retention across IDEs will be handled in another task.

@Nikhil-Nandagopal Nikhil-Nandagopal added the Task A simple Todo label Nov 22, 2024
@ankitakinger ankitakinger added IDE Product Issues related to the IDE Product IDE Pod Issues that new developers face while exploring the IDE labels Nov 22, 2024
@hetunandu
Copy link
Member

Hey team! Please add your planning poker estimate with Zenhub @alex-golovanov @ankitakinger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE Pod Issues that new developers face while exploring the IDE IDE Product Issues related to the IDE Product Task A simple Todo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants