Project

General

Profile

action #137132

Updated by tinita about 1 year ago

## Motivation 

 When investigating why a certain job is not assigned, it's tedious to find out which workers would be matching. 
 * 1. You have to copy the WORKER_CLASS manually 
 * 2. On the worker page, you cannot always get the expected results because in the worker search field 
   * 2a. a string like `foobar,baz` might not match a worker `foobar,something,baz` 
   * 2b. a string like `foo` might falsely match a worker `foo_bar` 

 ## Acceptance Criteria 

 * AC1: Searching on the worker page for a string `foo` matches only `foo` and not `foo_bar` (optionally via a checkbox, button, so that one can still search for substrings) 
 * AC2: Searching on the worker page for a string `foo,bar` matches workers that have `foo` and `bar` anywhere in their class.  
 * AC3: One can search for such a string via url, e.g. `/admin/workers?match=foo,bar`, for easy sharing and bookmarking 
 * AC4: AC3: A link from a job WORKER_CLASS points to the worker page with that string already in the URL 

 ## Suggestions 
 * for AC1: Either make a checkbox for exact matching, or do that by default and allow wildcards

Back