coder / coder

Provision remote development environments via Terraform
https://coder.com
GNU Affero General Public License v3.0
9.59k stars 859 forks source link

feat: add Mark All as Read feature for inbox notifications #16975

Closed kylecarbs closed 3 weeks ago

kylecarbs commented 1 month ago

Summary

Details

This PR adds:

  1. A new SQL query to mark all unread notifications as read for a user
  2. A new REST API endpoint at /api/v2/notifications/inbox/mark-all-read
  3. A new SDK method MarkAllInboxNotificationsRead
  4. A comprehensive test to verify the functionality

Fixes #15264

Test plan

🤖 Generated with Claude Code

github-actions[bot] commented 1 month ago


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


Claude Anthropic seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.