Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mobile view of route book #124

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Commits on Nov 13, 2024

  1. feat: first draft route bookˆ

    feat: correct table
    
    feat: display hop tokens correctly
    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    0bb9b62 View commit details
    Browse the repository at this point in the history
  2. feat: adapt to new url scheme

    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    3567317 View commit details
    Browse the repository at this point in the history
  3. feat: remove unused tab and tokens array

    • Removed unused tokens array
    • Removed unused Route Depth tabˆ
    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    245331d View commit details
    Browse the repository at this point in the history
  4. feat: refactor route book component

    • Removed single hop data and only use multi hop data
    • Removed liquidity percentage and isDirect props from TradeRow component
    • Removed SpreadRow component and replaced it with a new implementation that calculates the spread between sell and buy orders
    • Removed unused code and simplified the RouteBookData component
    • Added a new calculateSpread function to calculate the spread between sell and buy orders
    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ce5d71e View commit details
    Browse the repository at this point in the history
  5. feat: improve route book UI

    • Un-commented Summary component
    • Replaced custom TabButton with Tabs from @penumbra-zone/ui
    • Removed console.log statement in TradeRow component
    • Updated table headers in RouteBookData component to correct symbol order
    • Removed unused width from RouteBookData table cell
    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ad3132c View commit details
    Browse the repository at this point in the history
  6. feat: enhance trade row display in route book

    • Add relative size calculation for trade rows
    • Display relative size as a background gradient in trade rows
    • Pass relative size as a prop to TradeRow component
    • Calculate relative sizes for sell and buy orders separately
    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    3c6cd0c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f14d613 View commit details
    Browse the repository at this point in the history
  8. fix: address pr feedback

    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    3b56d48 View commit details
    Browse the repository at this point in the history
  9. fix: address pr feedback

    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    a58dae0 View commit details
    Browse the repository at this point in the history
  10. chore: fixup pnpm config

    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    40c92cb View commit details
    Browse the repository at this point in the history
  11. fix: pr feedback

    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    5cca629 View commit details
    Browse the repository at this point in the history
  12. fix: pr feedback

    vacekj committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    aacc95f View commit details
    Browse the repository at this point in the history