The UI elements to the TODOist Integration with Recipes

Control Center…

Before starting the project, there was a question as how to deal with TODOist account showing ¬†up in control center and serving no purpose when Recipes and gnome-TODO aren’t installed, both of them being non-core apps.

So, what we did is hide Provider i.e. TODOist from the control center from the providers list and only show it if account is already configured. This hiding is done using a property in gnome-online-accounts that control center respects so as to display todoist or not. But how would that account get added if the provider isn’t visible in the control-center. Solution for this is letting the app itself, be it Recipes or gnome-todo add an account for TODOist. We use an AddAccount method written by Rohit Kaushik (GSoCer with gnome-todo).

 

Recipes…

This is about the user interface to share the ingredients list to TODOist. A dialog with primary things in it : providers list that have integration with Recipes to add new accounts (it’s is just TODOist at the moment) and the accounts (already once configured) to send ingredients. And this is how it looks like