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

💥 Drop legacy formio translation converter #4828

Merged
merged 5 commits into from
Nov 18, 2024

Conversation

sergei-maertens
Copy link
Member

@sergei-maertens sergei-maertens commented Nov 15, 2024

Related to #3283

Per the deprecation warning we drop support for exports containing the legacy translation store. This also gave the opportunity to clean up some known technical debt for the search strategies, and now that they're stable, they are also documented as available testing tool.

Checklist

Check off the items that are completed or not relevant.

  • Impact on features

    • Checked copying a form
    • Checked import/export of a form (breaks legacy imports, but that's deliberate)
    • Config checks in the configuration overview admin page
    • Problem detection in the admin email digest is handled
  • Release management

    • I have labelled the PR as "needs-backport" accordingly
  • I have updated the translations assets (you do NOT need to provide translations)

    • Ran ./bin/makemessages_js.sh
    • Ran ./bin/compilemessages_js.sh
  • Commit hygiene

    • Commit messages refer to the relevant Github issue
    • Commit messages explain the "why" of change, not the how

@sergei-maertens sergei-maertens mentioned this pull request Oct 28, 2024
23 tasks
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.57%. Comparing base (5042ea1) to head (595c8ba).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4828      +/-   ##
==========================================
- Coverage   96.57%   96.57%   -0.01%     
==========================================
  Files         748      747       -1     
  Lines       25448    25400      -48     
  Branches     3369     3355      -14     
==========================================
- Hits        24576    24529      -47     
  Misses        608      608              
+ Partials      264      263       -1     

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

@sergei-maertens sergei-maertens changed the title Drop legacy formio translation converter 💥 Drop legacy formio translation converter Nov 16, 2024
@sergei-maertens sergei-maertens force-pushed the cleanup/3283-remove-fd-translation-converter branch from 08f1a17 to 051fb2f Compare November 16, 2024 12:30
docs/developers/npm.rst Outdated Show resolved Hide resolved
Per the deprecation warning we drop support for exports containing
the legacy translation store.
The previous commit removed a source of hypothesis flakiness, but these
strategies can be very useful to simulate weird/unexpected components
that may crash the application or migrations, so It Was Time to fix
the recursion issues. Turns out that defining a deferred strategy
was all that was needed to prevent the recursion in hypothesis.

Additionally, some type checker workarounds could be removed from
existing tests 🎉
The tested behaviours are covered by automated end-to-end tests, and I
doubt anyone was actually still reading these docs.
Was looking for the backend testing documentation and came across
more documentation that is outdated, so might just fix it along the
way.
@sergei-maertens sergei-maertens force-pushed the cleanup/3283-remove-fd-translation-converter branch from 051fb2f to 595c8ba Compare November 18, 2024 11:51
@sergei-maertens sergei-maertens merged commit 4b73a1d into master Nov 18, 2024
33 checks passed
@sergei-maertens sergei-maertens deleted the cleanup/3283-remove-fd-translation-converter branch November 18, 2024 13:15
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.

2 participants