Fujicracy / fuji-v2

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

Navigation Bar - Positions at Risk #345

Closed Markoyw closed 1 year ago

Markoyw commented 1 year ago

When the user's borrowing position is nearing liquidation,

Markoyw commented 1 year ago

Link to the design: https://www.figma.com/file/LkNVe5ob1LjGpbGU74Hcrs/Fuji---Design-Files-(DUP)?node-id=4151%3A73738&t=YJEceAOPcDvahHkn-1

Markoyw commented 1 year ago

Expected behavior

  1. An alert will appear on the user's navigation bar when their position is nearing liquidation.
  2. Clicking on the alert will display a modal dropdown containing the positions at risk.
  3. Selecting a specific position from the dropdown will redirect the user to the 'Manage Position' page.
  4. On the 'Manage Position' page, the user can take actions such as closing the position, adding more collateral, or repaying the debt.