yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #30007
[Bug 1411892] Re: JS keyup/keydown making user create very difficult
** Changed in: horizon
Status: Fix Committed => Fix Released
** Changed in: horizon
Milestone: None => kilo-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1411892
Title:
JS keyup/keydown making user create very difficult
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
The users table (/identity/users/) in a particular environment
displays 800+ users on the page. I click "Create User" and the modal
dialog pops up. When I start entering User Name, with every character
that is entered, there is a pause of 4-5 seconds. Data entry is
practically unusable.
When I tested this against a local devstack instance, there is no such
behavior.
I then tested this against an environment that has ~200 users. The
issue re-occurred, but wasn't as severe as the initial environment,
leading me to conclude that the number of users was affecting the form
behavior.
I started digging in a bit deeper and found that the page invokes a
couple of javascript functions in the horizon.tabs.js file intended to
enable keyboard navigation between tabs in a form. The issue is not
noticeable on a page with a small DOM, but gets worse and worse the
more DOM elements are on the page. The issue is that the JS code goes
thru every DOM element on the page on keyup/keydown.
FWIW, I commented out the two keydown related functions in
horizon.tabs.js file, reloaded the web server and tried again to
create a new user. The form performed normally.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1411892/+subscriptions
References