Allow adapters to define their own configuration flow
-
Make the Adapter provide a Gtk.Box
(or maybe aGtk.Window
?) that does all of the things necessary for configuring the server. -
Provide an API for storing data persistently. -
Include an API for storing passwords. -
Add a way to store normal text.
-
-
When "Add New Provider" is clicked, generate a random GUID that will be used as the ID for the server. Then, just store the Adapter configs alongside the ID in the ~/.config/sublime-music/config.yaml
file. -
Provide an API for easily generating a config form (similar to the API currently planned)
A UX similar to the following should be able to be created:
Edited by Sumner Evans