nimblehq/nimble-crypto-ios

[UI] As a user, I can see My Coins on the Home screen

nkhanh44 opened this issue · 0 comments

Why

  • The user should be able to see their coins on the Home screen.

Acceptance Criteria

  • On the Home screen, the user can see the following My Coins section:

In light mode:

Home Page

In dark mode:

Home Page

  • The section will have the title My Coins 😎.

  • The section will have the text see all ->.

  • Once the coins have loaded, the user will see coin’s items:

Bitcoin

  • The coin’s image will be based on the image.
  • The coin’s symbol will be based on the uppercased symbol.
  • The coin’s name will be based on the name.
  • The coin’s current price will be based on the current_price.
  • The coin’s price change percentage will be based on the price_change_percentage_24h:
    • price_change_percentage_24h is set to #F15950 with down indicator when it’s negative number:
      Screen Shot 2022-11-23 at 22 26 45
    • price_change_percentage_24h is set to #10DC78 with the up indicator when it’s positive number:
      Screen Shot 2022-11-23 at 22 26 48

Note: The fractional part of price_change_percentage_24h is rounded to 2 numbers: 6,2122 to 6,21.

Design