Closed caybro closed 1 day ago
@caybro Isn't the popular assets section relevant only to the receive section? What's the sense of choosing in "pay" section something that we don't own?
I also have another doubt here.. Do we also need the community assets? For Send Modal
yes, and probably a specific category / section for them. Not sure about swap @dlipicar @Khushboo-dev-cpp
@caybro Isn't the popular assets section relevant only to the receive section? What's the sense of choosing in "pay" section something that we don't own?
Yeah good point, we'll have to make this distinction in Swap; I'll fix/amend the PR
I also have another doubt here.. Do we also need the community assets? For
Send Modal
yes, and probably a specific category / section for them. Not sure about swap @dlipicar @Khushboo-dev-cpp
Yeah, in case of SendModal, we'll need it and the current view/adaptor already has support for optionally showing them
@caybro Isn't the popular assets section relevant only to the receive section? What's the sense of choosing in "pay" section something that we don't own?
@micieslak the original design was like that (showing only assets with balance >0 for the Pay selector), but it was changed a couple of days ago (https://www.figma.com/design/TS0eQX9dAZXqZtELiwKIoK/Swap---Milestone-1?node-id=3802-77911&t=xBodPGGHwoAggJlC-0) for a couple of reasons:
So yeah, we decided we would show the same lists on both sides.
I also have another doubt here.. Do we also need the community assets? For
Send Modal
yes, and probably a specific category / section for them. Not sure about swap @dlipicar @Khushboo-dev-cpp
Asked Ben about this a while ago, he said we should include them. I'm guessing in most cases there won't be a valid Swap proposal for those, but there's nothing preventing someone from setting up a Swap pool in Uniswap (or some other DEX) for their community asset, which would make Swapping possible. There doesn't seem to be a special section for those in the list though.
I also have another doubt here.. Do we also need the community assets? For
Send Modal
yes, and probably a specific category / section for them. Not sure about swap @dlipicar @Khushboo-dev-cppAsked Ben about this a while ago, he said we should include them. I'm guessing in most cases there won't be a valid Swap proposal for those, but there's nothing preventing someone from setting up a Swap pool in Uniswap (or some other DEX) for their community asset, which would make Swapping possible. There doesn't seem to be a special section for those in the list though.
OK, we can potentially show those as well :)
The
TokenSelector
should list all the known assets under the "Popular assets" section at the bottom, with no balances:Design: