Skip to content

feat: add notification settings and custom thresholds - #689

Open
Suprita736 wants to merge 1 commit into
Aditya8369:mainfrom
Suprita736:feat/push-notification-settings
Open

feat: add notification settings and custom thresholds#689
Suprita736 wants to merge 1 commit into
Aditya8369:mainfrom
Suprita736:feat/push-notification-settings

Conversation

@Suprita736

Copy link
Copy Markdown
Contributor

Description

Implemented customizable push notification settings for AQI and individual pollutants, along with quiet hours support.


Related Issue

Closes #335


Type of Change

  • Bug Fix
  • New Feature
  • Documentation
  • UI/UX Improvement
  • Refactoring
  • Performance Improvement
  • Accessibility

Changes Made

  • Added a Notification Settings panel accessible through the settings/gear button.
  • Added customizable AQI alert thresholds.
  • Added configurable thresholds for individual pollutants including PM2.5, PM10, NO₂, Ozone, and CO.
  • Added Quiet Hours settings to suppress notifications during configured periods.
  • Added localStorage persistence for notification preferences.
  • Improved the Notification Settings UI for Light Mode, Dark Mode, and High Contrast Mode.
  • Improved spacing, alignment, controls, and visual styling while preserving existing notification functionality.

Testing

  • Tested locally
  • No console errors
  • Existing functionality works as expected
  • Light Mode verified
  • Dark Mode verified
  • High Contrast Mode verified
  • Responsive layout verified
  • Notification settings persistence verified

Screenshots

Screenshot 2026-08-12 195403 Screenshot 2026-08-12 195221

Checklist

  • My code follows the project guidelines.
  • I have tested my changes.
  • I have updated the documentation if required.
  • My changes address the related issue.
  • This PR focuses on a single issue.

Additional Notes

The implementation is limited to Issue #335. Existing notification behavior and unrelated application functionality have been preserved.

@Suprita736
Suprita736 requested a review from Aditya8369 as a code owner August 12, 2026 14:28
@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

@Suprita736 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 @Suprita736,

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 12, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Push Notification Scheduling & Custom Thresholds

1 participant