-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Description
This task involves running the data collection script to generate the primary JSON files for the entire organization. We need to capture two specific datasets:
- Sprint-Based: Data from the current sprint period.
- Lifetime: Historical data since the repository/org's inception.
These files will serve as the "Org-Wide" data source for the Home Page. As outlined in our deployment roadmap, these should eventually be stored in the public/data/ directory so the hosted dashboard can fetch them reliably using the BASE_URL.
Steps to Reproduce
1.Execute Script: Run the data collection script (created from issue #131) with the parameters set to the Organization level.
2. Verify Sprint Data: Ensure the resulting sprint_data.json contains accurate volume and time-based metrics for the current sprint.
3. Verify Lifetime Data: Ensure lifetime_data.json captures the full history of the organization.
4. File Placement: Move the generated JSON files into the public/data/ folder of the frontend project.
5. Local Test: Run npm run dev and verify the Home Page charts correctly render this new data.
Expected Behavior
- Two JSON files are generated without errors.
- The data structure matches the requirements of the VolumeChart and TimeBasedChart components.
- Data reflects the "Bird's eye view" of the organization as intended for the Home Page.