Skip to content
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

Extract Form Controller as a Separate Package #12

Open
5 tasks
ChakshuGautam opened this issue Oct 3, 2022 · 1 comment
Open
5 tasks

Extract Form Controller as a Separate Package #12

ChakshuGautam opened this issue Oct 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ChakshuGautam
Copy link
Collaborator

ChakshuGautam commented Oct 3, 2022

Description

Currently, the form-controller is part of Enketo client and can live outside of it as a package. Keeping it outside of Enketo will allow for

  1. Decoupling would allow for easier upgrades to Enketo.
  2. Enable it to be written in TypeScript. Faster and safer development lifecycle.
  3. Ability to add tests for features without Enketo.

Things to implement

  • Extract form-controller as a separate package and import into enketo
  • Use Typescript to refactor the code (index.js -> index.ts)
  • Make the build command, automatically push the package to the NPM registry
  • Use babel and browserify to convert the nodeJS APIs to browser based APIs
  • Enable easy setup of the form-controller package using the npm install command.
@ChakshuGautam ChakshuGautam added the enhancement New feature or request label Oct 3, 2022
@Ansh-Sarkar
Copy link
Collaborator

Current status on the development of the package can be seen at : Ansh-Sarkar/form-controller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants