Currently, when the auto-assign logic can’t find a user to assign, it will fail saying there was no one to assign. The current logic is this one: - Don’t pick anyone who’s been picked in the last 180 days - If no one has been found, then try the same thing but only for the last 14 days. While this is working relatively well for large enough groups, it doesn’t work at all with very small groups (like 2 people) and it creates unnecessary noise. This patch addresses this issue by adding a fallback to the current logic. Now, if the two first rules fail, instead of saying that no one was assigned, we assign the least recently assigned person. This way, the logic will continue to work with large groups but will also work nicely with small groups. |
||
---|---|---|
.github/workflows | ||
app | ||
assets | ||
config | ||
db | ||
lib | ||
spec | ||
svg-icons | ||
test/javascripts | ||
.discourse-compatibility | ||
.eslintrc.cjs | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.prettierrc.cjs | ||
.rubocop.yml | ||
.streerc | ||
.template-lintrc.js | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
README.md | ||
package.json | ||
plugin.rb | ||
translator.yml | ||
yarn.lock |
README.md
Assign Plugin
Allows you to assign topics and individual posts (both private and public) to a user or group.
For more information, please see: https://meta.discourse.org/t/discourse-assign/58044