Skip to content

Improve UX of "CLI Not Installed"  #187

@jbyrum-stripe

Description

@jbyrum-stripe

When the CLI is not installed:

  • Events pane items should be in disabled state -- user should not, for example, be able to click on the "Start webhooks listening" item in the "Events" pane and launch the functionality (only to later find out it doesn't work)
  • Logs pane item should be in a disabled state
  • Relevant items in the command palette should be discoverable (i.e., don't remove them), but disabled
  • Explore a more prominent placement for the "Install CLI dialog" than the bottom right hand corner. Is it possible to make the dialog more prominent?
  • "Read instructions on how to install Stripe CLI" should deep link to: https://stripe.com/docs/stripe-cli#install
  • Ensure tracking of when a user tries to interact with a disabled item (not sure what flexibility we have here). We should, for example, to be able pull the # of times a disabled item was clicked / hovered over.

Bonus points:

  • On hover of a disabled item, show an onhover menu with a description of the functionality. For example, if the user hovered over "Start webhooks listening", show the message: "Install the CLI to enable the forwarding of webhook events to your local machine". The purpose of this functionality is to entice users to actually install the CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions