Page MenuHomePhabricator

[native] introduce get reactionSelectionPopoverLocation
AbandonedPublic

Authored by ginsu on Jan 29 2023, 8:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 11:56 AM
Unknown Object (File)
Fri, Nov 1, 11:56 AM
Unknown Object (File)
Fri, Nov 1, 11:32 AM
Unknown Object (File)
Sat, Oct 26, 9:37 PM
Unknown Object (File)
Sep 30 2024, 10:23 AM
Unknown Object (File)
Sep 30 2024, 10:23 AM
Unknown Object (File)
Sep 30 2024, 10:19 AM
Unknown Object (File)
Sep 27 2024, 7:59 PM
Subscribers

Details

Reviewers
atul
tomek
Summary

introduce get reactionSelectionPopoverLocation. This will be used to determine if the reaction selection popover should be placed above or below the message


Depends on D6448
Linear Task: ENG-2779

Test Plan

flow and this will be further tested in a subsequent diff

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu added reviewers: atul, tomek.
ginsu edited the summary of this revision. (Show Details)
ginsu edited the summary of this revision. (Show Details)
ginsu requested review of this revision.Jan 29 2023, 8:36 PM
tomek requested changes to this revision.Jan 30 2023, 4:59 AM

I'm not really sure what's the plan here, probably it will be clarified later, but at this point it seems like we're hacking the solution by introducing something really similar to the tooltip. It feels like a better solution might be to extract the common part and use it inside our old tooltip and reaction tooltip, but I'm not yet sure.

native/navigation/tooltip.react.js
311

This function is really similar to tooltipLocation. What is the reason behind introducing it?

This revision now requires changes to proceed.Jan 30 2023, 4:59 AM

This diff is no longer relevant since we don't want reactionSelectionPopoverLocation in the tooltip component