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)
Sat, Dec 14, 12:22 AM
Unknown Object (File)
Nov 27 2024, 7:26 PM
Unknown Object (File)
Nov 27 2024, 7:17 PM
Unknown Object (File)
Nov 24 2024, 1:56 AM
Unknown Object (File)
Nov 23 2024, 11:22 PM
Unknown Object (File)
Nov 13 2024, 5:24 AM
Unknown Object (File)
Nov 8 2024, 8:13 AM
Unknown Object (File)
Nov 5 2024, 10:57 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
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