zesty-io / accounts-ui

Zesty.io account management application
https://accounts.zesty.io
112 stars 14 forks source link

Domains ui #128

Closed hecsanchez closed 4 years ago

hecsanchez commented 4 years ago

This UI replaces the previous text field to update the instance domain, to allow users to manage the domains their instance is mapped to.

Three main things:

domains-ui

shrunyan commented 4 years ago

Looks great. Couple of notes.

shrunyan commented 4 years ago

Couple more notes.

shrunyan commented 4 years ago

Also realizing we need to account for the new instance "launch" flow which directs the user to this view. https://accounts.zesty.io/instances/8-f48cf3a682-7fthvk/launch

I'm thinking we should have a conditional which renders the "launch" view when there are no domains or if visiting the /launch url.

The "launch" view should just have a user enter a domain and we pre-select "live". As a brand new user is not going to have any context of "branches". No need to put the choice on them until they're either adding a secondary domain or altering the domain record to match their needs after gaining understanding of the options.

hecsanchez commented 4 years ago

@shrunyan latest updates are in the branch now, they include:

shrunyan commented 4 years ago
hecsanchez commented 4 years ago

@shrunyan I undid some of the changes before your last comments and added the following:

shrunyan commented 4 years ago
hecsanchez commented 4 years ago

@shrunyan pushed the following updates:

shrunyan commented 4 years ago

Can you change the phrasing on the domain card to:

You must be this instances owner or admin to manage domains