Page MenuHomePhabricator

[web] Keyboard support for typeahead [5/13] - Moved finding suggested users out of tooltip component
ClosedPublic

Authored by przemek on Dec 27 2022, 4:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 1:56 AM
Unknown Object (File)
Sat, Nov 23, 11:22 PM
Unknown Object (File)
Wed, Nov 13, 5:24 AM
Unknown Object (File)
Fri, Nov 8, 8:13 AM
Unknown Object (File)
Tue, Nov 5, 10:57 PM
Unknown Object (File)
Tue, Nov 5, 1:38 AM
Unknown Object (File)
Mon, Nov 4, 11:13 PM
Unknown Object (File)
Mon, Nov 4, 11:12 PM

Details

Summary

I moved logic user search out of tooltip component. It allows to simplify component and its rendering logic.
Now we only show overlay if we find any users in thread matching typed text.

Test Plan

Typeahead without keyboard support works.
Final tests performed in last diffs.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

web/chat/chat-input-bar.react.js
562–571

Early exit always please. Please keep this in mind going forward!

inka added a reviewer: tomek.
This revision is now accepted and ready to land.Dec 30 2022, 8:33 AM