Skip to content

Move split screen case search under simple case search#37340

Open
MartinRiese wants to merge 5 commits intoes/case-search-ffsfrom
riese/migrate_sscs
Open

Move split screen case search under simple case search#37340
MartinRiese wants to merge 5 commits intoes/case-search-ffsfrom
riese/migrate_sscs

Conversation

@MartinRiese
Copy link
Contributor

@MartinRiese MartinRiese commented Feb 12, 2026

Product Description

Make split screen case search the default under the simple case search FF.

  • Remove support for the search again label since it is not used anymore

Technical Summary

https://dimagi.atlassian.net/browse/USH-6465

Feature Flag

  • Remove use of SPLIT_SCREEN_CASE_SEARCH
  • Fall back on SYNC_SEARCH_CASE_CLAIM (Simple Case Search)

Safety Assurance

Safety story

Automated test coverage

Updated tests

QA Plan

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@dimagimon dimagimon added the Risk: Medium Change affects files that have been flagged as medium risk. label Feb 13, 2026
@MartinRiese MartinRiese changed the base branch from riese/migrate_case_list_config_options to master February 13, 2026 14:55
@MartinRiese MartinRiese changed the title Remove search_again_label functionality Move split screen case search under simple case search Feb 16, 2026
@esoergel esoergel changed the base branch from master to es/case-search-ffs February 19, 2026 11:36
MartinRiese and others added 4 commits February 19, 2026 12:49
With SSCS (Split Screen Case Search) now the default behavior, the
search_again_label is no longer needed. This removes all references to
search_again_label and CaseSearchAgainLabel throughout the codebase.

Changes:
- Remove CaseSearchAgainLabel class and search_again_label/again_label
  properties from CaseSearch model
- Remove search_again_label from views (GET/POST endpoints, media handling)
- Remove search_again_label locale string generation
- Remove search_again_label from media collection and renaming
- Remove search_again_label from translation upload/download modules
- Remove search_again_label from JavaScript (case_claim.js)
- Update test fixtures and assertions to no longer expect search_again
  functionality
- Clean up test data (plant_care_app.json)

The search_again_label was previously used to provide a "Search Again"
button on search results, but with SSCS this is no longer generated.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Remove SPLIT_SCREEN_CASE_SEARCH toggle checks from JavaScript and make
split-screen case search always enabled, aligning with backend changes.

The SPLIT_SCREEN_CASE_SEARCH toggle is frozen (TAG_FROZEN) and will be
removed. The backend (commit 6f34a21) already generates split-screen
suite XML unconditionally, so the JavaScript should match this behavior.

Changes:
- Remove toggle check from isSidebarEnabled() function in utils.js
- Always enable split-screen UI when case search has data to display
- Update analytics tracking to always report split-screen as enabled
- Remove splitScreenToggleEnabled property and all dead code paths
- Remove non-split-screen search container from case list template
- Remove toggle stub and obsolete test from split_screen_case_search_spec

The split-screen UI is now always available for domains with case search,
controlled by the parent toggle SYNC_SEARCH_CASE_CLAIM (Simple Case Search).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The backend no longer checks this toggle, so test decorators and toggle
dict entries are dead code.

- Remove @flag_enabled('SPLIT_SCREEN_CASE_SEARCH') from Python tests
- Remove SPLIT_SCREEN_CASE_SEARCH from JS test toggle dicts
- Fix search_on_clear tests to use correct CASE_SEARCH_ADVANCED toggle

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MartinRiese MartinRiese marked this pull request as ready for review February 19, 2026 18:49
No more search again action we need to find
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Risk: Medium Change affects files that have been flagged as medium risk.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments