Plugin for assigning users to a topic
Go to file
Loïc Guitaut fbd1fa3794 FEATURE: Add a fallback to auto-assign
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.
2023-11-22 10:11:15 +01:00
.github/workflows DEV: Update CI workflows (#424) 2023-01-10 18:03:19 +00:00
app DEV: Rewrite post-migration in pure SQL 2023-11-15 09:50:54 +01:00
assets UX: prepare for core modal styling changes (#524) 2023-11-13 12:25:03 +00:00
config Update translations (#531) 2023-11-21 14:36:06 +01:00
db DEV: Rewrite post-migration in pure SQL 2023-11-15 09:50:54 +01:00
lib FEATURE: Add a fallback to auto-assign 2023-11-22 10:11:15 +01:00
spec FEATURE: Add a fallback to auto-assign 2023-11-22 10:11:15 +01:00
svg-icons UX: improve custom icons for group assign (#441) 2023-02-13 17:19:25 -05:00
test/javascripts DEV: Update tests for core change (#525) 2023-11-15 09:23:36 +00:00
.discourse-compatibility FIX: granular webhooks (#498) 2023-10-09 03:26:40 +00:00
.eslintrc.cjs DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
.git-blame-ignore-revs DEV: Ignore stree commit from git blame 2022-07-27 13:48:51 -03:00
.gitignore DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
.prettierrc.cjs DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
.rubocop.yml DEV: Introduce syntax_tree for ruby formatting (#408) 2022-12-23 20:35:55 +00:00
.streerc DEV: Introduce syntax_tree for ruby formatting (#408) 2022-12-23 20:35:55 +00:00
.template-lintrc.js DEV: Use `@discourse/lint-configs` (#517) 2023-10-23 12:08:11 +02:00
Gemfile DEV: Bump rubocop-discourse and correct violations (#409) 2022-12-23 19:55:31 +00:00
Gemfile.lock DEV: Update linting setup (#530) 2023-11-19 22:43:52 +01:00
LICENSE Update LICENSE (#529) 2023-11-15 20:11:33 +01:00
README.md DEV: Modernization/cleanup (#480) 2023-06-22 10:06:37 +02:00
package.json DEV: Update linting setup (#530) 2023-11-19 22:43:52 +01:00
plugin.rb DEV: Use new API to preload category custom fields (#521) 2023-11-09 18:52:04 +02:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:00:20 +02:00
yarn.lock DEV: Update linting setup (#530) 2023-11-19 22:43:52 +01:00

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