mlem icon indicating copy to clipboard operation
mlem copied to clipboard

2.0: Rebuild basic app structure

Open EricBAndrews opened this issue 1 year ago • 1 comments

Depends on API and middleware code to log in/onboard

  • Add onboarding/login flow
  • Add infrastructure to determine current account
  • Add infrastructure for guest mode

EricBAndrews avatar Feb 18 '24 02:02 EricBAndrews

When a user first opens the app, I think they should be prompted to choose an instance to visit as a guest, rather than to create an account immediately.

When in guest mode, the profile tab could be renamed to "Instance" and show the InstanceView for the active instance. At the top of the page, we could have big full-width "Create Account" and "Switch Instance" buttons.

We might be able to look into in-app account creation for 2.0, too. It could be a little tricky, however, since I believe account creation still works via websocket rather than the REST API.

I think the Inbox tab should stay in Guest mode. We might be able to use it to notify you when your account has been approved, if creating the account required an application.

Sjmarf avatar Feb 19 '24 14:02 Sjmarf