Skip to content
PJ edited this page Nov 19, 2015 · 12 revisions

Screens

  • Screen component js files are in components/screens/***Screen.js
  • All screens should be registered in Routes.js at getRegisteredRoutes() to be rendered.
  • All screen react classes should use ScreenMixin
  1. Main
  • Description: First screen of the app
  • Cards: Must-have [CurrencySelect]
  • Mixins: [CurrencySelectMixin, CurrencyPickerMixin]
  • Nav Buttons: Custom left (settings), Custom Right (messages)
  1. Offers

Cards

  • Card component js files are in components/cards/***.js
  • All cards should be registered in CardRouter.js at registeredCards to be rendered.
  • Card consists of UUID Name(card type) Data(different for card type)
  1. Offer (Observable - click the offer)
  • Expires
  • Created
  • Id
  • SellerId
  • AmountSell
  • AmountBuy
  1. CurrencySelect (observable - change of currency)
  • Sell
  • Buy
  • CurrencyList
    • Code
    • Country
  1. Explanation
  2. CurrencyAmountSelect (observable - change of currency, change of amount of money)
  • TitleText
  • DescriptionText
  • Sell
  • Buy
  • CurrencyList
    • Code
    • Country
  • AmountSell
  • AmountBuy
  1. LocationSelect (observable - change of location selection)
  • TitleText
  • DescriptionText
  • Locations
    • Name: {Selected}
  1. ExpiryDateSelect (observable - change of date)
  • TitleText
  • DescriptionText
  • Date
  1. CurrencyAmount
  • TitleText
  • Sell
  • Buy
  • AmountSell
  • AmountBuy
  1. Location
  • TitleText
  • Locations
  1. ExpiryDate
  • TitleText
  • Date
  1. OfferSummary
  2. User
  3. MessageThread
  4. Message
  5. Popup
Clone this wiki locally