Page MenuHomePhabricator

Autofocus form control for adding TOTP codes
ClosedPublic

Authored by amckinley on Feb 7 2019, 7:37 PM.
Tags
None
Referenced Files
F13083096: D20128.diff
Wed, Apr 24, 10:26 PM
Unknown Object (File)
Sun, Apr 21, 5:15 PM
Unknown Object (File)
Fri, Mar 29, 2:14 PM
Unknown Object (File)
Tue, Mar 26, 1:27 PM
Unknown Object (File)
Tue, Mar 26, 1:26 PM
Unknown Object (File)
Tue, Mar 26, 1:26 PM
Unknown Object (File)
Tue, Mar 26, 1:25 PM
Unknown Object (File)
Mar 13 2024, 2:15 PM
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.