HomePhabricator
Diffusion Comm 743b663b08cd

[web] Keyboard support for typeahead [7/13] - Refactor…

Description

[web] Keyboard support for typeahead [7/13] - Refactor getTypeaheadTooltipActions using params as argument

Summary: That utility function takes a lot of arguments and someone suggested to refactor arguments as typed object so we get some extra typechecking here.

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

Reviewers: inka, kamil, ginsu, tomek

Reviewed By: inka, tomek

Subscribers: ashoat, atul, tomek, ginsu, kamil, inka

Differential Revision: https://phab.comm.dev/D6047