Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Closes #5315 - Create a Top Sites storage component #5360

Merged
merged 1 commit into from
Dec 19, 2019

Conversation

gabrielluong
Copy link
Member

@gabrielluong gabrielluong commented Dec 19, 2019


This fixes #5315 by adding an initial Top Sites storage component using Room similar to TabCollections. The current use case that this currently solves is that it provides a simple storage for top sites that are manually added/removed.

Pull Request checklist

  • Quality: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry or does not need one
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features

After merge

  • Milestone: Make sure issues closed by this pull request are added to the milestone of the version currently in development.
  • Breaking Changes: If this is a breaking change, please push a draft PR on Reference Browser to address the breaking issues.

@codecov
Copy link

codecov bot commented Dec 19, 2019

Codecov Report

Merging #5360 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             master   #5360   +/-   ##
========================================
  Coverage      80.3%   80.3%           
  Complexity     4202    4202           
========================================
  Files           546     546           
  Lines         19174   19174           
  Branches       2766    2766           
========================================
  Hits          15398   15398           
  Misses         2616    2616           
  Partials       1160    1160

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c4da824...ee1c068. Read the comment docs.

@gabrielluong gabrielluong requested a review from pocmo December 19, 2019 03:44
@gabrielluong gabrielluong added the 🕵️‍♀️ needs review PRs that need to be reviewed label Dec 19, 2019
@gabrielluong gabrielluong changed the title Closes #5315 - Create a Top Sites storage component Closes #5315 - Create a Top Sites storage component. Dec 19, 2019
@gabrielluong gabrielluong changed the title Closes #5315 - Create a Top Sites storage component. Closes #5315 - Create a Top Sites storage component Dec 19, 2019
Copy link
Contributor

@pocmo pocmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to me!

@gabrielluong
Copy link
Member Author

bors r=pocmo

bors bot pushed a commit that referenced this pull request Dec 19, 2019
5360: Closes #5315 - Create a Top Sites storage component r=pocmo a=gabrielluong



Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
@bors
Copy link

bors bot commented Dec 19, 2019

Build failed

  • complete-push

@gabrielluong
Copy link
Member Author

bors r=pocmo

@gabrielluong
Copy link
Member Author

bors retry

@bors
Copy link

bors bot commented Dec 19, 2019

Already running a review

@jonalmeida
Copy link
Contributor

bors retry

Not sure why it failed when you tried.

@bors
Copy link

bors bot commented Dec 19, 2019

Already running a review

@jonalmeida
Copy link
Contributor

bors r=pocmo

bors bot pushed a commit that referenced this pull request Dec 19, 2019
5360: Closes #5315 - Create a Top Sites storage component r=pocmo a=gabrielluong



Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
@bors
Copy link

bors bot commented Dec 19, 2019

Already running a review

@bors
Copy link

bors bot commented Dec 19, 2019

Build failed

  • complete-push

@jonalmeida
Copy link
Contributor

bors retry

1 similar comment
@gabrielluong
Copy link
Member Author

bors retry

@bors
Copy link

bors bot commented Dec 19, 2019

Already running a review

bors bot pushed a commit that referenced this pull request Dec 19, 2019
5285: Closes #5284: Adds progress bar to download notification r=pocmo a=sblatz



5294: Closes #4556: Passwords sync telemetry support r=rocketsroger,liuche a=grigoryk

This adds a new ping to `support-telemetry-sync` - passwords_sync, which is then used in `services-firefox-accounts` and in `service-sync-logins` to emit password sync telemetry whenever this engine is synchronized. New ping is a verbatim copy of the history_sync ping.

`samples-sync` app was also updated to demonstrate to how synchronize passwords, and how to protect encryption key at rest used for the password storage.



5360: Closes #5315 - Create a Top Sites storage component r=pocmo a=gabrielluong



Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
@bors
Copy link

bors bot commented Dec 19, 2019

This PR was included in a batch that timed out, it will be automatically retried

bors bot pushed a commit that referenced this pull request Dec 19, 2019
5294: Closes #4556: Passwords sync telemetry support r=rocketsroger,liuche a=grigoryk

This adds a new ping to `support-telemetry-sync` - passwords_sync, which is then used in `services-firefox-accounts` and in `service-sync-logins` to emit password sync telemetry whenever this engine is synchronized. New ping is a verbatim copy of the history_sync ping.

`samples-sync` app was also updated to demonstrate to how synchronize passwords, and how to protect encryption key at rest used for the password storage.



5360: Closes #5315 - Create a Top Sites storage component r=pocmo a=gabrielluong



Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
@bors
Copy link

bors bot commented Dec 19, 2019

Build succeeded

  • complete-push

@bors bors bot merged commit ee1c068 into mozilla-mobile:master Dec 19, 2019
@gabrielluong gabrielluong deleted the 5315 branch December 19, 2019 23:02
@gabrielluong
Copy link
Member Author

Thank you bors!

@jonalmeida
Copy link
Contributor

bors +1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🕵️‍♀️ needs review PRs that need to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a Top Sites Storage component
3 participants