hookdeck-cli icon indicating copy to clipboard operation
hookdeck-cli copied to clipboard

UX issues around local configuration & projects management

Open alexluong opened this issue 1 year ago • 5 comments

Hi there, I've been tinkering with some DX around local config and discovered some undesirable behaviors. I made a few videos here to showcase these issues in hope we can discuss and improve the CLI.

The first video is on some issues with projects and confusing messages when there's a local configuration. There's also an issue during the logout flow as well: https://share.cleanshot.com/CW0f4lQQ

The second video focuses on project switching behavior: https://share.cleanshot.com/DYKVjc5P

Let me know what you think and happy to discuss or clarify things further.

alexluong avatar Jul 16 '24 11:07 alexluong

To me it sounds like there shouldn't be inheritance from the local config to the global config. It's either one or the other?

alexbouchardd avatar Aug 12 '24 21:08 alexbouchardd

Hmm how do you decide which we should use? So if there exists a local config, we'll disregard the global config altogether?

alexluong avatar Aug 12 '24 21:08 alexluong

Yes it's a precedence model. If you want to specify then you'd use --config

alexbouchardd avatar Aug 12 '24 22:08 alexbouchardd

Got it! cc @leggetter so you're on the same page. Let me know if you'd like me to move forward and implement this change. Doesn't seem like a huge change, should probably be an hour or two, I think.

alexluong avatar Aug 12 '24 22:08 alexluong

Got it! cc @leggetter so you're on the same page. Let me know if you'd like me to move forward and implement this change. Doesn't seem like a huge change, should probably be an hour or two, I think.

@alexluong go for it 👍🏻

leggetter avatar Aug 12 '24 22:08 leggetter