Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinator profile UX #161

Open
fadeev opened this issue Jan 7, 2023 · 0 comments
Open

Coordinator profile UX #161

fadeev opened this issue Jan 7, 2023 · 0 comments

Comments

@fadeev
Copy link

fadeev commented Jan 7, 2023

I'm working on "Add page under coordinator guide for coordinator profile management" in #158 and I think we should consider improving UX of coordinator profile commands.

Current UX

Currently, the process of setting and displaying coordinator profile info looks like this:

Show coordinator address:

ignite account show default --address-prefix spn

Setting info:

ignite network coordinator set details "Coordinator details"

ignite network coordinator set website "example.org"

Showing info:

ignite n coordinator show spn1lp6hvdzsfquk0rmpfhshrwc79x5sfjkzf45nz7

This is confusing, because:

  • You have to use account show with a flag
  • coordinator show is not consistent with other commands, because it requires you to provide the address (notice that most network commands use the account you have selected without requiring the --from flag)
  • You have to set each property individually

Proposal

coordinator show command shows info for the currently selected account. If provided with an address, show info for that address, instead. Show accept an account name instead of address.

ignite n coordinator show # shows currently selected account

ignite n coordinator show alice

ignite n coordinator show spn1lp6hvdzsfquk0rmpfhshrwc79x5sfjkzf45nz7

set accepts keys as flags, so you can set multiple in one command.

ignite network coordinator set --details "Coordinator details" --website "example.org"

account show behaves exactly the same as coordinator show. If no arguments, show the current account. If an address or account name, show that instead. The Ignite chain prefix should be set as default, not the cosmos one.

ignite account show # shows currently selected account

ignite account show alice

ignite account show spn1lp6hvdzsfquk0rmpfhshrwc79x5sfjkzf45nz7

The same applies to ignite network validator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Discuss
Development

No branches or pull requests

2 participants