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

Notif templates #59

Merged
merged 5 commits into from
May 15, 2024
Merged

Notif templates #59

merged 5 commits into from
May 15, 2024

Conversation

0x2142
Copy link
Owner

@0x2142 0x2142 commented May 15, 2024

Previously, notifications were manually built by appending strings, then manual modifications within some notification providers to account for their needs. This PR switches to using go templates & includes 3 default templates: markdown, plaintext, and HTML. Re-worked notifications to use the new template system.

This will hopefully make notifications more uniform & starts the work needed to implement #44

@0x2142 0x2142 added the enhancement New feature or request label May 15, 2024
@0x2142 0x2142 added this to the v0.2.8 milestone May 15, 2024
@0x2142 0x2142 self-assigned this May 15, 2024
@0x2142 0x2142 mentioned this pull request May 15, 2024
@0x2142 0x2142 merged commit fc982dc into main May 15, 2024
2 checks passed
@0x2142 0x2142 deleted the notif-templates branch May 15, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant