Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

feat(topsites): Use different default sites depending on geo #3022

Merged
merged 1 commit into from
Aug 1, 2017

Conversation

Mardak
Copy link
Member

@Mardak Mardak commented Jul 30, 2017

Fixes #2776. r?@k88hudson

Uses the getValue of #3021 and updates TopSitesFeed to watch pref changes instead of just grabbing once on init.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.407% when pulling 3193b5a on Mardak:gh2776-sites into 8c7a4d9 on mozilla:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.407% when pulling b3d859f on Mardak:gh2776-sites into 8c7a4d9 on mozilla:master.

@@ -17,15 +16,18 @@ XPCOMUtils.defineLazyModuleGetter(this, "Screenshots",

const TOP_SITES_SHOWMORE_LENGTH = 12;
const UPDATE_TIME = 15 * 60 * 1000; // 15 minutes
const DEFAULT_SITES_PREF = "default.sites";
Copy link
Member Author

Choose a reason for hiding this comment

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

k88: Doesn't a . usually denote a branch?
Maybe? I suppose we could have different defaults under that "branch" but one tricky aspect of changing this right now is that all the default test prefs need to be renamed in various files.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.407% when pulling a7f32c5 on Mardak:gh2776-sites into f52f501 on mozilla:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.407% when pulling 3e33a49 on Mardak:gh2776-sites into 2445903 on mozilla:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.407% when pulling 22f2f78 on Mardak:gh2776-sites into a7367a1 on mozilla:master.

@Mardak Mardak merged commit 221b62e into mozilla:master Aug 1, 2017
@Mardak Mardak deleted the gh2776-sites branch August 1, 2017 05:35
@as-pine-proxy
Copy link
Collaborator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants