-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add star button to activity description #132
base: main
Are you sure you want to change the base?
Add star button to activity description #132
Conversation
This avoids the nesting indentation that comes from multiple sequential requests.
This resolves one of the TODO comments, but it is useful since it means that the URL in the address bar matches what is shown on the page.
To avoid try/catch.
IAP or summer of a year where those terms were not scraped separately should redirect silently to spring or fall of that year, and otherwise we try to redirect (eventually with some sort of notice to the user) to the same semester of the current year.
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 would kinda almost prefer it to not be in classtable but i'd leave that to others
const refreshCells = () => { | ||
gridRef.current?.api?.refreshCells({ | ||
force: true, | ||
columns: ["number"], | ||
}); | ||
}; | ||
window.addEventListener("refreshStarCells", refreshCells); | ||
return () => window.removeEventListener("refreshStarCells", refreshCells); |
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.
thought: this is very cursed but i'm not sure what else can be done about it
maybe just add a comment on both sides...
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.
Maybe we could pass gridRef
up into App
and back down into ClassTable
?
Adds star button to ActivityDescription, since someone requested to be able to star a class when its ActivityDescription is up, without having to search for it on the ClassTable.