• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

semperai / amica-personas / 18257746439

05 Oct 2025 10:52AM UTC coverage: 19.102% (-0.08%) from 19.184%
18257746439

push

github

web-flow
Merge pull request #25 from kasumi-1/amica-loading-progress

Add immersive loading screen with progress tracking and animations

896 of 1158 branches covered (77.37%)

Branch coverage included in aggregate %.

18 of 288 new or added lines in 8 files covered. (6.25%)

11 existing lines in 6 files now uncovered.

4606 of 27646 relevant lines covered (16.66%)

59.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.11
/amica/src/utils/fileLoadingProgress.ts
1
export function updateFileProgress(file: string, progress: number) {
1✔
2
  if (typeof window !== "undefined") {
20✔
3
    if(! (<any>window).chatvrm_loading_progress) {
20✔
4
      (<any>window).chatvrm_loading_progress = {};
10✔
5
      (<any>window).chatvrm_loading_progress_cnt = 0;
10✔
6
    }
10✔
7
  }
20✔
8

9
  if (progress === 100) {
20✔
10
    delete (<any>window).chatvrm_loading_progress[file];
2✔
11
  } else {
20✔
12
    (<any>window).chatvrm_loading_progress[file] = progress;
18✔
13
  }
18✔
14

15
  (<any>window).chatvrm_loading_progress_cnt++;
20✔
16
}
20✔
17

18
export function setLoadingStage(stage: string, progress: number = 0) {
1✔
19
  if (typeof window !== "undefined") {
10✔
20
    if(! (<any>window).chatvrm_loading_stage) {
10✔
21
      (<any>window).chatvrm_loading_stage = { stage: '', progress: 0 };
1✔
22
      (<any>window).chatvrm_loading_stage_cnt = 0;
1✔
23
    }
1✔
24
    (<any>window).chatvrm_loading_stage = { stage, progress };
10✔
25
    (<any>window).chatvrm_loading_stage_cnt++;
10✔
26
  }
10✔
27
}
10✔
28

29
export function completeLoading() {
1✔
NEW
30
  if (typeof window !== "undefined") {
×
NEW
31
    (<any>window).chatvrm_loading_stage = null;
×
NEW
32
    (<any>window).chatvrm_loading_stage_cnt++;
×
NEW
33
  }
×
NEW
34
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc