Refactor #7174

Increase delay on autocomplete fields

Added by Tomer Brisker over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Tomer Brisker
Category:Web Interface
Target version:Sprint 28
Difficulty:trivial Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/1703
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

Description

Currently every time a letter is pressed in an auto complete field, an AJAX request is fired causing the server to run 3-4 sql queries.
Adding a small delay will cause the request to be fired only once the user stops typing, saving requests and queries in case the user types in several characters in a row.

Associated revisions

Revision 233eea0b
Added by Tomer Brisker over 3 years ago

Fixes #7174 - add delay on autocomplete

Revision 728946ac
Added by Tomer Brisker over 3 years ago

Fixes #7174 - add delay on autocomplete

(cherry picked from commit 233eea0b63d565fd399af36013efeac2947208d1)

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to Sprint 28
  • Pull request https://github.com/theforeman/foreman/pull/1703 added

#2 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.6.0

#3 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF