OpenCDSS / cdss-app-tstool-main

Colorado's Decision Support Systems (CDSS) TSTool application main program
GNU General Public License v3.0
1 stars 1 forks source link

Main UI - refresh command status indicators for long-running workflows #213

Open smalers opened 2 years ago

smalers commented 2 years ago

Subject of the issue

TSTool is being used to run automated test suites that may have hundreds or thousands of tests. Currently the status indicators in the main UI update at the end of the run and may also update if the window is resized. For long-running workflows, it is desirable to periodically update the status indicators so that the user can decide whether to stop the run, or simply to indicate progress. For example, if it is known that a test at position 100 was previously causing a problem, it would be nice to visually see whether that test is now passing, or requires further attention. Sometimes there are interactions between tests that do not manifest themselves when tests are run individually, and only occur when a test suite is run.

The UI status bar at the bottom is updated to indicate progress. Logic could be added to detect long-running workflows and then refresh status indicators in the UI, such as after a period of time or a certain number of commands. This may be a simple enhancement, but sometimes coordinating UI updates can be an issue coordinating process threads.

Environment