HomePhabricator
Diffusion Comm 4a8debda7133

[native] Add mappaing from nux tips to button onPress params

Description

[native] Add mappaing from nux tips to button onPress params

Summary:
issue: ENG-8617
A handler will display one tip, then pressing on ok will navigate to the next tip and so on. So we need to be able to provide each tip with coordinates and params for the next tip.
We will do this like so: route.params will include a tipKey, and the tip will fetch its coordinates from the context. It will also use this getTipCallbackParams function to get params for the next tip it has to navigate to.

Test Plan: Tested with later diffs - tested that this solution works and it is possible to navigate to next tips

Reviewers: tomek, will

Reviewed By: tomek

Subscribers: ashoat

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

Details

Provenance
inkaAuthored on Aug 14 2024, 3:47 AM
Reviewer
tomek
Differential Revision
D13077: [native] Add mappaing from nux tips to button onPress params
Parents
rCOMMeafdf064867d: [native] Add possibility to display nux tip above an item
Branches
Unknown
Tags
Unknown