Update message items
AbandonedPublic

Authored by alessandro on Feb 7 2020, 11:09 PM.

Diff Detail

Repository
R865 Ruqola
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 22221
Build 22239: arc lint + arc unit
alessandro requested review of this revision.Feb 7 2020, 11:09 PM
alessandro created this revision.
alessandro updated this revision to Diff 75237.Feb 8 2020, 12:14 PM
  • Make MessageBase an Item instead of a ColumnLayout
  • Make MessageBase mouse aware
  • Show reaction button only when hovering on a message
alessandro retitled this revision from Add missing include to Update message items.Feb 8 2020, 12:17 PM
mlaurent requested changes to this revision.Feb 8 2020, 12:43 PM
mlaurent added inline comments.
src/widgets/room/roomwidget.cpp
39

Another commit please

This revision now requires changes to proceed.Feb 8 2020, 12:43 PM
alessandro abandoned this revision.Feb 8 2020, 1:11 PM

Couldn't remove the commit through arc, created a new patch with the QML changes only https://phabricator.kde.org/D27244

kfunk added a comment.Feb 10 2020, 7:28 AM

Show reaction button only when hovering on a message

Nice, tried to do that with extra MouseAreas but of course that didn't work out in QML ;)

One issue: When hovering through the the chat window the width of the message text is altered, looks a bit cumbersome. maybe it makes sense to just overlay the icon over the message text like RC does?

Will push this nevertheless.

kfunk added a comment.Feb 10 2020, 7:42 AM

One issue: When hovering through the the chat window the width of the message text is altered, looks a bit cumbersome. maybe it makes sense to just overlay the icon over the message text like RC does?

Ah, fixed by: https://phabricator.kde.org/D27249 -- thanks!