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: Migrate pinned tabs from older Zen versions #2716

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

kristijanribaric
Copy link
Contributor

If there are no pinned tabs in the database on startup, assume it's a migration from an older version and save all currently pinned tabs to the database. Previously, Zen would remove any pinned tabs that didn't have a zen-pin-id attribute, which would occur during migration. This change ensures that pinned tabs are preserved during upgrades.

If there are no pinned tabs in the database on startup,
assume it's a migration from an older version and save all
currently pinned tabs to the database.  Previously, Zen
would remove any pinned tabs that didn't have a `zen-pin-id`
attribute, which would occur during migration. This change
ensures that pinned tabs are preserved during upgrades.
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. Bug labels Nov 7, 2024
@kristijanribaric kristijanribaric marked this pull request as draft November 7, 2024 11:27
@kristijanribaric kristijanribaric marked this pull request as ready for review November 7, 2024 15:21
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant