-
Notifications
You must be signed in to change notification settings - Fork 340
♻️ (frontend) do multiple refacto #949
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
♻️ (frontend) do multiple refacto #949
Conversation
d94672a
to
571c240
Compare
@@ -1,4 +1,4 @@ | |||
var config = { | |||
const config = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be enforced by the use of this eslint rule BTW:
https://eslint.org/docs/latest/rules/no-var
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a commit that modify configuration to include root file.
1670302
to
5a82713
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thank you for your contribution !
We try to keep meaningful commits in the history, could you squash them to have I think 3 commits ?
- one about minor refactoring (condition etc..)
- one about adding documentation
- one about adding tests
Same about the changelog, only meaningful entries, maybe 1 about documentation and 1 about coverage improvement should be enough, wdyt ?
Thank you.
@@ -1,4 +1,4 @@ | |||
import { forwardRef } from 'react'; | |||
import React, { forwardRef } from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We pin to "react19.1.0", so adding "React" is not necessary, same for the others.
docs/src/frontend/package.json
Line 38 in bd79f84
"react": "19.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commit that make this change!
5a82713
to
33a1578
Compare
- improve condition statements - add "no-var" rule in eslint - remove some unnecessary variables Signed-off-by: Zorin95670 <[email protected]>
Improve and add jsdoc. Signed-off-by: Zorin95670 <[email protected]>
Improve the test coverage of the "api" modules. Signed-off-by: Zorin95670 <[email protected]>
33a1578
to
29ea6b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you. 🎉
Purpose