Release 3.12.1#4250
Merged
Merged
Conversation
Backport 3.12.0(2)
…architecture Replace the bespoke TAPE survey backend and frontend with a generic, DB-backed survey model, modeled on the Market Directory Partner pattern: - Add survey + survey_country reference tables (nullable country_id = global default); rename tape_survey to survey_response with a survey_id FK; repurpose permissions to add/get:survey_response and get:survey. - One survey controller/route: available surveys (country-gated), plus create and get-latest response. Drop the broken PATCH route and its orphaned hasFarmAccess getter. - Generic survey container, RTK Query slice, draft slice keyed by survey id, and param-based routes (/insights/survey/:surveyId). SURVEY_INFO render map with a ThankYouResults default; titles/status resolved via literal t() lookups. TAPE behaviour is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…pe_globals_in_API_TypeScript_config LF-5365: Fix missing Jest type globals in API TypeScript config
…nfig Replace the DB-backed survey catalog (survey + survey_country tables) with a frontend SURVEY_INFO map that already owns each survey's image and results component. The database now stores only responses: tape_survey becomes survey_response with a survey_key string column, and GET /survey_response maps directly to that table (no catalog endpoint under the collection route). Country/version gating moves into SURVEY_INFO.versionsByCountry, generalizing the original getSurveyVersion. Gating is presentational only, matching the controller, which records a response without checking country availability. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… for future agents
We would have to preserve them anyway because of the network-fetched translation files
…' when there are no results
…olds config object
…-survey-flow-into-a-reusable-multi-survey-architecture LF-5360 Generalize the tape survey flow into a reusable multi survey architecture
…y-to-insights LF-5361 Add the Kenya IDEMS Group (Niger Farms) survey to Insights
…matic-run-fix LF-4779 - Repair Chromatic GitHub action workflow
…ts-when-creating-a-new-farm-via-switch-farm LF-5366 Survey draft persists when creating a new farm via switch farm
…r-browser-auto-translation-is-enabled LF-5367 Survey crashes after browser auto translation is enabled
…igation-prescription-report-link LF-5371 Update Ensemble Irrigation Prescription report URL to new format
…ntegration_webapp_compiled_locales New Crowdin translations webapp_compiled_locales
…ntegration_api_job_locales New Crowdin translations api_job_locales
…ntegration_api_email_templates New Crowdin translations api_email_templates
…ntegration_webapp_consent New Crowdin translations webapp_consent
…ntegration_webapp_locales New Crowdin translations webapp_locales
…ntegration_webapp_locales New Crowdin translations webapp_locales
… be re-entered from the history stack
Whether the back button actually routes to Insights depends on how the user got to the survey; direct navigation to survey is also technically possible
…n-be-retaken-by-using-the-browser-back-button LF-5370 Completed survey can be retaken by using the browser Back button
Patch 3.12.1 - Update release version
…est case for paginated data
Ensemble code change is already live
Non-array response also no longer appropriate for the other Ensemble call mock
…n-the-irrigation-prescription-list-endpoint LF-5375 Handle pagination on the irrigation prescription list endpoint
den4ik1203
approved these changes
Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://lite-farm.atlassian.net/projects/LF/versions/10364/tab/release-report-all-issues