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

Improve run, debug and preview buttons behavior with new intelligent command #4279

Closed
slemeur opened this issue Mar 1, 2017 · 2 comments
Closed

Comments

@slemeur
Copy link
Contributor

slemeur commented Mar 1, 2017

User stories

  • As a user, I'm able to default the command which will be executed when pressing the "run", "debug" or "preview" button
  • As a user, I can change the default command associated with one of the "run, "debug" or "preview" button

Mockups

screen shot 2017-03-01 at 16 59 48

@TylerJewell
Copy link

  1. If you have a button without a triangle on it, then it should not show a drop down. It should either be grayed out, or it should just run the selected command.
  2. If you have a button with a triangle on it, then it should always drop down with a single click.

You can then have long-click behaviors for each of these displays.

@slemeur
Copy link
Contributor Author

slemeur commented Mar 1, 2017

Discussed and decided to keep the current behaviour as defined in initial specification #3519

Run and Debug buttons

https://cloud.githubusercontent.com/assets/1636769/22267856/9ab0b360-e285-11e6-9fdc-9c59415c4f19.png

By default, we display buttons for “Run” and “Debug”. The buttons when clicked, it displays the whole commands list of the goal and when a command is hovered, it allows to select the target where to execute the command.

Nice to have:
User must have the ability to define default command for a goal.
I’d like the user being able to configure a button per goal in the toolbar if he wants it. This should be in the Preferences, but by default, we would display “Run” and “Build” buttons in the toolbar.
We would have two actions on these buttons:

single-click: it executes the default command of the goal
long-click: it will display the whole commands list of the goal in a dropdown as we have today.

@slemeur slemeur closed this as completed Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants