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
Priority Queue #405
Priority Queue #405
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/sandboxneu/office-hours/m31gt99g5 |
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.
Great overall! I left some suggestions for minor improvements and had a few general questions.
For re-queued questions, I saw that "last helped by" was added to the student banner which I liked. Should the "last helped by" be displayed for TA's as well? That way the TA's have more visibility on who was helping whom. |
We were thinking about this, but couldn't figure out a way to render it |
When running locally, here are some things I found:
|
relations: ['creator', 'taHelped'], | ||
where: { | ||
queueId, | ||
status: In(StatusSentToCreator), |
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.
shouldn't it be In( ) of all the statuses in queue, help, and priorityQueue?
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.
StatusSentToCreator
includes all of those
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.
ah yes but we dont' need them in th is function fuck
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.
oh yeah but we don't need them in this funciton fuck
@@ -1,9 +1,16 @@ | |||
import { |
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'm alright not doing it now, but a big TODO should be queue service tests. The new ListQuestions stuff has like no tests afaik
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.
wasn't the whole thing we didn't know how to do this currently?
This reverts commit 6401447.
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.
⛵ ship!
We need help with the "Requeue Student" button's design in terms of color and stuff