-
Notifications
You must be signed in to change notification settings - Fork 54
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
Feature/sidebar keyboard shortcuts #1062
Feature/sidebar keyboard shortcuts #1062
Conversation
… in MasterSlot.tsx to re-color when hovered
…pdate hoveredCourseIndex
…. on arrow up/down, hoveredCourse state changes appropriate to the size of masterSlotList
…urse is deleted (subtract one whenever course deleted)
…lasses while hovering in sidebar
…(as to not conflict with sidebar shortcuts)
static/js/redux/ui/Semesterly.tsx
Outdated
@@ -246,7 +246,7 @@ const Semesterly = () => { | |||
|
|||
const SemesterlyWithErrorBoundary = withErrorBoundary(Semesterly, { | |||
FallbackComponent: FallBack, | |||
onError(error, info) { | |||
onError(error: any, info: any) { |
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.
@JiaqiWang18 is this right? i just changed this since tsx was complaining about them having an any type
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.
if it is still complaining, try running npm i
OUTSIDE of the docker environment and reload the window because VScode uses the local node_modules
for type hints and the package might be missing, causing the complain.
Just ignore it if that doesn't work.
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.
Looks good, see comments above
static/js/redux/ui/Semesterly.tsx
Outdated
@@ -246,7 +246,7 @@ const Semesterly = () => { | |||
|
|||
const SemesterlyWithErrorBoundary = withErrorBoundary(Semesterly, { | |||
FallbackComponent: FallBack, | |||
onError(error, info) { | |||
onError(error: any, info: any) { |
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.
static/js/redux/ui/Semesterly.tsx
Outdated
@@ -246,7 +246,7 @@ const Semesterly = () => { | |||
|
|||
const SemesterlyWithErrorBoundary = withErrorBoundary(Semesterly, { | |||
FallbackComponent: FallBack, | |||
onError(error, info) { | |||
onError(error: any, info: any) { |
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.
if it is still complaining, try running npm i
OUTSIDE of the docker environment and reload the window because VScode uses the local node_modules
for type hints and the package might be missing, causing the complain.
Just ignore it if that doesn't work.
feel free to click re-request to review when ready |
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.
pog
Description
Change Log