Feature #1653

Mis à jour par Serge Heiden il y a plus de 9 ans

Currently, Replace the ticks '.' per text progress bar strategy used in the console to provide feedback for text processing in import modules steps have some limitations: when there are many texts to process, there are too many ticks to efficiently follow actual work progression.

h3. Solution

Provide
TXM 0.7.7 by a mixed new strategy:
* A) if n texts <= 100 -> display one tick per text processed
* B) otherwise -> display one tick per percent of texts processed (and display that it is percentage)


Example:

*A) tick per text processed*

<pre>
10 ticks
.........|
50 ticks
.........|.........|.........|.........|.........|
</pre>

*B) tick per percent of texts processed*

<pre>
150 ticks
%.........|.........|.........|.........|.........|.........|.........|.........|.........|.........|

155 ticks
%.........|.........|.........|.........|.........|.........|.........|.........|.........|.........|

15000 ticks
%.........|.........|.........|.........|.........|.........|.........|.........|.........|.........|

150000 ticks
%.........|.........|.........|.........|.........|.........|.........|.........|.........|.........|
</pre>

Retour