unfoldingWord / gateway-edit

Book Package harmonized view.
https://gatewayedit.com
MIT License
1 stars 4 forks source link
app bible-translations javascript netlify nextjs react react-app scripture-open-apps

gateway-edit

Netlify Status CI Status

Main: Current Verison codecov Develop: Current Verison codecov

Book Package harmonized view.

Staging Environment URLs

Scripts

Running tests

yarn
{
  "TEST_USERNAME": <<my user name>>,
  "TEST_PASSWORD": <<my user password>>
}

Running Jest Unit Tests

yarn run test:unit

Running Cypress tests Interactively

yarn dev
yarn run cypress

Running Cypress tests headless

yarn test:headless

UI Design

Application (in pages/_app.js) contains:

Home (in pages/index.js) contains:

WorkspaceContainer component manages the Resource workspace

Layout component:

BibleReference component:

Onboarding component

Header component:

Footer component:

Drawer component (hamburger menu):

TranslationSettings component:

ResourceCard component:

ScriptureCard component:

AuthContext context:

StoreContext context:

useLocalStorage - custom hook that persists generic application data into local storage

useUserLocalStorage - custom hook that application data for logged in user into local storage