Page MenuHomePhabricator

[web] Make ChatThreadComposer search bar auto-focus
ClosedPublic

Authored by ashoat on Apr 11 2023, 1:57 PM.
Tags
None
Referenced Files
F2195630: D7389.diff
Fri, Jul 5, 10:54 AM
Unknown Object (File)
Wed, Jun 19, 4:47 PM
Unknown Object (File)
Tue, Jun 18, 11:54 AM
Unknown Object (File)
Tue, Jun 11, 3:23 PM
Unknown Object (File)
May 29 2024, 6:44 AM
Unknown Object (File)
May 26 2024, 6:02 AM
Unknown Object (File)
May 26 2024, 3:35 AM
Unknown Object (File)
May 13 2024, 10:11 AM
Subscribers

Details

Summary

While working on D7388, I noticed that I had to do an extra click to get to the search bar after opening up the composer. I figured we can improve this experience by auto-focusing it.

Test Plan

Make sure ChatThreadComposer auto-focuses when open, both by pressing the "Create new chat" button, but also when loading it directly by navigating to http://localhost:3000/comm/chat/thread/new/

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable