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)
Wed, Mar 13, 8:53 PM
Unknown Object (File)
Thu, Mar 7, 3:54 AM
Unknown Object (File)
Thu, Mar 7, 3:54 AM
Unknown Object (File)
Thu, Mar 7, 3:53 AM
Unknown Object (File)
Tue, Mar 5, 6:37 AM
Unknown Object (File)
Feb 26 2024, 6:06 PM
Unknown Object (File)
Feb 18 2024, 7:17 AM
Unknown Object (File)
Feb 18 2024, 6:38 AM

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

web/chat/chat-input-bar.react.js
562–571 ↗(On Diff #20156)

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