fix(TMCU-538): update error state icon to new no-connection illustration#27070
Conversation
Replace the flat IconName.WifiOff design system icon in the shared ErrorState component with themed PNG illustrations matching the new design from Vinay. Uses useAssetFromTheme to switch between light and dark variants, following the same pattern as CollectiblesEmptyState. Affects all homepage sections that show error states: Tokens, Predictions, Perpetuals, and DeFi. Fixes: TMCU-538
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Key observations:
Since E2E tests mock successful API responses and don't test error scenarios, and this is a purely visual change with no functional impact, no E2E tags are needed to validate this change. Performance Test Selection: |
|



Description
Replaces the flat
IconName.WifiOffdesign system icon in the sharedErrorStatecomponent with themed PNG illustrations matching Vinay's new "No connection" design. UsesuseAssetFromThemeto switch between light and dark variants, following the same pattern asCollectiblesEmptyState.This change affects all 4 homepage sections that render error states: Tokens, Predictions, Perpetuals, and DeFi.
Changelog
CHANGELOG entry: Updated the error state icon on the homepage to a new no-connection illustration
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/TMCU-538
Manual testing steps
Screenshots/Recordings
Verified on device in both light and dark modes.
Before
Flat
WifiOfficon from the design system.After
New themed no-connection illustration (72x72) with light/dark variants.
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk UI-only change that swaps a design-system icon for themed PNG assets in the shared homepage
ErrorStatecomponent. Main risk is limited to missing/incorrect asset bundling or sizing regressions across sections that reuse this component.Overview
Updates the shared homepage
ErrorStateUI to render a themed no-connection PNG illustration (light/dark viauseAssetFromTheme) instead of the design-systemWifiOfficon.Adds
react-nativeImagerendering with Tailwind-based sizing (72x72) and removes the unused icon imports, affecting all homepage sections that reuseErrorState.Written by Cursor Bugbot for commit d58c424. This will update automatically on new commits. Configure here.