-
Notifications
You must be signed in to change notification settings - Fork 0
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
Typescript Refactor (V2) #127
Conversation
Also upgraded the backend for better types
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 a few places to touch 😈
front-end/tsconfig.node.json
Outdated
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.
Can we remove this?
Why are there still jsx files in the repo, was there a reason why u had to leave them as they were? I love oppais (anime tiddies) btw >_< |
@t-wing11 Those are the ones that will be left for later, not messing with them as the UI / UX will most likely have a heavy impact. It also helps reduce the scope of this PR, so something like the map functionality can be done elsewhere, which lets the review of this one focus better |
front-end/src/components/modal/create/AnalyzersAndSeries/AnalyzersAndSeries.jsx
Show resolved
Hide resolved
front-end/src/components/modal/create/CreateGraphModal/CreateGraphModal.jsx
Show resolved
Hide resolved
|
||
ApiUtil.uploadFile(fileLists[i]); | ||
if (i===fileLists.length-1) { | ||
resolve(); |
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.
How are files that would previously been rejected now handled?
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.
Used to reject in the promise, now it throws the error application wide. Temporary solution until we improve front end error handling, as all other methods do the same thing.
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.
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.
Fuck you all! I--it's not like I wanted to review your PR or anything... kyaaa!!! >///<
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.
Fuck you cam
|
Adding typescript on the front end!
What was done:
TODO: