nyaruka / rapidpro

RapidPro is a cloud based SaaS allowing organizations to visually build scalable interactive messaging applications.
Other
36 stars 24 forks source link

Add new boolean fields to `TemplateTranslation` model to determine whether it's usable #5385

Closed rowanseymour closed 1 month ago

rowanseymour commented 1 month ago

It's always felt weird using status = 'X' to model a template translation having unsupported components because that's not a mutually exclusive state with the statuses that come from WhatsApp.

Also whether a template is unsupported components, or has incompatible variables.. these are things we want to display differently to the approval status - probably like error messages.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (072c242) to head (d2a0f95). Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5385 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 497 498 +1 Lines 25103 25325 +222 ========================================== + Hits 25103 25325 +222 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.