status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

🚀 Swaps Network Switch - Improve UX when tokens are missing

Open shivekkhurana opened this issue 9 months ago • 1 comments
trafficstars

User Story

As a Swaps User, I want support in case I switch networks, and the selected tokens don't exist on the new network, so that I am not left stranded.

Description

During Swaps with new design (dedicated Trading Tab), when a user switches to a different network, one or both of the previously selected assets may no longer be available. To improve this, we need to reset the input fields to an empty state and display a toast notification to inform the user about the network change.

Figma: https://www.figma.com/design/ap45P6fWjRI4q43WMBivwP/Trading?node-id=170-6421&t=qExSgyxviyLZJ2o9-0

Acceptance Criteria

  • [ ] The input fields are cleared to their default state after switching networks.
  • [ ] The UX is consistent with the desktop version.
  • [ ] The issue is reproducible across different networks.
  • [ ] Implementation should match Figma

Notes

  • This issue will overlap with #22035

shivekkhurana avatar Feb 10 '25 15:02 shivekkhurana