shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
157 stars 180 forks source link

custom import token #7213

Open 0xean opened 1 week ago

0xean commented 1 week ago

https://www.figma.com/design/2UaOq5q4lb5EKMexrULYPd/Import-Token?node-id=1611-16323&m=dev https://github.com/shapeshift/web/issues/6980

  1. implement ability to enter custom address into asset search
  2. add import button in place of balance (add asset to the store and fetch market data) 2.1. if we cannot find market data from Cow or Lifi - then user wont be able to swap 2.2 add flag to manually added assets so they aren't ever going to see these assets in their portfolio
  3. warning modal
  4. group by "import token" in asset search
  5. mixpanel event fired for import so we can track usage frequency (include token addy so we can determine if we should figure out how to source that token in the future)
  6. all behind feature flag until clean up / audit is done in follow up ticket
NeOMakinG commented 4 days ago

image

I confirm we can use the Acknowledgement component inside a modal, it works as expected wrapping the whole ModalContent content