Plus for Trello - Chrome extension and Android app
Add from the Chrome store and Android Play
Master branch at https://github.com/zmandel/Plus-for-Trello
Webapp code is the same as the mobile app
The code here may not be the latest one. To view the latest code, see: Chrome extension: Use Chrome extension source code viewer
Mobile app: https://app.plusfortrello.com
Coding best practices We plan to eventually move to typescript. Keep in mind that:
This was my first nontrivial javascript chrome extension (2012) and I was just learning javascript then.
As a point to learn javascript, sometimes I did not use libraries or advanced time-saving features. Or maybe Chrome didnt support them at the time, since a Chrome extension is not a regular webapp.
That has changed over time as I became more familiar with more advanced javascript thus you will find a mix.
Chrome extensions as content scripts are special, sometimes you must overuse things like css "!important" because of existing trello styles or future-proofing against Trello changes.
Trello, over time, has changed quite a lot their page. Because they release changes to users over time we must support various trello DOM layouts while Trello does the transition. Thus something as simple as finding certain Trello DOM element might seem convoluted in the code.
The Plus "trello sync" algorithm is quite complex. It evolved as we added more features and also as Trello finalized their API. Initially we didnt use the Trello API (did not exist) and we extracted some details from the interface. Some of those remain and are used for certain scenarios (for example the user has turned off sync)
Priority is given to features with the biggest kick in the shortest time, as we are a very small team.
Enjoy!