Fujicracy / fuji-v2

Cross-chain money market aggregator
https://fuji-v2-frontend.vercel.app
15 stars 10 forks source link

Positions page logic #289

Closed 0xdcota closed 1 year ago

0xdcota commented 1 year ago

This issue ticket implements the logic to enable the positions page and connect it with real data.

0xdcota commented 1 year ago

Hey @Markoyw what is suppose to be visbile or happen when this view button is clicked?

Image

Markoyw commented 1 year ago

Hey @DaigaroCota - at the moment we are engaging in a modal pop.

Linking the Figma design below, https://www.figma.com/file/v53wiSwcL5DYynVL0z6L4s/Fuji---Working-File-(NEW)?node-id=492%3A6035&t=ahAwwGOTS4m3XyIv-1

After having a second look at the pop up, I think it can be further improved & simplified

0xdcota commented 1 year ago

@Markoyw need to check with you the following:

In discussion during implementation with @brozorec , we decided adding a Go-to-action when the user has no open position. Refer to how it looks. image

Also, as part of the original designs, when a user has an open position and has available borrowing power, the go-to-action is in the summary to Borrow more. image

We are aware this page will be refreshed at a later stage, though, the question at hand right now is a matter of choosing the theming properly for the buttons. What do you recommend? Please advise.

image

Markoyw commented 1 year ago

Here's the link to the empty state design: https://www.figma.com/file/LkNVe5ob1LjGpbGU74Hcrs/Fuji---Design-Files-(DUP)?node-id=4373%3A89291&t=YJEceAOPcDvahHkn-1