Page MenuHomePhabricator

[web] Rename `MessageActionButtons` to `MessageTooltip`
ClosedPublic

Authored by abosh on Jul 1 2022, 2:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 3:24 PM
Unknown Object (File)
Fri, Nov 8, 3:24 PM
Unknown Object (File)
Fri, Nov 8, 3:23 PM
Unknown Object (File)
Fri, Nov 8, 3:23 PM
Unknown Object (File)
Fri, Nov 8, 3:22 PM
Unknown Object (File)
Fri, Nov 8, 3:19 PM
Unknown Object (File)
Sun, Oct 27, 4:27 AM
Unknown Object (File)
Fri, Oct 25, 3:36 PM
Subscribers

Details

Summary

Relevant Linear issue here. @ashoat and I discussed this today and determined that since the timestamp was moved into MessageActionButtons (see D3571) it doesn't make sense that the component called MessageActionButtons contains the action buttons and the timestamp. Instead, renamed it to something that better encapsulates the component, which is a tooltip that opens when a user hovers over a message or RobotextMessage.

Test Plan

Replaced all occurrences of MessageActionButtons, messageAction that had to do with MessageActionButtons. Did not replace the instances of messageActionButtons in the CSS for MessageActionButtons because those were actually pertaining to the message ation buttons. Everything else (like in ComposedMessage or RobotextMessage) were just referring to the tooltip as a whole.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 1 2022, 2:06 PM
Harbormaster failed remote builds in B10213: Diff 14097!
tomek added inline comments.
web/chat/composed-message.react.js
148 ↗(On Diff #14098)
This revision is now accepted and ready to land.Jul 4 2022, 6:06 AM

address inline feedback (had a lowercase m)

This revision was landed with ongoing or failed builds.Jul 5 2022, 7:22 AM
This revision was automatically updated to reflect the committed changes.