Skip to content

feat: Add swipe to delete notifications#1113

Merged
SB2318 merged 2 commits into
SB2318:mainfrom
SarthakKharche:feature/notification-swipe-delete
Jun 6, 2026
Merged

feat: Add swipe to delete notifications#1113
SB2318 merged 2 commits into
SB2318:mainfrom
SarthakKharche:feature/notification-swipe-delete

Conversation

@SarthakKharche
Copy link
Copy Markdown
Contributor

PR Description

Adds swipe-to-delete interaction to notification list items. Users can swipe a notification from right to left to reveal a red delete action; tapping it removes the item immediately from the list. An undo snackbar appears post-deletion, allowing users to restore the notification within a short timeout. List state updates optimistically, and only one swipe row can remain open at a time.

Type of Change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update

Select your work-area

  • Frontend
  • Backend
  • Documentation
  • Others

Related Issue

Closes #1066

Add your Work Example

📷 Add a Snapshot

Fixes (mention the issue number which this fixes)

closes #1066

Checklist

  • I have updated my branch and synced it with the project's 'develop' branch before making this PR.
  • I have optimized the file changes.
  • I have added a snapshot of my work example.
  • I have made a PR to the project's develop branch.

Undertaking

  • My code follows the style guidelines of this project.

  • I have performed a self-review of my code.

  • I have commented my code, particularly in hard-to-understand areas.

  • I have made corresponding changes to the documentation.

  • I have checked for plagiarism and assure its authenticity.

  • I have read and followed the code of conduct for this repository. I understand that violation of this undertaking may have legal consequences.

  • I Agree

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Thank you @, for creating the PR and contributing to our UltimateHealth project 💗.
Our team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@SarthakKharche SarthakKharche changed the title feat: Add swipe to delete notifications Add swipe to delete notifications Jun 5, 2026
@SarthakKharche SarthakKharche changed the title Add swipe to delete notifications feat: Add swipe to delete notifications Jun 5, 2026
@SB2318 SB2318 merged commit 69523f2 into SB2318:main Jun 6, 2026
27 of 33 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2026

Congratulations, Your pull request has been successfully merged 🥳🎉 Thank you for your contribution to the project 🚀 Keep Contributing!! ✨

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.

Feat: Add Swipe-to-Delete Action for Notifications

2 participants