Project

General

Profile

Edit Copy Actions

Support #10416

open

Loading animation for document data extraction in pca phase 1 and auto papulate data from the pdf

Added by Ramu Kodali about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/17/2026
Due date:
08/17/2026 (32 days late)
% Done:

100%

Estimated time:
8:00 h
Spent time:

Add

Subtasks


Add

Related issues

Updated by Ramu Kodali about 1 month ago

  • % Done changed from 0 to 100

Today I added a proper loading state for the places where the app reads data out of an uploaded PDF. Those parses run on the server and take anywhere from a few seconds to about 45 seconds for a multi-page OCR, and until now the screen gave almost no feedback, which made a working extraction look like a frozen form. I built a reusable ExtractionLoader component using the "searching" Lottie animation, shown as a full-screen overlay with the animation, a title, and a line naming the fields being pulled out, and wired it into all three document-reading points: the PVWatts report upload and the "Refresh from Documents" re-parse in PCA Phase 1, and the solar design upload in Site Assessment — the last of these being the slowest, and handled inside the shared extraction function so every upload path in that stage gets it from one place. The animation JSON is about 100KB, so it is code-split and fetched only the first time an extraction actually runs, then reused for the rest of the session rather than being shipped in the main bundle — a production build confirms it lands as its own 4.5KB (gzipped) chunk. Verified with type-checking, linting and a full production build.

Actions #2

Updated by Ramu Kodali about 1 month ago

  • Status changed from New to Resolved
Edit Copy Actions

Also available in: Atom PDF