GithubHelp home page GithubHelp logo

danlec / trello-bookmarklet Goto Github PK

View Code? Open in Web Editor NEW
199.0 13.0 61.0 1.37 MB

A bookmarklet that creates Trello cards from info on other webpages (e.g. FogBugz and github issues)

JavaScript 100.00%

trello-bookmarklet's Introduction

javascript:(function(a){window.trelloAppKey="optional";window.trelloIdList="optional";var b=a.createElement("script");b.src="https://raw.github.com/danlec/Trello-Bookmarklet/master/trello_bookmarklet.js";a.getElementsByTagName("head")[0].appendChild(b)})(document);

This is a bookmarklet you can use to create a card in Trello from ...

  • FogBugz cases
  • JIRA issues
  • GitHub issues and commits
  • The selected text from an arbitrary URL
  • ... more? I'm happy to take pull requests that add support for other websites!

The first time you run it on a site, it will walk you through a simple setup:

  1. Input your API Key (which you can get at https://trello.com/1/appKey/generate)
  2. Authorize the site to interact with Trello
  3. Select the list that you'd like the bookmarklet to add cards too

You'll only need to go through those steps once per domain; from then on, you should be able to send your issues/cases/whatever directly to Trello in a single click.

The card created in Trello will

  • attempt to use the name of the FogBugz/JIRA/GitHub/etc case
  • include a link to the case in the card description
  • (optionally) include any selected text in the description

If you modify the unminified bookmarklet, you can re-build it by running the source through a javascript minifier (e.g. the Closure Compiler), and prepending javascript: to the front.

If you'd rather not add your appKey and idList for every new domain, you can modify the bookmarklet and include values for window.trelloAppKey and window.trelloIdList (currently both have the value "optional")

Note: This basic concept originated with https://github.com/markdrago/cardorizer; this approach doesn't require you to run a server

trello-bookmarklet's People

Contributors

danlec avatar imicky avatar jcherniak avatar sinelaw avatar sodoku avatar ubuntudroid avatar wosc avatar zeroasterisk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trello-bookmarklet's Issues

Easier Filter and Selection of List

I would love to have an easier way to choose the list for the bookmarklet to insert an item into. Right now if you have many of lists and boards there are too many on the screen to show, and the list doesn't scroll. So, I propose allowing the list to scroll or having a search box to find the right list.

After Trello Revoke I'm not able to use it again

Hi,
I tested the bookmarklet on a dummy board and it worked fine. Since it was dummy board, I wanted to be able choosing a new board and a list again. In my Trello account I have revoked this application. Since then, the bookmarklet does not work any more. Clicking it does not performs anything. How can I reset it to work again?
Also, since I have many lists (and also few boards), I would like to be able choosing each time a list and board.

Doron

GitHub issue broken?

It looks as though the GitHub Issue feature is broken, at least for some that I've seen lately; looks like the page templates have changed.

I have a fix that works for me at jantman/userscripts@a336679#diff-73bd547090c7663e2f68bb82ad747579

The project might also be of interest to you. It makes heavy use of the card naming logic from Trello-Bookmarklet, but wraps it instead in a GreaseMonkey script that displays a context menu allowing you to select any list on any board.

It doesn't work with selected text from an arbitrary URL

I tried the bookmarlet with gmail and other in Chrome 17.0 but it doesn't work. I select some text and next I do click in the bookmarklet. Then It ask me for the appkey and the autorization, but it doesn't create the card.

Blocked due to MIME type mismatch in FF

raw.githubusercontent.com adds content-type text/plain, which breaks the functionality at least for FF. The Bookmark should include the script from cdn.rawgit.com instead. FAQ

Host JavaScript on GitHub Pages

In Chrome 41 the script no longer executes, as raw.github.com marks it as a non-executable text MIME type (https://plus.google.com/+MikeWest/posts/28f8HS2M7cb). The script can instead be hosted on GitHub Pages.

The new bookmarklet would look something like: b.src="https://.github.io/js/trello_bookmarklet.js"

I forked the repo, copied the script to a GH pages site, and verified it works in a current version of chrome , but did not create a PR as the link would not reference the original author's repo.

issues generating cardorizer

Have installed Cardorizer on webhost, and have authorized Cardorizer. But clicking on Make Cardorizer button (after filling in Board ID) does not do anything. All permissions should be set correctly, I'm using Chrome 17.0 on Windows 7

URL is http://googlemamas.com/trello/
Board ID: 4f550c20468dc9fb6a021fb1

Thanks for the help!

creation of a skill for leon personal assistant

hi, I know of a modular personal assistant project where you can add "skills" (plugins) and I was inquiring about making a skill so that Leon could interact with a trello when I came across your github, I am not very strong in programming and I saw that on your readme of your gtihub you were interested in developing your project for new sites or interfaces so if you have time and that the desire takes you know that your contriution to leon will appreciate
(github of leon project https://github.com/leon-ai/ )

allow posting to any of your boards? or must you predefine it ahead of time?

Very, very cool. Thanks for this. I am going to follow this project, and begin looking for a way to improve/contribute.

Forgive me for asking a question that might have been answered, or that I am missing somehow, but ....... does clicking the link for this bookmarklet (in browser bookmark bar) allow the user to post to any of their Trello boards? or must the user predefine only one board ahead of time?

I ask as when user clicks icon for the first time, it asks for key, which works well, and accepts key, and then asks user to choose which "board" to post to.

Our users would like to be prompted for which board to post to, upon each different click of the icon. This way they can be working in the wiki, working in JIRA, working on the intranet, working on some public site, working on some second public site, working inside the CRM, working inside of "websvn", and keep clicking the link and being prompted for which board to post to.

Thanks so much.

Keep up the great work.

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.