Page MenuHomePhabricator

[web] Introduce `useMessageTooltipSidebarAction` hook
ClosedPublic

Authored by jacek on Aug 23 2022, 5:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 30, 9:27 PM
Unknown Object (File)
Tue, Apr 30, 12:41 PM
Unknown Object (File)
Sun, Apr 28, 11:09 PM
Unknown Object (File)
Sun, Apr 28, 11:09 PM
Unknown Object (File)
Sun, Apr 28, 11:09 PM
Unknown Object (File)
Sun, Apr 28, 11:06 PM
Unknown Object (File)
Sun, Apr 28, 10:39 PM
Unknown Object (File)
Tue, Apr 9, 5:00 PM
Subscribers

Details

Summary

Introduce tooltip action for "go to thread"/"create thread".

Test Plan

Flow; Tested with the rest of diffs stack.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jacek held this revision as a draft.
tomek requested changes to this revision.Aug 26 2022, 6:50 AM
tomek added inline comments.
web/chat/tooltip-utils.js
320–324 ↗(On Diff #15857)

The names are confusing. The names suggest that these are functions that are called after a certain action was performed, e.g. onThreadOpen should be a function that is called after a thread was opened. But in our case, the intention is different and these functions perform the actions themself, so this should be just e.g. openThread.

This revision now requires changes to proceed.Aug 26 2022, 6:50 AM
web/chat/tooltip-utils.js
320–324 ↗(On Diff #15857)

Totally agree

This revision is now accepted and ready to land.Sep 2 2022, 3:06 AM