Skip to content
PJ edited this page Nov 16, 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. ExpireDateSelect
  5. CurrencyAmount
  6. User
  7. Location
  8. ExpireDate
  9. OfferSummary
  10. MessageThread
  11. Message
  12. Popup
Clone this wiki locally