Issue 3643: Focus on Username on login
Review Request #6731 — Created Jan. 4, 2015 and submitted
Originally, the cursor focus would not be on the Username field in the login page. This resulted in users have to press tab multiple times or click on the Username field before filling in the username. With the fix, autofocus is added to the Username field so that the Username field is focused by default.
- Reloaded the login page, and made sure that cursor / focus is on Username field.
- Ensured login by email is still functional.
- Attempted login
- Attempted to change focus
Change Summary:
Removed whitespaces on empty line
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+5 -2) |
-
Tool: Pyflakes Processed Files: reviewboard/accounts/forms/auth.py Tool: PEP8 Style Checker Processed Files: reviewboard/accounts/forms/auth.py
-
<p>The description of the review request should be more descriptive. Briefly describe the bug and how the fix works.</p>
-
reviewboard/accounts/forms/auth.py (Diff revision 2) This change makes the docstring for the Authentication form only contain
"Form used for user logins."
Move the username field so that it occurs after the docstring.
Change Summary:
Modifying code and review request description based on Barret's feedback
Description: |
|
||||||
---|---|---|---|---|---|---|---|
Commit: |
|
||||||
Diff: |
Revision 3 (+4) |