-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Refactor LoginListViewController to MVVM #6779
Merged
Merged
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
SwiftLint found issuesWarnings
Errors
Generated by 🚫 Danger |
nbhasin2
reviewed
Jun 17, 2020
nbhasin2
reviewed
Jun 17, 2020
nbhasin2
reviewed
Jun 17, 2020
I think you'll also want to rebase as we moved to XCode 11.5 in the master branch. Otherwise the branch won't compile properly on BB |
vphong
force-pushed
the
vphong/loginslist-mvvm
branch
from
June 17, 2020 19:44
68d1eaa
to
768a363
Compare
nbhasin2
reviewed
Jun 18, 2020
nbhasin2
reviewed
Jun 18, 2020
I tested locally and things look good. Except during the night mode the terms entered on searchbar are not in proper colour. This can be addressed later as it was there before. @vphong Try it on iPad as well and other devices when you get a chance. |
nbhasin2
approved these changes
Jun 18, 2020
…on (#6827) * Bugzilla 1646756: close last priv tab clears the WKWebViewConfiguration * use prefkey for blockpopups
* Try installing Carthage modify carthage_command file add comment * remove space Co-authored-by: isabel rios <[email protected]>
Co-authored-by: isabel rios <[email protected]>
* Fix #4717 - Provide feedback when pinning a site from inside the Library panel Display toast notification on the Library panel Display toast notification on the Bookmarks panel Display toast notification on the Website tab * Change to remove Co-authored-by: Vlad Dramaretskyi <[email protected]>
… for light/dark mode
…ark themes + added pdf button designs
* Use .afterFirstUnlock on all apnsToken instances * Re-register push on subscriptionExpired
The durable sync servers 503 if major version == 0 to sidestep a bug.
…er copying link and color contrast of the copied link label" (#6860) * Revert "code styling" This reverts commit b1af71b. * Revert "code styling" This reverts commit cd8a09b. * Revert "code styling" This reverts commit a552d58. * Revert "edits to label color variables definetions" This reverts commit 9c5da0a. * Revert "code styling" This reverts commit 911f098. * Revert "removed extra tabs" This reverts commit 9545675. * Revert "fixed support for ios 112.4 colors" This reverts commit 5dd6c0c. * Revert "removed tab + edits to constraints for buttons" This reverts commit 33f8d21. * Revert "edit in constraint for widget button" This reverts commit 48a429a. * Revert "styling edits" This reverts commit dd561ac. * Revert "removed commented lines" This reverts commit 4085267. * Revert "bug fixes : widget constraints + color contrasts of labels in light/dark themes + added pdf button designs" This reverts commit 981ead9. * Revert "fixed the cut-off of copied link labels and the contrast of the color for light/dark mode" This reverts commit 8ec8a75.
* fixed the cut-off of copied link labels and the contrast of the color for light/dark mode * bug fixes : widget constraints + color contrasts of labels in light/dark themes + added pdf button designs * removed commented lines * styling edits * edit in constraint for widget button * removed tab + edits to constraints for buttons * fixed support for ios 112.4 colors * removed extra tabs * code styling * edits to label color variables definetions * code styling * code styling * code styling Co-authored-by: noorhashem <[email protected]>
vphong
force-pushed
the
vphong/loginslist-mvvm
branch
from
June 25, 2020 17:14
08a21ab
to
6cd37d1
Compare
vphong
added a commit
that referenced
this pull request
Jun 26, 2020
* Fix #6788: enable QR pairing for china edition (#6811) * Fix #6723: telemetry lib out-of-space fatal exception (#6813) Update the lib to v1.1.3 which has fix for this * [nobug, build] remove duplicate carthage copy-frameworks objcexc. step (#6832) * Bugzilla 1646756: close last priv tab clears the WKWebViewConfiguration (#6827) * Bugzilla 1646756: close last priv tab clears the WKWebViewConfiguration * use prefkey for blockpopups * Try installing Carthage (#6836) * Try installing Carthage modify carthage_command file add comment * remove space Co-authored-by: isabel rios <[email protected]> * Update SnapshotHelper file (#6839) Co-authored-by: isabel rios <[email protected]> * Fix #4717 - Provide feedback when pinning a site (#6785) * Fix #4717 - Provide feedback when pinning a site from inside the Library panel Display toast notification on the Library panel Display toast notification on the Bookmarks panel Display toast notification on the Website tab * Change to remove Co-authored-by: Vlad Dramaretskyi <[email protected]> * Fixed #6730: open apps preview should hide all screens in private browsing (#6757) * Fixed #6730: open apps preview should hide all screens in private browsing * #6730 changed color of backdropContainer and changed it edges to fill whole screen, added it TrayView as well * Added new color #1D1133 for Ink90 * fixed the cut-off of copied link labels and the contrast of the color for light/dark mode * bug fixes : widget constraints + color contrasts of labels in light/dark themes + added pdf button designs * removed commented lines * styling edits * edit in constraint for widget button * removed tab + edits to constraints for buttons * fixed support for ios 112.4 colors * removed extra tabs * code styling * edits to label color variables definetions * code styling * code styling * code styling * Push subscription expired handling (#6851) * Use .afterFirstUnlock on all apnsToken instances * Re-register push on subscriptionExpired * Send dev in UA instead of 0.0.1 (#6849) The durable sync servers 503 if major version == 0 to sidestep a bug. * Revert "Fix: #6764 #6763 #6766 #6765 String cutting off in widget after copying link and color contrast of the copied link label" (#6860) * Revert "code styling" This reverts commit b1af71b. * Revert "code styling" This reverts commit cd8a09b. * Revert "code styling" This reverts commit a552d58. * Revert "edits to label color variables definetions" This reverts commit 9c5da0a. * Revert "code styling" This reverts commit 911f098. * Revert "removed extra tabs" This reverts commit 9545675. * Revert "fixed support for ios 112.4 colors" This reverts commit 5dd6c0c. * Revert "removed tab + edits to constraints for buttons" This reverts commit 33f8d21. * Revert "edit in constraint for widget button" This reverts commit 48a429a. * Revert "styling edits" This reverts commit dd561ac. * Revert "removed commented lines" This reverts commit 4085267. * Revert "bug fixes : widget constraints + color contrasts of labels in light/dark themes + added pdf button designs" This reverts commit 981ead9. * Revert "fixed the cut-off of copied link labels and the contrast of the color for light/dark mode" This reverts commit 8ec8a75. * Noorhashem/today widget fixes (#6861) * fixed the cut-off of copied link labels and the contrast of the color for light/dark mode * bug fixes : widget constraints + color contrasts of labels in light/dark themes + added pdf button designs * removed commented lines * styling edits * edit in constraint for widget button * removed tab + edits to constraints for buttons * fixed support for ios 112.4 colors * removed extra tabs * code styling * edits to label color variables definetions * code styling * code styling * code styling Co-authored-by: noorhashem <[email protected]> * Fix #6862: UA test broken (#6863) Co-authored-by: Garvan Keeley <[email protected]> Co-authored-by: isabelrios <[email protected]> Co-authored-by: isabel rios <[email protected]> Co-authored-by: Daniela Arcese <[email protected]> Co-authored-by: Vlad Dramaretskyi <[email protected]> Co-authored-by: Haris Zaman <[email protected]> Co-authored-by: noorhashem <[email protected]> Co-authored-by: Edouard Oger <[email protected]>
vphong
added a commit
that referenced
this pull request
Jun 30, 2020
…le/firefox-ios into vphong/breachalerts * 'vphong/breachalerts' of https://github.com/mozilla-mobile/firefox-ios: Refactor LoginListViewController to MVVM (#6779)
vphong
added a commit
that referenced
this pull request
Aug 17, 2020
* Base BreachAlertsManager with loadBreaches() and compareToBreaches() (#6696) * Revert "Base BreachAlertsManager with loadBreaches() and compareToBreaches() (#6696)" (#6698) This reverts commit 6110fd0. * Base BreachAlertsManager class with loadBreaches() + compare() (#6699) * Test BreachAlertsManager.loadBreaches() and compareToBreaches() (#6715) * Refactor LoginListViewController to MVVM (#6779) * Refactor LoginListViewController to MVVM (again) (#6871) * Refactor LoginListViewController to MVVM * New PR made because previous changes were not merged correctly * Test LoginsList-related refactored classes (#6897) * LoginsList test stubs * fix test db deletion * query test * more view model tests * test on properties set by setLogins * open logins db * LoginListSelectionHelper tests * VM helper tests * headers * Delete LoginListDataSourceHelper.swift * queue-ify loadLogins * queue-ify tests * computeSectionsFromLogin + revert queues * remove tests requiring loadLogins to be called + cleanup * review changes * cleanup after renaming * Incorporate BreachAlertsManager in to LoginsListViewController (#6934) * Add breach alert icon to Logins List cells and display if item is breached (#6992) * basic BreachAlerts surfacing * UI update for breaches * record breach IndexPaths * rewrite findUserBreaches * findUserBreaches refinement * reload table after breaches are loaded to update UI * rework cell reload method * review changes * rudimentary asset display * positioning using custom cell * hide icon and show when needed * refinement * positioning, vector size, additional mock data * cleanup * bug cleanup/polish * convert array to set for performance * forEach reloadRows optimization * margins + breach reload optimization Co-authored-by: Garvan Keeley <[email protected]> Co-authored-by: Nishant Bhasin <[email protected]> * Fix margins within LoginListTableViewCell (#7022) * Update LoginListTableViewCell.swift and add custom stack views + containers * FXIOS-710 ⁃ Create breach details view (#7041) * stubbing * stack views * convert [BreachRecord] to set; basic view population * formatting + string population * UI polish * commenting * button implementation * breach link malformation handling * VoiceOver support * more elegant url handling * use delegate * better delegation * setup function for breach detail view * re-add long login * tests + comments + better accessibility support * spacing + mock data redo * UX updates (#7127) * FXIOS-731 ⁃ HTTP HEAD etags to cut down on data requests from Breach Alerts (#7100) * first pass * etag & last accessed date integration * test compatibility * better completion handling * cleanup * review 1 * review 2 * Update BreachAlertsManager.swift * formatting/test reformation * fix logic errors * Update BreachAlertsManager.swift * fix logic * remove mock data * Lint Co-authored-by: Garvan Keeley <[email protected]> Co-authored-by: isabelrios <[email protected]> Co-authored-by: isabel rios <[email protected]> Co-authored-by: Daniela Arcese <[email protected]> Co-authored-by: Vlad Dramaretskyi <[email protected]> Co-authored-by: Haris Zaman <[email protected]> Co-authored-by: noorhashem <[email protected]> Co-authored-by: Edouard Oger <[email protected]> Co-authored-by: Kayla Galway <[email protected]> Co-authored-by: Nishant Bhasin <[email protected]>
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.
#6706