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

Migrate Progress to Next.js #213

Open
ty730 opened this issue May 3, 2023 · 0 comments
Open

Migrate Progress to Next.js #213

ty730 opened this issue May 3, 2023 · 0 comments
Assignees

Comments

@ty730
Copy link
Contributor

ty730 commented May 3, 2023

Problem

We are migrating the web-app to Next.js to take advantage of all its features to improve user experience, improve developer experience, integrate TypeScript and Inversify.js to create a more type safe and testable app, and much more.

In the next-js-migration branch we need the Progress component to be migrated to use Next.js and TypeScript. Also, we need Unit Tests to be written to test the component.

Goal

  • Have the Progress component in TypeScript
  • 100% coverage of Unit Tests for Progress
  • Automate all tests using GitHub actions
  • Clean up coding style to make the codebase more consistent and readable

Additional context

Things to look for:

To get started create a next-js-migration branch in your fork of the web-app. Once you've switched to the branch then use npm install to install dependencies and npm run dev to start the development server.

Here are links to more details about the migration including details on Next.js and TypeScript, SCSS structure and guide, naming conventions, and unit tests.

Take a look at the official Next.js documentation and official TypeScript documentation as well as this TypeScript cheat sheet.

For reference here are simple unit tests in Next.js and more complex unit tests from the old CRA framework.

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

No branches or pull requests

2 participants