


Make the gnome-todo and gnome-recipes show a "Set up Todoist" button if the todoist provider is present (using ListProviders), and call AddAccount when clicked. The ListProvider and AddAccount calls will go over dbus and be the 'goa portal', basically Apps don't link against libgoabackend, just libgoaĪdd a ListProvider api to libgoa that lists all providers, including hidden ones like todoistĪdd an AddAccount api to libgoa to set up an account for a provider.Add a 'hidden' or 'only-show-with-account' property to the provider api in gnome-online-accounts, and use that to hide the todoist provider initially.
Todoist api code#
Keep todoist provider on the gnome-online-accounts side (together with all the other providers), since we don't want to inject code from a sandboxed app into a session service (as we'd have to do if the provider lived with the apps).Present: Matthias, Georges, Ekta, Rohit, Debarshi Per-app access control for account information in goa.If we hide an account, the privacy panel could learn to purge it like temp files and history data.Later on (not part of the todoist work, need to be discussed with designers) but this is a separate decision for gnome-todo and gnome-recipes - the UI does not have to be the same. We just need to make it work in a sandbox. Initially, we can do the same that gnome-calendar currently does, and bring up the goa panel for account setup UI.Or we could ask the user what to do (annoying.).We could hide it and quietly remove it after some time (say, 2 weeks).Do we just hide the provider, or do we remove the account ?.

