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:
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.