Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement rust notifications for creation, title and description change of major objects #2539

Merged
merged 12 commits into from
Jan 31, 2025

Conversation

gnunicorn
Copy link
Contributor

✅ comes with tests.

Implements the basic starter notifications of "creation" and change of title and description for the main types Pin, CalendarEvent & TaskList. Tests are mostly copy-paste but ensure that all these work fine and according to spec modeled in #2517 .

This is a first set, split out into a separate PR to make reviewing easier. Further types will be added on top. Also contains a few tests for redaction, attachments and references that are disabled for now as these are not yet implemented.

@gnunicorn gnunicorn added rust f-push-notifications Problem with the push notifications feature labels Jan 30, 2025
Copy link
Contributor

Hey there 👋,
and thanks for the contribution. But it seems like you forgot to

  • 📰 Add a markdown file in .changes/ explaining what changed

Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 79.67914% with 38 lines in your changes missing coverage. Please review.

Project coverage is 31.17%. Comparing base (d766ad4) to head (334a733).
Report is 42 commits behind head on main.

Files with missing lines Patch % Lines
native/acter/src/api/push/notification_item.rs 79.67% 38 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2539      +/-   ##
==========================================
+ Coverage   30.61%   31.17%   +0.55%     
==========================================
  Files         714      714              
  Lines       47017    47202     +185     
==========================================
+ Hits        14393    14713     +320     
+ Misses      32624    32489     -135     
Flag Coverage Δ
integration-test 41.48% <79.67%> (+1.27%) ⬆️
unittest 22.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@gtalha07 gtalha07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@gnunicorn gnunicorn merged commit e16c5b3 into main Jan 31, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f-push-notifications Problem with the push notifications feature rust
Projects
Status: Recently Done
Development

Successfully merging this pull request may close these issues.

2 participants