Open Bug 1547863 Opened 6 years ago Updated 6 years ago

"Add new jobs (fuzzy)" filtering does not work

Categories

(Tree Management :: Treeherder: Frontend, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: botond, Unassigned)

Details

STR:

  1. Open https://treeherder.mozilla.org/#/jobs?repo=try&tier=1&revision=282cc1bc74be43b20ce2ea56e196ffd3eacf3e45
  2. From the action menu, select "Add new jobs (fuzzy)"
  3. Wait for the dialog to open up
  4. Type something into the filter textbox, such as "android"

Expected results:

The "Runnable Jobs" list is filtered to only show the jobs matching the entered word.

Actual results:

Nothing happens. I waited a while, also tried pressing Tab so focus leaves the filter textbox, to no avail.

Hey Wes-- Is this something you could look at?

Flags: needinfo?(wkocher)

Oh, you need to hit enter for the filter to be applied. Sorry if that isn't clear. Filtering 10000+ DOM elements on the fly was causing my browser to lock up (way slower than try fuzzy's filtering in the terminal), which seemed like a sub-par experience. Maybe I can also have an inactivity timer or add an on-blur event to do the same thing?

Flags: needinfo?(wkocher)

There is the concept of "debouncing" which can handle this. Several packages exist to help doing this. I'll leave this as a P3 since it sounds like there are some improvements that could be made.

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.