An add-on to let you snooze your tabs for a while.
-
npm install
-
To develop:
npm start
- This task does 3 things:
- Builds the extension
- Starts a file watcher to rebuild on changes
- Runs tests on file changes
- You can load the Web Extension into Firefox like so:
- Type
about:debugging
into the URL bar - read more about this page on MDN. - Click the "Load Temporary Add-on" button
- Navigate to your Snooze Tabs project directory and select
dist/manifest.json
- Type
- This task does 3 things:
-
To run once:
npm run build && npm run run
-
To build for release:
npm run build
-
To lint:
npm run lint
-
To work with a production-style release, set the env var
NODE_ENV=production
. This will turn on production optimizations, while turning off logging & various development conveniences. For example:- Continuous file watcher builds:
NODE_ENV=production npm start
- Single one-shot build:
NODE_ENV=production npm run build
- Continuous file watcher builds:
-
Spec?
- At this link.
-
Assets?
- Coming soon.
-
Should we write this as a WebExtension?
- YES!
-
Add a “Developer Mode” with much shorter times, or an extra 3-second timer?
-
We’ll need something to convert Pontoon-format l10n files into WebExtension l10n files…
Many of our icons came from the Noun Project:
- Snooze Tabs logo: "Bell" by Aysgl Avcu, from the Noun Project. (Modified)
- Later Today: "Stopwatch" By Marvin Wilhelm, from the Noun Project.
- Tomorrow: "Future" By Arthur Shlain, from the Noun Project.
- Weekend: "Sunglasses" By NAS, from the Noun Project.
- Next Month: "Calendar" By artworkbean, from the Noun Project. (Modified)
- Pick a Date: "Calendar" By artworkbean, from the Noun Project.