This adds a basic onboarding UI, which replaces the current "process". It only allows to connect an existing XMPP account for now. It will check that the connection works (and show the error if it doesn't), then save the space, join a couple of default channels, and finally redirect to the chat UI.
Unfortunately, you currently have to reload (CTRL-R) the app after everything is set up and the channel UI is shown, as the channel joins after the connect seem to fail. It looks to me like this is connected to sockethub/sockethub#494 somehow.
The new code also contains some TODOs for the upcoming space-to-account refactor, which is not directly related to this PR.
This adds a basic onboarding UI, which replaces the current "process". It only allows to connect an existing XMPP account for now. It will check that the connection works (and show the error if it doesn't), then save the space, join a couple of default channels, and finally redirect to the chat UI.
Unfortunately, you currently have to reload (CTRL-R) the app after everything is set up and the channel UI is shown, as the channel joins after the connect seem to fail. It looks to me like this is connected to sockethub/sockethub#494 somehow.
The new code also contains some TODOs for the upcoming space-to-account refactor, which is not directly related to this PR.