-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feat: Screening tool adjustments #776
Conversation
} | ||
} | ||
`); | ||
|
||
const { |
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.
Might be easier to query all courses at once, then .filter on the state for the tabs?
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 guess the tricky part would be the pagination for the different states? Like, I can fetch 100 courses but if most of them are rejected it wouldn't be useful for the other tabs
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.
Right, or turn courseState into a state and refetch when switching tabs?
Alternatively you could also do multiple courseSearch in the same query (with a GraphQL alias)
Ticket
Resolves (partially) https://github.com/corona-school/project-user/issues/1425
What was done?
SuS / HuH-Empfehlung
prefix when showing suggestions