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

fix: use multiple analytics card messages #1067

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brian-smith-tcril
Copy link

The previous use of adminPortal.analyticsCardTextwas fully dynamic, and resulted in "Messages must be statically evaluate-able for extraction." errors when running make extract_translations. This splits the message up into separately translatable messages, and updates the logic for displaying them accordingly.

For all changes

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

The previous use of `adminPortal.analyticsCardText`was fully dynamic, and resulted in "Messages must be statically evaluate-able for extraction." errors when running `make extract_translations`. This splits the message up into separately translatable messages, and updates the logic for displaying them accordingly.
@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8b12828) 83.60% compared to head (6890f54) 83.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1067      +/-   ##
==========================================
+ Coverage   83.60%   83.62%   +0.01%     
==========================================
  Files         443      443              
  Lines        9444     9445       +1     
  Branches     1968     1969       +1     
==========================================
+ Hits         7896     7898       +2     
  Misses       1505     1505              
+ Partials       43       42       -1     
Files Coverage Δ
src/components/Admin/AIAnalyticsSummary.jsx 73.07% <100.00%> (+5.07%) ⬆️

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant