Page MenuHomePhabricator

[web] Make ChatThreadComposer search bar auto-focus
ClosedPublic

Authored by ashoat on Apr 11 2023, 1:57 PM.
Tags
None
Referenced Files
F2907242: D7389.id25016.diff
Sun, Oct 6, 10:44 AM
Unknown Object (File)
Sun, Sep 29, 1:11 PM
Unknown Object (File)
Fri, Sep 13, 9:56 AM
Unknown Object (File)
Fri, Sep 13, 9:56 AM
Unknown Object (File)
Fri, Sep 13, 9:55 AM
Unknown Object (File)
Fri, Sep 13, 9:51 AM
Unknown Object (File)
Sun, Sep 8, 11:42 PM
Unknown Object (File)
Aug 17 2024, 1:12 PM
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
Branch
ashoat/webcomposer
Lint
No Lint Coverage
Unit
No Test Coverage