Skip to content

feat: add analytics export system with CSV and JSON support#11

Closed
puneetnith28 wants to merge 1 commit intobrowseping:mainfrom
puneetnith28:feature/export-analytics
Closed

feat: add analytics export system with CSV and JSON support#11
puneetnith28 wants to merge 1 commit intobrowseping:mainfrom
puneetnith28:feature/export-analytics

Conversation

@puneetnith28
Copy link
Copy Markdown
Contributor

Feature: Export Analytics System

Summary

This PR introduces a complete analytics export system for the BrowsePing extension, enabling users to download their browsing analytics in CSV and JSON formats directly from the UI.


Key Features

  • CSV and JSON export support
  • Section-wise exports:
    • Tab Usage
    • Hourly Presence
    • Leaderboard
  • Centralized Data Management page under More Settings
  • One-click Export All for cumulative analytics
  • Smart file naming with timestamps
  • Toast notifications and loading states
  • Fully client-side, privacy-first implementation

Privacy & Security

  • All data is processed locally in the browser
  • No analytics data is sent or stored externally
  • Users have full control over when and what to export

Screenshots

image image image

Closes #4

@puneetnith28
Copy link
Copy Markdown
Contributor Author

Hello @akash-kumar-dev
Please review this PR and let me know if any changes are required.
Thanks !!

@akash-kumar-dev
Copy link
Copy Markdown
Member

Hi @puneetnith28 , great work! Could you open a new PR with a new branch, incorporating these changes:

  • Keep the export button only in the Tab Usage and Hourly Presence sections of the analytics window. Do not add it to the Leaderboard tab.
  • Remove Data Management from the More Settings page; there's no need to add this feature there.
  • Only keep the export option in the Tab Usage and Hourly Presence tabs.

@puneetnith28
Copy link
Copy Markdown
Contributor Author

Hi @puneetnith28 , great work! Could you open a new PR with a new branch, incorporating these changes:

  • Keep the export button only in the Tab Usage and Hourly Presence sections of the analytics window. Do not add it to the Leaderboard tab.
  • Remove Data Management from the More Settings page; there's no need to add this feature there.
  • Only keep the export option in the Tab Usage and Hourly Presence tabs.

Hello @akash-kumar-dev
Thanks for the review and feedback!
I’ve opened a new PR with a refined scope as suggested and will close this one to keep things clean.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Export Analytics System

2 participants