Skip to content
PJ edited this page Nov 18, 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
  2. CurrencySelect
  • observer - to handle currency click and button click
  • currencyA
  • currencyB
  • currencyList {Code Country}
  1. Explanation
  2. CurrencyAmountSelect
  3. LocationSelect
  4. ExpiryDateSelect
  • observer
  • Date
  1. CurrencyAmount
  2. User
  3. Location
  4. ExpiryDate
  5. OfferSummary
  6. MessageThread
  7. Message
  8. Popup
Clone this wiki locally