Page MenuHomePhabricator

[web] Make ChatThreadComposer search bar auto-focus
ClosedPublic

Authored by ashoat on Apr 11 2023, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 1:25 AM
Unknown Object (File)
Thu, Dec 5, 1:25 AM
Unknown Object (File)
Thu, Dec 5, 1:25 AM
Unknown Object (File)
Wed, Dec 4, 5:49 AM
Unknown Object (File)
Nov 8 2024, 4:02 PM
Unknown Object (File)
Nov 7 2024, 10:19 PM
Unknown Object (File)
Nov 5 2024, 4:54 AM
Unknown Object (File)
Nov 5 2024, 4:54 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