mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
Progress bar (#377)
* looking for unnecessary watches * on init data initialization * prog pipe * install progress everywhere * titlecase status * include updateing state in app show for install progress Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com> Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
This commit is contained in:
committed by
Aiden McClelland
parent
09fa589ae5
commit
11da141b73
@@ -485,12 +485,11 @@ export class MockApiService extends ApiService {
|
||||
]
|
||||
for (let phase of phases) {
|
||||
let i = initialProgress[phase.progress]
|
||||
console.log('PHASE', phase)
|
||||
console.log('Initial i', i)
|
||||
while (i < initialProgress.size) {
|
||||
console.log(i)
|
||||
await pauseFor(1000)
|
||||
i = Math.min(i + 40, initialProgress.size)
|
||||
i = Math.min(i + 5, initialProgress.size)
|
||||
initialProgress[phase.progress] = i
|
||||
if (i === initialProgress.size) {
|
||||
initialProgress[phase.completion] = true
|
||||
|
||||
Reference in New Issue
Block a user