]
George Gastaldi updated FORGE-2335:
-----------------------------------
Priority: Optional (was: Major)
Enhancements on the Shell progress monitor
------------------------------------------
Key: FORGE-2335
URL:
https://issues.jboss.org/browse/FORGE-2335
Project: Forge
Issue Type: Enhancement
Components: UI - Shell
Affects Versions: 2.16.1.Final
Reporter: George Gastaldi
Priority: Optional
Labels: starter
Fix For: 2.x Future
The current output when using the UIProgressMonitor in shell is:
{code}
***INFO*** Executing Rules: :Analyze Java(4%) Time until next Rule: 2 minutes, 7 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(8%) Time until next Rule: 1 minutes, 34 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(12%) Time until next Rule: 1 minutes, 7 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(16%) Time until next Rule: 1 minutes, 3 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(20%) Time until next Rule: 55 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(24%) Time until next Rule: 53 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(29%) Time until next Rule: 53 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(33%) Time until next Rule: 49 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(37%) Time until next Rule: 46 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(41%) Time until next Rule: 44 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(45%) Time until next Rule: 40 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(49%) Time until next Rule: 38 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(54%) Time until next Rule: 37 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(58%) Time until next Rule: 33 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(62%) Time until next Rule: 29 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(66%) Time until next Rule: 25 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(70%) Time until next Rule: 22 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(74%) Time until next Rule: 18 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(79%) Time until next Rule: 15 seconds
[24/1229] ...
***INFO*** Executing Rules: :Analyze Java(83%) Time until next Rule: 12 seconds
[24/1229] ...
{code}
This doesn't look so good in the UI. The following could be done:
- add the loading spinner on each progress update
- write the progress in a single line
The loading spinner could appear by default on long-running tasks in the shell