Page MenuHomePhabricator

[web] Introduce `useMessageTooltipSidebarAction` hook
ClosedPublic

Authored by jacek on Aug 23 2022, 5:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 1:52 AM
Unknown Object (File)
Thu, Nov 7, 4:20 PM
Unknown Object (File)
Thu, Nov 7, 3:15 PM
Unknown Object (File)
Thu, Nov 7, 2:03 PM
Unknown Object (File)
Thu, Nov 7, 12:31 PM
Unknown Object (File)
Mon, Oct 28, 5:06 AM
Unknown Object (File)
Mon, Oct 28, 5:06 AM
Unknown Object (File)
Mon, Oct 28, 5:06 AM
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