Page MenuHomePhabricator

[web] Make ChatThreadComposer search bar auto-focus
ClosedPublic

Authored by ashoat on Apr 11 2023, 1:57 PM.
Tags
None
Referenced Files
F3507461: D7389.id25016.diff
Fri, Dec 20, 8:56 PM
F3507380: D7389.id25037.diff
Fri, Dec 20, 8:36 PM
F3506682: D7389.diff
Fri, Dec 20, 5:52 PM
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
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