-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Bugfix FXIOS-5304 [v109] Fixes pinned sites no longer work from add to shortcuts #12579
Conversation
v108 is now on hard freeze, so I'll put this in as v109 |
Build was green here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sync'd with @tarikeshaq and this does not support backwards compatibility so v109 change once happens will require additional work if we ever want to downgrade.
@tarikeshaq Do you think its worth to support backward compatibility?
This pull request has conflicts when rebasing. Could you fix it @tarikeshaq? |
2308440
to
b34f29d
Compare
This pull request has conflicts when rebasing. Could you fix it @tarikeshaq? |
b34f29d
to
11ec040
Compare
11ec040
to
6c6104f
Compare
Because it's close to the 109 cut off, and removing backward compatibility meant crashing if we downgrade, I simplified the fix to only skip the joining with the favicon table - which is a safer approach, but we keep the extra query cc @nbhasin2 does that make sense? if so we can probably land this so it hits 109 |
This is much simpler @tarikeshaq r+ |
Build is green here |
Bugfix for #12461
Removes the extra query to the
browser.db
when adding a pinned site through theAdd to Shortcuts
button.This PR removes that extra query and instead writes directly to the pinned sites. Note that since we no longer run the query, we now don't have the site's guid. but that's okay, it's nullable and pinned sites don't really need to have site's history guid.
I put this as 108 since it was a regression in 107. But please feel free to change it up to whatever the team sees fit!