Page MenuHomePhabricator

[web] Make ChatThreadComposer search bar auto-focus
ClosedPublic

Authored by ashoat on Apr 11 2023, 1:57 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Nov 7 2024, 10:19 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable