Skip to content

feat: add export session report functionality#894

Open
shr3yagupta wants to merge 2 commits into
Somil450:mainfrom
shr3yagupta:feature/export-session-report
Open

feat: add export session report functionality#894
shr3yagupta wants to merge 2 commits into
Somil450:mainfrom
shr3yagupta:feature/export-session-report

Conversation

@shr3yagupta

Copy link
Copy Markdown
Contributor

📌 Related Issue

Fixes #23


📝 Description

Implemented the initial Export Session Report functionality in SummaryScreen.

🔹 What has been changed?

  • Added Export Data button to SummaryScreen
  • Added JSON serialization of workout session statistics
  • Added Blob-based download functionality
  • Added timestamp-based filename generation
  • Added object URL cleanup after download

🔹 Why are these changes needed?

This allows users to save their workout session analytics locally for future reference, progress tracking, and external analysis.


🛠️ Type of Change

  • ✨ New Feature

🧪 Testing

✅ Tests Performed

  • Build runs successfully

🌐 Browsers Tested

  • Chrome

💬 Additional Notes

This is an initial implementation of session export functionality. Additional validation and testing across different workout session states may be beneficial.

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

@shr3yagupta is attempting to deploy a commit to the somiljain2024-4175's projects Team on Vercel.

A member of the Team first needs to authorize it.

@diksha78dev diksha78dev added gssoc-26 Marks GSSoC issues frontend Frontend tasks level:advanced Complex contribution requiring strong technical knowledge and architectural understanding. gssoc:approved Officially reviewed and approved GSSoC contribution ready for scoring type:feature Adds a new feature or functionality to the project. type:performance mentor:diksha78dev labels Jun 23, 2026

@diksha78dev diksha78dev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shr3yagupta The logic looks solid. As a final polish, could you add a try-catch block around the download trigger to ensure that if the browser blocks the download or an error occurs during Blob generation, the user is notified via an alert or console error?
Also make the ci pipeline checks green

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Frontend tasks gssoc:approved Officially reviewed and approved GSSoC contribution ready for scoring gssoc-26 Marks GSSoC issues level:advanced Complex contribution requiring strong technical knowledge and architectural understanding. mentor:diksha78dev type:feature Adds a new feature or functionality to the project. type:performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add "Download Session Report" Functionality

2 participants