-
Notifications
You must be signed in to change notification settings - Fork 21
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: replace active quantifier #503
Conversation
… to a bucket of praise in 'prepareAssignmentsByAllQuantifiers()' - as this is impossible if there are more quantifiers in pool than praise receivers in period
…QUANTIFIERS_ASSIGN_EVENLY to clarify that the algorithm cannot assign *all* quantifiers in some conditions (such as if there are more quantifiers than available receivers)
…- replace with generic IconButton
… was not actually being used (it only supports click-based popovers)
… quantifier is replaced
…lable as replcements
Currently, only unassigned quantifiers appear in the list of possible replacements. Should we instead include all quantifiers in the list of possible replacements? |
…ses in frontend store, to ensure praise quantification data is fresh
…tifier (i.e. doubling up on their assignments)
We decided to include all quantifiers for now. |
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.
…o_many_quantifiers
…s rather than expecting 'real' settings from migrations to exist
…tifiers' into feat/replace_active_quantifier
…ssigned to some of the original quantifier's praise
…ible replacements in ReplaceQuantifierDialog
…the their scores are reset
good catch! Fixed. Also made a few other changes:
|
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 fixes! Merging.
onClick(); | ||
} | ||
|
||
const MarkDuplicateButton = ({ | ||
const IconButton = ({ |
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.
Nice!
Resolves #432
Overview
replace-quantifier
Note that we are currently including all quantifiers in the list of possible replacements, not just those currently unassigned.