yacut/tester

Hide status bar if project has zero tests

dcalhoun opened this issue · 4 comments

A potential enhancement would be to hide the tester status bar if the project does not contain any tests. Would you be open to this addition?

Empty Project w/ Status Bar

empty-project-w-status-bar

Empty Project w/o Status Bar

empty-project-wo-status-bar

Not sure I agree... It might be nice if it could be grayed out or muted. But hiding controls can get pretty frustrating, especially for new users.

@bronson toggling visibility is the how steelbrain/linter-ui-default behaves. That is why I anticipated tester to behave this way. In my mind, the package UI has little benefit if a project has zero tests.

yacut commented

@bronson I don't think than is good Idea to trigger search for tests just to show or hide the status bar pane.
What if you open empty project and add the new test? Should the tester trigger search for tests again?

The linter-ui-default status bar is visible, if the current pane is an text editor and the linter package enabled.
Additionally, the tester can start project tests and show results without any active editor.

Valid points. Thanks for the feedback.