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

Issue #11654: Change fetchProvidedTopSites into TopSitesProviderConfig #11668

Merged
merged 3 commits into from
Feb 9, 2022

Conversation

gabrielluong
Copy link
Member

@gabrielluong gabrielluong commented Feb 4, 2022

Fixes #11654

This changes fetchProvidedTopSites into a data class TopSitesProviderConfig that specifies
whether or not to display the top sites from the provider and the maximum threshold at which to
fetch the top sites from the provider.

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.

@gabrielluong gabrielluong added the work in progress Not ready to land yet. Work in progress (WIP). label Feb 4, 2022
@gabrielluong gabrielluong force-pushed the 11654 branch 2 times, most recently from c7f948e to 88e6e1f Compare February 4, 2022 23:12
@Amejia481
Copy link
Contributor

This is looking good!

@gabrielluong gabrielluong force-pushed the 11654 branch 2 times, most recently from 40f7b96 to 7438b5a Compare February 7, 2022 21:38
@gabrielluong gabrielluong changed the title Issue #11654: Change fetchProvidedTopSites into a lambda function Issue #11654: Change fetchProvidedTopSites into TopSitesProviderConfig Feb 7, 2022
@gabrielluong gabrielluong force-pushed the 11654 branch 3 times, most recently from 663a7ad to 3c90898 Compare February 8, 2022 21:17
…sProviderConfig

This changes `fetchProvidedTopSites` into a data class `TopSitesProviderConfig` that specifies
whether or not to display the top sites from the provider and the maximum threshold at which to
fetch the top sites from the provider.
@gabrielluong gabrielluong marked this pull request as ready for review February 8, 2022 23:48
@gabrielluong gabrielluong requested review from grigoryk and a team as code owners February 8, 2022 23:48
@gabrielluong gabrielluong removed the work in progress Not ready to land yet. Work in progress (WIP). label Feb 8, 2022
@gabrielluong gabrielluong requested review from Amejia481 and MozillaNoah and removed request for grigoryk February 8, 2022 23:48
@gabrielluong gabrielluong added the 🕵️‍♀️ needs review PRs that need to be reviewed label Feb 8, 2022
Copy link
Contributor

@Amejia481 Amejia481 left a comment

Choose a reason for hiding this comment

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

@gabrielluong gabrielluong added 🛬 needs landing PRs that are ready to land and removed 🕵️‍♀️ needs review PRs that need to be reviewed labels Feb 9, 2022
@mergify mergify bot merged commit b39556f into mozilla-mobile:main Feb 9, 2022
@gabrielluong gabrielluong deleted the 11654 branch February 9, 2022 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛬 needs landing PRs that are ready to land
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change fetchProvidedTopSites into TopSitesProviderConfig
2 participants