An experimental add-on to email a list of all your tabs
Перейти к файлу
Peter deHaan 44638eae24
Fixing eslint warnings/errors
2018-11-06 15:45:27 -08:00
.circleci add circleci config 2018-07-13 15:09:23 -04:00
addon Fixing eslint warnings/errors 2018-11-06 15:45:27 -08:00
docs Add a FAQ 2018-11-06 15:31:46 -06:00
.babelrc Initial work 2018-04-10 18:00:18 -05:00
.eslintignore Initial work 2018-04-10 18:00:18 -05:00
.eslintrc.js Fixing eslint warnings/errors 2018-11-06 15:45:27 -08:00
.gitignore Fix #62, add package-lock.json 2018-07-12 14:17:35 -05:00
.stylelintrc Style improvements, checkbox usage improvements, use a popup, fix lint issues 2018-04-11 14:44:37 -05:00
LICENSE Initial commit 2018-04-10 16:11:24 -05:00
README.md Add a FAQ 2018-11-06 15:31:46 -06:00
index.html Update index.html 2018-11-05 08:59:47 -08:00
package-lock.json clean up email templates (#144) 2018-09-26 12:20:04 -05:00
package.json Fixing eslint warnings/errors 2018-11-06 15:45:27 -08:00

README.md

Email Tabs

This is an experimental extension for Firefox that composes a Gmail email with information from a bunch of tabs in it.

Note that only Gmail is supported, because there's no general standard for composing HTML emails.

There is a user-focused Frequently Asked Questions as well.

Installing

Install add-on with this link

That will install the latest version of the add-on built from the production branch.

Using the add-on

Once you've installed the add-on you'll see an icon in your toolbar: icon

If you click on the icon you'll be able to select one or more of your open tabs. After you've selected tabs, an email composition tab will open up and we'll put in links to each of the pages, along with the page title, and a screenshot. If you have selected some text then that text selection will also be included.

Developing

To install and test out:

git clone https://github.com/mozilla/email-tabs.git
cd email-tabs
npm install
npm start

You must login to gmail.com before sending an email.

If you are developing, note that the .jsx file will not trigger a reload on its own. To enable this reloading, in a separate terminal window run:

npm run watch

If you want to view the template in browser (easier for style tweaks):

npm run preview-templates

Code layout

The popup UI is in addon/popup.jsx.

The email templates are in addon/emailTemplates.jsx.

The content script addon/capture-data.js is loaded into any tabs being sent, and captures the screenshot and some metadata.

The content script addon/set-html-mail.js is loaded into the Gmail compose window, and effectively pastes in the HTML.

Overall things are managed with the addon/background.js script.

Contact & Contribution

You can email us at team-email-tabs@mozilla.com.

IRC is the best way to communicate, via #testpilot on irc.mozilla.org (you can use this link for chat access via the web if you do not otherwise use IRC). You might want to ping ianbicking or JSON_voorhees.

We label some of our bugs with good first issue.