Page MenuHomePhabricator

[web] Introduce `useMessageTooltipSidebarAction` hook
ClosedPublic

Authored by jacek on Aug 23 2022, 5:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 12:30 AM
Unknown Object (File)
Sun, Dec 1, 7:33 PM
Unknown Object (File)
Tue, Nov 26, 1:05 AM
Unknown Object (File)
Tue, Nov 26, 12:19 AM
Unknown Object (File)
Nov 22 2024, 8:27 AM
Unknown Object (File)
Nov 11 2024, 1:52 AM
Unknown Object (File)
Nov 7 2024, 4:20 PM
Unknown Object (File)
Nov 7 2024, 3:15 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