A refreshed "new tab page" for Firefox
Перейти к файлу
Adam Hillier d24ebe2968 feat(sections): Add section ordering, and custom sections to the pref pane (#3216)
Move TopStories config out of TopStoriesFeed and PreferencesPane and
into SectionsManager.jsm. Underlying work for #3194.
2017-08-24 13:18:37 -04:00
.storybook fix(hints): Closes #1873 Remove 'whats this' helper 2017-01-25 14:28:56 -08:00
addon Query experiment definitions from experimenter fixes #2100 2017-07-19 14:14:31 -04:00
artifacts/latest chore(addon): #1587: add a channel for pre-release 2016-10-19 15:31:29 -04:00
bin fix(testing): make prepare-mochitest-build work even if no patches 2017-08-04 10:43:35 -07:00
common fix(addon): Fix issue with the age of bookmarks being shown. Closes #2748. 2017-06-30 14:57:19 -07:00
content-src chore(lint): Turn on jsx-no-bind for system-addon and clean up existing code (#2928) 2017-07-21 10:29:52 -07:00
content-test chore(lint): Turn on jsx-no-bind for system-addon and clean up existing code (#2928) 2017-07-21 10:29:52 -07:00
data chore: Cleanup ESLint global definitions - remove unnecessary ones now eslint-plugin-mozilla is used. 2017-05-17 17:24:16 +01:00
dist bare addon skeleton 2016-02-01 09:05:16 -05:00
docs feat(sections): Add section ordering, and custom sections to the pref pane (#3216) 2017-08-24 13:18:37 -04:00
loaders chore(tests): #1082 Add shims 2016-08-26 14:01:58 -06:00
locales Revert "chore(l10n): Add about:home's document title to l10n (#3156)" 2017-08-23 15:03:02 -07:00
shims feat(content): Add pocket trending stories for test-pilot add-on 2017-04-20 16:10:23 -04:00
system-addon feat(sections): Add section ordering, and custom sections to the pref pane (#3216) 2017-08-24 13:18:37 -04:00
test Query experiment definitions from experimenter fixes #2100 2017-07-19 14:14:31 -04:00
.babelrc Added dependencies, webpack.config, yamscripts 2016-02-01 14:57:40 -05:00
.eslintignore feat(mc): Port localization code using react-intl and reusing strings (#2555) 2017-05-08 10:36:23 -07:00
.eslintrc.js chore(lint): Turn on jsx-no-bind for system-addon and clean up existing code (#2928) 2017-07-21 10:29:52 -07:00
.gitignore fix (systemaddon): #3111 use screenshots instead of icons for default sites 2017-08-16 08:14:40 -04:00
.jpmignore fix(addon): Update jpmignore 2017-03-16 09:56:01 -04:00
.mention-bot Add users/bots to .mention-bot blacklist 2016-09-23 16:12:53 -07:00
.sass-lint.yml chore(lint): Remove no-vendor-prefix rule for sasslint 2016-10-13 16:40:09 -04:00
.travis.yml chore(mc): Disable/remove test pilot test-related tasks 2017-08-10 16:56:32 -04:00
CHANGELOG.md 1.14.2 changelog 2017-07-19 15:14:16 -04:00
LICENSE Add LICENSE file. 2016-02-02 12:13:14 -05:00
README.md Update Pontoon notice on README 2017-08-01 23:11:58 -07:00
benchmark-prefs.json feat(benchmark): #1236 add baseline benchmarks 2016-09-30 15:29:05 -04:00
config.default.yml feat(metadata): Closes #1940 Deprecate Embedly 2017-01-19 15:23:38 -08:00
config.production.yml feat(metadata): Closes #1940 Deprecate Embedly 2017-01-19 15:23:38 -08:00
contributing.md docs(activity-stream): add contributing.md (#1357) 2016-09-21 14:33:06 -04:00
dev-prefs.json feat (addon): #2666 graduate metadataNoService experiment 2017-06-05 16:45:38 -04:00
experiments.json Merge pull request #2676 from rlr/gh2667/remove-local-refresh-experiment 2017-06-06 09:51:12 -04:00
fabfile.py chore(addon): Set up build channel for shield study 2017-05-03 10:13:30 -04:00
karma.conf.js chore(webpack): Upgrade webpack to 2.0 2017-02-27 11:24:31 -05:00
karma.mc.config.js feat(mc) #2837 Add snippets feed and gSnippetsMap 2017-07-18 11:38:36 -04:00
package-lock.json chore(mc): Upgrade sinon and fix deprecated .stub calls 2017-08-10 16:52:47 -04:00
package.json fix (systemaddon): #3111 use screenshots instead of icons for default sites 2017-08-16 08:14:40 -04:00
pocket-example.json feat(content): #2536 Logo should link to Pocket, +Feedback form 2017-05-09 11:47:51 -04:00
requirements.txt chore(deploy): #219 s3 deployment scripts for addon 2016-02-29 17:24:18 -05:00
test-prefs.json Query experiment definitions from experimenter fixes #2100 2017-07-19 14:14:31 -04:00
webpack.addon.config.js chore(webpack): Upgrade webpack to 2.0 2017-02-27 11:24:31 -05:00
webpack.common.js chore(testing): #2126 add script to run tests after each merge (#2198) 2017-03-05 20:58:41 -08:00
webpack.config.js chore(webpack): Upgrade webpack to 2.0 2017-02-27 11:24:31 -05:00
webpack.system-addon.config.js vendor(mc): Use minified vendor react-intl@2.2.3 for system-addon (#2574) 2017-05-09 15:51:35 -07:00
yamscripts.yml fix (systemaddon): #3111 use screenshots instead of icons for default sites 2017-08-16 08:14:40 -04:00

README.md

Activity Stream Add-on

Coverage Status

This is the source code for the Activity Stream project, which replaces the "New Tab" of Firefox with a new design based on rich metadata and browsing behavior.

Installing

To install the release version of the add-on, check out Test Pilot.

If you would like to see changes more regularly, you can install the dev build, which is updated on every commit.

For Localizers

Activity Stream localization is managed via Pontoon, not direct pull requests to the repository. If you want to fix a typo, add a new language, or simply know more about localization, please get in touch with the existing localization team for your language, or Mozillas l10n-drivers for guidance.

For Developers

TLDR; I just want to run it

  1. Make sure you have Firefox Beta, node 5.0+ and at npm 3.0+ installed.
  2. npm install
  3. npm run once

Requirements

  • You must have at Firefox (45.0+) installed
  • node 5.0+, npm 3.0+ (You can install both here)

Installation

  • install from pre-builts

  • install from source

    git clone https://github.com/mozilla/activity-stream.git
    cd activity-stream
    npm install
    npm run package
    

Configuration

Default configuration is in config.default.yml. Create a file called config.yml to override any default configuration.

Running tasks

You may run npm run help to see a description of all commands available, which you can run via npm run [command]. Here are some important ones:

Running the add-on

If you just want to build assets and run the add-on to test it, you may simply run:

npm run once

Developing the add-on

If you want to watch assets and compile them continuously, you will want to run

npm run start

in one terminal session, and

npm run firefox

to start the add-on. This way, when you make changes to the content-src folder, they will be reflected immediately without needing to restart the add-on.

Running Tests

Run npm test to run the tests once. Run npm run help for more options.

Running benchmarks

Run npm run benchmark to run the benchmarks once. See more details for benchmarking the add-on here.

Exporting to mozilla-central

To export the bootstrapped add-on to a mozilla-central directory that shares the same parent as this current directory, run this command:

npm run buildmc

This will first clear out any existing files from mozilla-central/browser/extensions/activity-stream before copying over the newly built files and optionally patching mozilla-central/browser/extensions/moz.build to get the add-on built with Firefox. These changes to mozilla-central are uncommitted and ready for building/testing/committing.

Note: You can create a symlink to the mozilla-central repository, e.g.,

ln -s ~/other-located-or-named-mozilla-central ../mozilla-central