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

[#2170] Fix profile-notifications for mail-templates #1073

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

jiromaykin
Copy link
Contributor

@jiromaykin jiromaykin commented Mar 4, 2024

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.99%. Comparing base (1eb0750) to head (ad28220).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1073   +/-   ##
========================================
  Coverage    94.99%   94.99%           
========================================
  Files          892      892           
  Lines        31375    31375           
========================================
  Hits         29805    29805           
  Misses        1570     1570           

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

@alextreme
Copy link
Member

@jiromaykin moet je deze niet ook aan case_status_notification_action_required toevoegen?

@jiromaykin
Copy link
Contributor Author

jiromaykin commented Mar 4, 2024

@jiromaykin moet je deze niet ook aan case_status_notification_action_required toevoegen?

Sure, maar die actie-required notificaties kunnen niet uitgezet worden... dus in dat template is de situatie wellicht wat onwaarschijnlijk dat er een bericht in komt dat mensen die notificatie uit kunnen zetten.
@alextreme Willen we deze property eigenlijk aan álle mailtemplates toevoegen? Ook als die niet gebruikt wordt?

@jiromaykin jiromaykin force-pushed the fix/2170-profile-notifications-mailtemplates branch from 4d2a71f to 7a430fc Compare March 5, 2024 16:51
@jiromaykin jiromaykin requested a review from Bartvaderkin March 5, 2024 16:57
@jiromaykin jiromaykin marked this pull request as ready for review March 5, 2024 16:57
@alextreme
Copy link
Member

Mag met @Bartvaderkin worden afgestemd wat nuttig/nodig is

@Bartvaderkin
Copy link
Contributor

Bartvaderkin commented Mar 7, 2024

De waarde voor profile_notifications zit al in de algemene mail context van eerder en kan dus in elke template gebruikt worden.

@jiromaykin
Copy link
Contributor Author

De waarde voor profile_notifications zit al in de algemene mail context van eerder en kan dus in elke template gebruikt worden.

Ja, maar ze moeten dan wel voor elke individueel HTML mail-template nog worden toegevoegd aan maileditor.py - @Bartvaderkin zou het een idee zijn om een manier te zoeken om die "body variables" al aan elk template mee te geven, zonder ze individueel te moeten toevoegen?
Want nu zal ik ze handmatig eerst in maileditor.py moeten toevoegen en daarna nog (uiteraard) in de HTML mail-templates, wanneer er nieuwe bij komen.

@alextreme alextreme merged commit 631d49d into develop Mar 11, 2024
15 checks passed
@alextreme alextreme deleted the fix/2170-profile-notifications-mailtemplates branch March 11, 2024 09:03
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.

4 participants