Skip to content

Extract CodeRoad-Core #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks
ShMcK opened this issue Apr 5, 2020 · 0 comments
Closed
4 tasks

Extract CodeRoad-Core #195

ShMcK opened this issue Apr 5, 2020 · 0 comments
Labels
backlog TODO later question Further information is requested

Comments

@ShMcK
Copy link
Member

ShMcK commented Apr 5, 2020

Make the app into a wrapper, so that others can reuse the core of CodeRoad for their own extensions. The aim would be to allow for shared development of the platform.

  • extract error handler
  • extract Landing screen component
  • extract TutorialList screen component
  • config
import CodeRoad from '@coderoad/core'

const app = new CodeRoad({
  hooks: {
    onError: customerErrorHandler,
  },
  screens: {
    Landing: LandingComponent,
    TutorialList: TutorialListComponent,
  },
  config: {
    tutorial: {
      hints: true,
      loadSolution: false,
    }
  }
})
@ShMcK ShMcK added the backlog TODO later label Apr 5, 2020
@ShMcK ShMcK modified the milestone: CodeRoad Core Apr 5, 2020
@ShMcK ShMcK added the question Further information is requested label Apr 11, 2020
@ShMcK ShMcK closed this as completed Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog TODO later question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant