-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Separate remaining constants into individual files. #6996
Conversation
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.
One minor thing, but generally I have no concerns. Thanks!
.github/CODEOWNERS
Outdated
@@ -427,6 +427,7 @@ | |||
/core/templates/dev/head/pages/profile-page/ @kevinlee12 | |||
/core/templates/dev/head/services/UserService*.ts @kevinlee12 | |||
|
|||
/core/templates/dev/head/services/services.constants.ts @kevinlee12 @seanlip |
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.
Just as a note, I don't need to own this :)
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.
I added them as I wasn't sure whom to add. Will remove your name. @kevinlee12 Are you ok with this?
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.
that is fine.
@kevinlee12 @vojtechjelinek could you PTAL too? Once you both approve I can merge this. |
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.
LGTM, Thanks @YashJipkate. Please drop the changes in package-lock.json
.
package-lock.json
Outdated
@@ -2086,7 +2086,6 @@ | |||
"anymatch": "^2.0.0", | |||
"async-each": "^1.0.1", | |||
"braces": "^2.3.2", | |||
"fsevents": "^1.2.7", |
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.
Drop this change.
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.
@YashJipkate, did you address this comment?
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.
I thought this was fixed. But it still does that. Reverted the change.
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.
lgtm!
however, it looks like there are lint tests failing: https://travis-ci.org/oppia/oppia/jobs/549301164#L3740
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.
LGTM! (As code owner)
@YashJipkate, ptal at backend test failure! |
HI @kevinlee12 The tests pass! PTAL! |
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.
lgtm!
Hi @kevinlee12 @seanlip The changes to package-lock.json have been reverted and the checks pass. PTAL! |
See my earlier message -- once @vojtechjelinek approves I will merge this. |
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.
LGTM!
Explanation
This PR cleans up all the remaining constants from the codebase into separate files.
Checklist
python scripts/pre_commit_linter.py
andbash scripts/run_frontend_tests.sh
.