shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
166 stars 178 forks source link

Unavailable quotes drawer #7998

Open gomesalexandre opened 5 days ago

gomesalexandre commented 5 days ago

Overview

Currently in all envs, swapper displays some non-actionable quotes:

image

While some of these errors are something you can "fix" as a user (e.g not enough native asset, not enough fee asset, minimum not met etc), some others aren't really errors, and only mean the current selection is incompatible for a given swapper (cross-chain not supported, chain not supported, pair not supported) aren't really errors per se in the sense nothing failed upstream as a result of.

This PR is to add a drawer that will group all "unavailable quotes" (cross-chain not supported, chain not supported, pair not supported) into a drawer.

References and additional details

N/A

Acceptance Criteria

Need By Date

No response

Screenshots/Mockups

No response

Estimated effort

No response

0xean commented 19 hours ago

image

reallybeard commented 19 hours ago

Here is a mock for this: https://www.figma.com/design/ZkRqq0Bk1glXqIW776IAtr/Portals?node-id=636-3893&node-type=frame&t=ftzpLksOo2ZyCmx0-0

The empty state icon is from tabler <TbRoute />