Page MenuHomePhabricator

[native] introduce get reactionSelectionPopoverLocation
AbandonedPublic

Authored by ginsu on Jan 29 2023, 8:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 5:30 AM
Unknown Object (File)
Apr 17 2024, 2:10 PM
Unknown Object (File)
Apr 17 2024, 2:09 PM
Unknown Object (File)
Apr 17 2024, 1:59 PM
Unknown Object (File)
Mar 7 2024, 1:25 PM
Unknown Object (File)
Feb 22 2024, 7:57 PM
Unknown Object (File)
Feb 22 2024, 7:36 PM
Unknown Object (File)
Feb 22 2024, 8:14 AM
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