Reusable components of Connecpath - Shaunakdas/doc_genius_ref GitHub Wiki

Pages:-

  • FeedbackPage
  • ForgotPasswordPage
  • LandingPage
  • LoginPage
  • PrivacyPage
  • ProfileEditPage
  • ProfilePage
  • SignupPage
  • WebPage
  • SelectionPage -> Sign Up Option Page
  • ForumPage -> HomePage
  • PostsPage -> GamesPage
  • PostsPage -> AnalyticsPage

Reducers

  • appState : SET_ROOT_NAVIGATION, REFRESH_PROFILE
  • currentUser : SET_LOGGED_IN_USER
  • loginState : LOGINSTATE_LOGGED_IN, LOGINSTATE_LOGGING_IN, SET_AUTH_TOKEN
  • Extras : APPSTATE_SIGNING_UP

Api.js

  • headers
  • buildError
  • buildQuery
  • jsonFetch

helper

  • capitalCase
  • getCurrentRouteName
  • validateEmail
  • getUserImage
  • saveData
  • getData
  • removeData

App.js

  • getNavigator :
    1. HomePageNavigator = TabNavigator(GameNavigator, AnalyticsNavigator, ProfileNavigator)
    2. MainNavigator = StackNavigator( HomePageNavigator, everything else)
  • componentDidMount()
  • componentWillUnMount()
  • render()

New Pages

Sign Up Option Page

  • Replace goTo method to remove params parameter
  • Remove role params from onPress field on buttons

SignUpPage

  • Remove references to ROLE
  • Remove keys to match SignUp page requirements

SignUpFormPage

Field Changes

  • schoolCode: '',
  • counselorCode: '',
  • fullName -> firstName
  • fullName -> lastName
  • fullName -> sex
  • fullName -> date of birth
  • email: '',
  • username: '',
  • password: '',
  • confirmPassword
  • graduationYear -> mobile_number