Giter Site home page Giter Site logo

jreinhold / google-inbox-to-trello Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 10.65 MB

Extension that enables you to quickly create a new Trello card from a mail or thread in Google Inbox

License: MIT License

JavaScript 7.73% TypeScript 88.00% HTML 4.27%

google-inbox-to-trello's Introduction

Inbox to Trello Extension

Extension that enables you to quickly create a new Trello card from a reminder, mail or thread in Google Inbox.

Demo GIF

Purpose

The purpose of this Chrome and Firefox extension is to make it easy to create Trello cards from e-mails and reminders. The Trello Card will contain a link back to the original mail, with the subject as the title.

The extension is inspired by this Medium article by Tiago Forte, that thoroughly explains why it's important to easily be able to move your e-mails to a todo list, and just as important why it should always contain a link back to the original mail.

Installation

Chrome Web Store

The extension is available on the official Chrome Web Store here. Just press the Add to Chrome button, reload your Google Inbox tab and you are ready to go.

Firefox Add-ons

The extension is available on the official Firefox Add-ons site here. Just press the Add to Firefox button, reload your Google Inbox tab and you are ready to go.

Usage

Once installed, the extension puts a small Trello button on the right side of the e-mails and reminders, next to the regular Done, Pin, Delete, etc. buttons. Pressing the button will trigger a pop-up, where you specify which Trello board and list to create the card on. Optionally you can edit the title and description of the card. Press "Send to..." and have a great day.

Options

On chrome://extensions and about:addons (Firefox) it is possible to define a few options:

  • Default board ID - The default board to add the card to. Get the board ID by visiting the board ind Trello and copying the string just after https://trello.com/b/
  • Default list ID - The default list to add the card to. Get the list ID by visiting https://trello.com/b/<BOARD-ID>/reports.json. Search for the list name, and copy the id just after that.

Roadmap

I have received a few suggenstions for improvements that would be cool to make. The roadmap is subject to change by the minute, and any suggestions are welcome.

  • First working MVP to validate the idea
  • Port WebExtension to support:
    • Chrome
    • Firefox
    • Safari
    • Edge
    • More?
  • "Quick button" that instantly creates card in predefined board+list
  • Auto-archive mails on card creation
  • Support links back to Inbox, not just Gmail
  • Add mail attachments and images to Trello Card
  • Advanced configuration of cards with Labels, Members, etc.

Contributing

Ideas and feedback are ALWAYS welcome, just submit an issue. Pull Requests are also very welcome.

The extension is developed using TypeScript and Webpack, formatted with Prettier, linted with TSLint and developed with love ❤️.

The file structure follows a classic WebExtension structure, a quick Google search should explain it. Have a look in manifest.json to get an overview.

Development

  1. Have Node.js and optionally Yarn installed
  2. Clone this repo
  3. Run yarn install or npm install

Chrome

  1. Run yarn dev or npm run dev, which builds to a build folder in the project root and watches for changes.
  2. Go to chrome://extensions, Click Load unpacked extension... and point it to the previously created build folder.
  3. Submit awesome PRs.

Firefox

  1. Run yarn dev:firefox or npm run dev:firefox, which builds to a build folder in the project root, watches for changes and loads the extension in a new Firefox window.
  2. Submit awesome PRs.

google-inbox-to-trello's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

google-inbox-to-trello's Issues

Remove mentions of Gmail

  • README.md - Explicitly point out that it doesn't work with Gmail, and point to Gmello
  • manifest.json
  • Google Chrome Webstore

write README.md

Should contain

  • Brief intro
  • Installation instructions, from web store and source
  • Roadmap
  • Contributing

Done button not working

Hello.
I'm trying google-inbox-to-trello as a chrome extension. When I finished creating a trello card the dialog shows a green button 'Done' but it isn't working.

And some information is here,

  • Chromium 64.0.3282.167 Built on Ubuntu, running on Ubuntu 16.04
  • Google Inbox to Trello 1.0.1

Thanks in advance.

Don't use InboxSDK as a dependency

For this to be a real WebExtension that supports other browsers than Chrome, It needs to not depend on InboxSDK, as that only support Chrome.

Here are some inspiration on how to attach the button to the site:
https://github.com/toggl/toggl-button/blob/master/src/scripts/common.js#L107
https://github.com/toggl/toggl-button/blob/master/src/scripts/content/google-inbox.js#L5
https://github.com/toggl/toggl-button/blob/master/src/scripts/content/google-mail.js#L5
https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver

Can't get it to work....

No matter what I enter in the ID-fields, clicking "save" does not do anything. I tried the short ID for the board as shown in the URL, as well as the long ID in the JSON. I looked up the ListID in the JSON and added that, still...

Integrate with Trello

  • Get App API key
  • Authenticate with Trello - from settings or on button press?
  • Add card to first list of some hardcoded board
  • Add link to mail as attachment on card
  • Add mail subject as card title

Not working with Google Reminders

I'm just wondering but is it normal that google-inbox-to-trello not working with Google Reminders?
The thing is that google-inbox-to-trello works with emails by clicking the button that pops up a dialog.
But when I click the same button next to a reminder, not an email, it doesn't do anything.
I seriously use reminders thus I'm finding out for some workaround to accomplish it(Google Reminders to trello).
Any comments would be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.