Comments (7)
I still see the problem at the Weekly digest emails on prod and staging.
from go-api.
Could not reproduce locally. It means that some kind of env variable issue exists.
Locally the notification is generated nicely:
from go-api.
These '|quote' transformations are new features in https://github.com/IFRCGo/go-api/blob/terraform/deploy/helm/ifrcgo-helm/templates/config/configmap.yaml#L18-L19 â they may cause new "effects" in notification templates as well.
Do you have any quess how could we use them appropriately in e.g. https://github.com/IFRCGo/go-api/blob/terraform/notifications/templates/design/head1.html#L417 (record.resource_uri) without quotation marks? @batpad @geohacker
from go-api.
Root cause: settings.FRONTEND_URL contains empty string.
If I fix it, result is ok:
(Probably another entity is also running, where the manual change could not be seen; that other notification remained bad.)
Obsolate:
https://stackoverflow.com/questions/36954472/removing-quotes-in-a-django-template could help. But maybe it's easier to strip the variable in the moment of giving it to the renderer, in https://github.com/IFRCGo/go-api/blob/develop/api/management/commands/index_and_notify.py#L160 and similar in that script.
from go-api.
With giving FRONTEND_URL issue is solved.
from go-api.
Somehow the icon is still missing on all Weekly digest emails:
from go-api.
Let me check it...
from go-api.
Related Issues (20)
- Fetch LLM response based on prompt and cache responses
- Add flag to force user's access to guest
- Add updatedBy and updatedAt details
- Add support for dynamic translation in the summary model and excerpts model
- Create an Excel export for the generated summary, including excerpts and prioritized excerpts used to generate it in all four IFRC official languages
- Pretty url for the Monty api HOT 1
- Pretty url for Storybook HOT 3
- [PROD] Donor Responses HOT 2
- Fetch the latest data for Country pages
- Create updated infrastructure diagram + documentation
- Migrate CircleCI tests to Github Actions HOT 1
- Migrate Tests to GitHub Actions and Ensure CI/CD Integration HOT 1
- [PROD] Do not skip countryless positions from Molnix HOT 3
- Show field reports based on visibility status for users (Guest, Public, IFRC members)
- Trigger key sights for every selected filter
- Track the total number of filtered excerpts for each summary generation
- Implement Field Report title composition
- Implement Emergency title composition
- API typing issues
- Grouped/nonGrouped CSV output by default HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-api.