discourse-assign/spec
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
..
components FEATURE: allow adding note when bulk assigning topics (#466) 2023-05-02 15:20:44 +05:30
fabricators FIX: Order items properly in user menu 2023-11-09 16:41:48 +01:00
integration DEV: Replace #pluck_first monkey patch with native #pick (#467) 2023-05-09 12:59:41 +08:00
jobs FIX: Display assignments in user menu properly 2023-11-08 15:26:57 +01:00
lib FEATURE: Add a fallback to auto-assign 2023-11-22 10:11:15 +01:00
models DEV: Rewrite post-migration in pure SQL 2023-11-15 09:50:54 +01:00
requests FIX: Display assignments in user menu properly 2023-11-08 15:26:57 +01:00
serializers DEV: Bump rubocop-discourse and correct violations (#409) 2022-12-23 19:55:31 +00:00
support DEV: Bump rubocop-discourse and correct violations (#409) 2022-12-23 19:55:31 +00:00
system DEV: Update tests for core change (#525) 2023-11-15 09:23:36 +00:00
plugin_spec.rb FIX: Display assignments in user menu properly 2023-11-08 15:26:57 +01:00