Page MenuHomePhabricator

Autofocus form control for adding TOTP codes
ClosedPublic

Authored by amckinley on Feb 7 2019, 7:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 8:50 AM
Unknown Object (File)
Mon, Dec 2, 4:09 AM
Unknown Object (File)
Wed, Nov 27, 2:18 AM
Unknown Object (File)
Nov 23 2024, 4:44 AM
Unknown Object (File)
Nov 19 2024, 1:29 AM
Unknown Object (File)
Nov 14 2024, 6:55 PM
Unknown Object (File)
Nov 11 2024, 3:22 AM
Unknown Object (File)
Nov 7 2024, 2:09 AM
Subscribers

Details

Summary

Ref D20122. This is something I wanted in a bunch of places. Looks like at some point the most-annoying one (autofocus for entering TOTOP codes) already got fixed at some point.

Test Plan

Loaded the form, got autofocus as expected.

Diff Detail

Repository
rP Phabricator
Branch
autofocus (branched from master)
Lint
Lint Errors
SeverityLocationCodeMessage
Error/Users/amckinley/src/phacility/core/lib/libphutil/src/filesystem/Filesystem.php:428PHL1Unknown Symbol
Error/Users/amckinley/src/phacility/core/lib/libphutil/src/filesystem/Filesystem.php:568PHL1Unknown Symbol
Unit
Tests Passed
Build Status
Buildable 21885
Build 29879: Run Core Tests
Build 29878: arc lint + arc unit

Event Timeline

When forms load in an Ajax dialog, I think we autofocus the first input, but don't do that if dialogs load on standalone pages. I don't think this can hurt, at least.

This revision is now accepted and ready to land.Feb 7 2019, 7:48 PM
This revision was automatically updated to reflect the committed changes.