Skip to content

feat: add air quality data export, reports, and shareable links - #1101

Open
karan-chaos wants to merge 3 commits into
Aditya8369:mainfrom
karan-chaos:feature/exposure-timeline-tracker
Open

feat: add air quality data export, reports, and shareable links#1101
karan-chaos wants to merge 3 commits into
Aditya8369:mainfrom
karan-chaos:feature/exposure-timeline-tracker

Conversation

@karan-chaos

Copy link
Copy Markdown

Summary

#1100

This PR adds air quality data export and sharing functionality with CSV/JSON
downloads, health-guidance reports, time-range filtering, trend previews,
and shareable links.

Changes

Data Export

Added support for:

  • CSV downloads
  • JSON downloads
  • City name and timestamp in export filenames

Text Reports

Added formatted air quality reports with:

  • Health guidance
  • Report preview modal
  • Copy-to-clipboard support
  • .txt downloads

Time-Range Filtering

Added filters for:

  • Last 6 hours
  • Last 12 hours
  • Last 24 hours
  • All available data

Data Preview

Added:

  • Scrollable data preview table
  • Filtered historical records
  • Inline trend chart

Sharing

Added:

  • Shareable link generation
  • One-click link copying

Verification

  • CSV export verified
  • JSON export verified
  • Filename formatting verified
  • Report generation verified
  • Health guidance verified
  • Report modal verified
  • Clipboard copy verified
  • .txt download verified
  • 6-hour filter verified
  • 12-hour filter verified
  • 24-hour filter verified
  • All-data filter verified
  • Data preview verified
  • Trend chart verified
  • Shareable link generation verified
  • Share link copy verified

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

@karan-chaos is attempting to deploy a commit to the Aditya Mahajan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thank You for Your Contribution! 🎉

Hi @karan-chaos,

Thank you for opening this Pull Request and contributing to our project. We truly appreciate your efforts.

Please make sure that:

  • Your code follows the project's guidelines.
  • You have linked the appropriate issue (if applicable).
  • Screenshots are added for UI/UX changes.
  • Your PR is ready for review.

The maintainer @Aditya8369 will review your PR shortly!

Happy Contributing! 🚀

@github-actions github-actions Bot added the ECSoC26 Contributions considered under ECSoC'26 label Aug 28, 2026
karan-chaos and others added 3 commits August 29, 2026 14:50
Add a comprehensive data export module that lets users download AQI trend
data as CSV or JSON, preview and copy formatted text reports with health
guidance, generate shareable city links, and filter data by time range
with an interactive preview table and trend chart.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Add a multi-city AQI comparison module with ranked leaderboards,
pollutant-level breakdown tables with WHO-limit exceedance flags,
health-risk categorisation groups, bar chart visualisation, CSV export,
and a formatted text report with clipboard copy.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Add a cumulative pollution exposure tracker that records AQI readings
on each refresh cycle, computes daily/weekly summaries, calculates a
rolling 7-day health score with animated ring, classifies exposure risk
levels, generates personalised recommendations, and supports CSV export
with clipboard copy and history reset.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@karan-chaos
karan-chaos force-pushed the feature/exposure-timeline-tracker branch from 3e48f52 to 2185f4c Compare August 29, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ECSoC26 Contributions considered under ECSoC'26 merge-conflicts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants