-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
Make the document auto-save system initially restore the last-viewed tab before loading the rest #2194
Merged
Keavon
merged 10 commits into
GraphiteEditor:master
from
mTvare6:reload-last-active-tab
Jan 25, 2025
Merged
Make the document auto-save system initially restore the last-viewed tab before loading the rest #2194
Keavon
merged 10 commits into
GraphiteEditor:master
from
mTvare6:reload-last-active-tab
Jan 25, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Keavon
reviewed
Jan 12, 2025
!build |
|
Only autosaved documents get serialized to the browser storage, which can get the indexes out of sync. Reproduction:
|
Keavon
changed the title
Fixes last tab being opened instead of last active tab
Make document auto-saving include the active tab index instead of just restoring the last tab
Jan 12, 2025
mTvare6
force-pushed
the
reload-last-active-tab
branch
from
January 13, 2025 07:29
23a5ec0
to
addf7e8
Compare
Keavon
force-pushed
the
master
branch
2 times, most recently
from
January 18, 2025 00:03
7465fad
to
ab724d8
Compare
mTvare6
force-pushed
the
reload-last-active-tab
branch
from
January 19, 2025 19:11
0c2d2af
to
51071f9
Compare
I merge in master and resolved the conflicts for you. See Discord about needed changes so it opens the last-viewed tab, so long as that tab is destined to reopen. |
!build |
|
Keavon
approved these changes
Jan 25, 2025
Keavon
changed the title
Make document auto-saving include the active tab index instead of just restoring the last tab
Make the document auto-save system initially restore the last-viewed tab before loading the rest
Jan 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes https://discord.com/channels/731730685944922173/881073965047636018/937518022548131891