-
Notifications
You must be signed in to change notification settings - Fork 423
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
Allow automated fetching of synced bookmarks' favicons #2163
Merged
+570
−40
Merged
Changes from 80 commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
1a82668
[WIP] Support for form factor specific favorites
ayoy 3522cc7
Add favorites display mode switcher to settings
ayoy 8cd0f21
Update BSK ref
ayoy 997e861
Reload Home view collection view when favorites display mode changes
ayoy bc9d688
Apply most recent designs to favorites display mode settings screen
ayoy e00562c
Implement migration to form-factor-specific favorites
ayoy 0ee52ce
Reload widgets on update to favorites display mode
ayoy a3420f6
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy 698d23a
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy 557cf9a
Add Sync options to Sync view
ayoy 8586145
Revert changes to Settings.storyboard
ayoy 754fe12
Revert changes to SettingsViewController
ayoy a1f1f33
Add FavoritesDisplayModeSyncHandler
ayoy c6ee017
Update BSK ref
ayoy 52d6d69
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy 30815c8
Update BSK ref
ayoy 21be09d
Fix unit tests to compile and pass
ayoy d9288ca
Update BSK ref
ayoy baafc69
Implement handling favorites after disabling Sync
ayoy 2f55c18
Make app responsive to favorites display mode changes
ayoy 8f58d3b
Properly share favorites display mode setting with the Widget
ayoy a701352
Update BSK ref
ayoy 0da5324
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy 9297e19
Update BSK ref
ayoy f5fafe4
Update BSK ref
ayoy e70d33e
Fix tests compilation
ayoy 3e123f5
Remove unnecessary changes
ayoy b331786
Address review feedback, part 1
ayoy d9b7b8b
Use FavoritesDisplayModeSyncHandlerBase
ayoy 46c2b80
Use prepareLegacyFoldersStructure for legacy migration
ayoy 160e49e
Initialize EmailProtectionSyncHandler in SyncSettingsAdapter
ayoy 3581ee0
Fire pixel before crashing when migration to FFS favorites fails'
ayoy e6caba6
Handle favorites after disabling sync as part of 'cleaning up databas…
ayoy 380cc92
Parametrize BookmarksExporter with favorites display mode
ayoy 297a170
Parametrize AddOrEditBookmarkViewController with appSettings
ayoy 451d815
Use favorites display mode in BookmarkFoldersTableViewController
ayoy da018f4
Parametrize appSettings in more places
ayoy 26db43b
Use favoritesDisplayMode in BookmarksDataSource
ayoy 8cd0a4e
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy 38f7738
Update bookmark delete undo for FFS favorites
ayoy 253cadc
Prepare legacy folders structure also in another place in LegacyBookm…
ayoy eebdd48
Update BSK ref
ayoy 4d3c3d6
Refresh bookmarks views on display mode change
bwaresiak 77cb4c0
new sync flow (#2071)
SabrinaTardio afa6102
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy 1c278a5
Update BSK ref
ayoy 9f2fb8a
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy bb2834c
Update BSK ref
ayoy dc23f73
Sync limit exceeded (#2105)
SabrinaTardio 707b6c6
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy 2afb0ef
Fetch favicons for bookmarks received in sync
ayoy 0286b89
Replace syncDidUpdateData with syncDidFinish
ayoy c6ac996
Add hasFavicon
ayoy dcd4704
Reset bookmarks sync timestamp after migrating to FFS favorites (#2091)
ayoy 6f155ce
Add a setting for favicons fetching and only do it while the setting …
ayoy efbb57b
Merge branch 'develop' into dominik/sync-ffs-favorites
ayoy 7fae63c
Merge branch 'dominik/sync-ffs-favorites' into dominik/sync-favicons-…
ayoy 5b10e75
Update SyncBookmarksAdapter to use FaviconsFetcherInput
ayoy e597505
Add support for initial favicons fetch
ayoy 708b3f4
Add in-context favicons fetcher onboarding
ayoy a581ea6
Cancel favicons fetching when the app is put to background
ayoy 5d3835a
Implement final UI for the in-context favicons fetcher onboarding
ayoy db2f7e0
Merge branch 'develop' into dominik/sync-favicons-fetching
ayoy f1444e6
Fix SwiftLint warnings
ayoy bf8c64e
Remove unused import
ayoy acce293
Add BookmarksFaviconsFetcherErrorHandler and handle failable initiali…
ayoy 0dfea71
Update BSK ref
ayoy 81e27cd
Merge branch 'develop' into dominik/sync-favicons-fetching
ayoy 87950d4
Merge branch 'develop' into dominik/sync-favicons-fetching
ayoy 0cbe870
Merge branch 'develop' into dominik/sync-favicons-fetching
ayoy ba02602
Display favicons fetcher onboarding only when there's no other view c…
ayoy d5882b4
Don't quit the app when favicons fetcher can't be instantiated
ayoy 5f58676
Merge branch 'develop' into dominik/sync-favicons-fetching
ayoy 6ee083a
Reset default internal user flag
ayoy a2af0f6
Make SwiftLint happy
ayoy d9c2311
Fix tests compilation
ayoy 6d916d5
Update BSK ref
ayoy d86798a
Update BSK ref
ayoy afb5d11
Merge branch 'develop' into dominik/sync-favicons-fetching
ayoy 23e03fd
Update design and copy for the favicons fetcher onboarding dialog
ayoy 397863e
Merge branch 'develop' into dominik/sync-favicons-fetching
ayoy 5356638
Throw an error when Application Support directory is inaccessible
ayoy f46b1c4
Update BSK to 87.0.0
ayoy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
why no guard let?
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.
We already rely on
~/Library/Application Support
directory to be present and accessible on users' devices (you'll find the same force-unwrapped call inURLExtension
). I can add a guard let here though and report another error here, no problem 👍