-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
New toolbar for execution of commands and access to preview #3519
Comments
We have goals. They need to be used for simplifying the user experience.
|
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
Updated specification |
@vparfonov + @azatsarynnyy : I have updated the requirements. Base on the discussion we had with @azatsarynnyy this morning, we will move forward without implementing the "dropdown menu" when clicking on the controller. This gives you the ability to continue your work without being block on this part of the component. Thanks |
See the toolbar integrated in the IDE in the following mockup:
There are multiple states which needs to be handled:
No action/commands in progress
Command is started
General view
Details
Click on the command
Clicking on the command, will show the console output associated for the command in Console panel.
Hover on command
We display the whole command in the hover and adapt the width properly so it displays nicely with word-wrappind
Preview
When the user clicks on "Preview" it displays a small dropdown with all the previews for all currently running commands (started by the user, not the ones from the agents).
They are ordered by the last one added into the list.
Example:
User will see:
When the user clicks on a previewURL, the URL is opened on a separated browser's tab.
If the command that is providing a previewURL is stopped, then the previewURL gets removed from the list displayed in the dropdown.
Note: Later user should be able to pin a preview url, to default the one opened with a single click on "Preview".
User can click on it to open the preview in another browser’s tab.
Command Finished
The button allows to relaunch the command.
Expanded activity monitor (Phase 2)
Commands displayed in the list:
The commands displayed are sync with the commands displayed in the Console panel
There is no icon showing that a command is running.
Multiple commands can be running at the same time.
If user selects a command in the list, it displays it in the header and show the corresponding command outputs in the Console Panel.
Run and Debug buttons
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:
Linked to: #2681
The text was updated successfully, but these errors were encountered: