Skip to content

Nt 2570 live updates react web implementation#152

Merged
Lotfi Anwar L Arif (Lotfi-Arif) merged 20 commits intomainfrom
NT-2570-live-updates-react-web-implementation
Feb 27, 2026
Merged

Nt 2570 live updates react web implementation#152
Lotfi Anwar L Arif (Lotfi-Arif) merged 20 commits intomainfrom
NT-2570-live-updates-react-web-implementation

Conversation

@Lotfi-Arif
Copy link
Copy Markdown
Contributor

@Lotfi-Arif Lotfi Anwar L Arif (Lotfi-Arif) commented Feb 26, 2026

Summary

Adds full React Web live updates behavior coverage and aligns E2E depth with Web Vanilla/RN references.

What changed

  • Implemented local live updates adapter behavior in implementations/web-react:
    • global live updates toggle
    • per-component overrides (liveUpdates=true/false)
    • preview-panel override behavior
    • identify/reset behavior visibility and status controls
  • Added local live updates context and section wiring in the React app.
  • Extended personalization resolution to support locked personalizations (personalizeEntry(..., selectedPersonalizations)).
  • Expanded E2E coverage:
    • richer identified/unidentified variant assertions (matching Web Vanilla scenario depth)
    • dedicated live updates behavior spec (default lock, global toggle, per-component overrides, preview override, controls, section rendering)
    • navigation event sequence assertions (ordered route visits including revisits)
    • offline queue/recovery suite added/
  • Matched Playwright browser matrix with Web Vanilla (chromium, firefox, webkit).

Why

  • Ensure React Web implementation behavior matches reference expectations, especially for live updates semantics.
  • Prevent false confidence from fast CI by running comparable browser/project coverage and scenario depth.

Validation

  • pnpm --dir implementations/web-react typecheck passes.
  • pnpm --dir implementations/web-react test:e2e --list shows 57 tests across 3 browsers.

Comment thread implementations/web-react/src/optimization/hooks/usePersonalization.ts Outdated
Comment thread implementations/web-react/src/pages/HomePage.tsx Outdated
@phobetron Charles Hudson (phobetron) force-pushed the NT-2570-live-updates-react-web-implementation branch from cd7166e to 02a0cac Compare February 26, 2026 18:36
- Integrate personalized content sections and conversion CTA tracking on
- Page Two. Update App to pass consent, entries, and identification
  state to PageTwoPage.
- Update pnpm-lock.yaml for new dependencies.
@wiz-inc-38d59fb8d7
Copy link
Copy Markdown

wiz-inc-38d59fb8d7 Bot commented Feb 27, 2026

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities 1 Low
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total 1 Low

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Once we have a better way to hook into the preview panel's attached/open states, we could probably cut out a lot of integration code by just loading it in the host HTML page directly.

@Lotfi-Arif Lotfi Anwar L Arif (Lotfi-Arif) merged commit 642903f into main Feb 27, 2026
22 checks passed
@Lotfi-Arif Lotfi Anwar L Arif (Lotfi-Arif) deleted the NT-2570-live-updates-react-web-implementation branch February 27, 2026 14:36
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