Background
Followup to T356678.
To unblock the Design systems team for the roll out of Codex with code-splitting support we need to replace the use of codex-search-styles with CodexModule as we did in T356678.
User story
- As a mobile user, I want the mobile experience as optimized as possilbe.
Requirements
- Replace the use of codex-search-styles with CodexModule
BDD
Feature: Optimize Mobile Experience with CodexModule Integration Scenario: Ensure codex-search-styles is replaced with CodexModule Given the user is on the mobile version of Wikipedia When the user hovers over any link to trigger a page preview And the user runs "mw.loader.getState('codex-search-styles')" in the JavaScript console Then the output should be "registered"
Design
No change
Test Steps
Test Case: Verify Replacement of codex-search-styles with CodexModule on Mobile
- Navigate to the mobile domain of Wikipedia.
- Hover over any link on the page to display a page preview.
- In the browser developer tools console type mw.loader.getState('codex-search-styles') and press Enter.
- AC1: Confirm that the output in the console returns 'registered'.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T356690#9730913 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T356690#9741766 |