-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Feature: Process output in a separate area at the mainwindow #252
Comments
This shall be relatively easy once I'll finish changing process mgmt into signal-based one. Actually it should be doable already, as all(I hope so ;)) stdout/stderr data is passed with finished(or processFinished) signal, but it will be better separated soon. The only issue is, that at times there is error output of command and there is no error(like 'pass git push', without remote set), that's an upstream bug, that I have to report, but without output in "main area" it hard to tell if command succeded. Still, nice requirement :). |
I guess it could be a bit difficult, because you want the |
yup, that's the bug I was talking about ;) |
Alright. If there is no problem with |
I love these user stories . . really useful imo! Note that stderr is also used for non-error messages that should not end in normal output buffers. |
@annejan yeah. and the big andvantage is, that you can use them for BDD and for unit testing. |
The process output should be displayed in a separated area. We need a setting, where the user can select, if the process output should be displayed or shouldnt. There should be a clear button to reset the process output area. It should be scrollable and should auto scroll to the last input, except the user scrolled a litte bit upwards, the autoscrolling is disabled. New outputs are appended at the bottom. It should be a red colored output, when the process has a non-zero exitvalue or has written something onto the stderr (black otherwise).
Notice:
when the user enables process output to be displayed.
then the area will be displayed
when the user disables process output to be displayed.
then the area will not be displayed
given the user enables process output to be displayed.
when the output area contains more then it could show at once.
then the area displays a scrollbar
given the user enables process output to be displayed.
given the output area contains less then it could show at once.
when the user clicks on the clear output button.
then the area will be cleared out.
given the user enables process output to be displayed.
given the output area contains more then it could show at once.
when the user clicks on the clear output button.
then the area will be cleared out and the scrollbar disapears.
given the output area contains more then it could show at once.
when the user clicks on the clear output button.
then the area will be cleared out and the scrollbar disapears.
given the user enables process output to be displayed.
when the show password process returns.
then the output should be displayed in the area for the passwords and not in the separate area.
given the user disables process output to be displayed.
when the show password process returns.
then the output should be displayed in the area for the passwords and not in the separate area.
given the user enables process output to be displayed.
when any other process, e.g. git commit, pass insert, git cp, git pull returns.
then a consecutive number, the executed command with parameter and the output should be displayed in a separate area at the mainwindow at the bottom at itself.
given the user disables process output to be displayed.
when any other process, e.g. git commit, pass insert, git cp, git pull returns.
then a consecutive number, the executed command with parameter and the output should not be displayed anywhere.
given the user enables process output to be displayed.
when any other process, e.g. git commit, pass insert, git cp, git pull returns with an zero exitvalue.
then the output text should be black.
given the user enables process output to be displayed.
when any other process, e.g. git commit, pass insert, git cp, git pull returns with an non-zero exitvalue or has written something onto the stderr.
then the output text should be red.
The text was updated successfully, but these errors were encountered: