]> dgit.raspbian.org Git - nextcloud-desktop.git/commit
Add TalkReply class and tests.
authorCamila <hello@camila.codes>
Sun, 23 Jan 2022 18:10:16 +0000 (19:10 +0100)
committerCamila <hello@camila.codes>
Thu, 17 Mar 2022 16:50:33 +0000 (17:50 +0100)
commit73bae8cd309e555d3caf932ffec31906c1f4b4cd
tree7b974049971b89fa2e3ea522801ddb28b8a9c279
parent9957287518b166e9c67a8b3e3a9af68c2a020a6d
Add TalkReply class and tests.

- Add struct TalkNotificationData to handle token and messageId.
- Handle chat and call notifications with the new struct.
- Add talk token and messageId to data roles in ActivityListModel.
- Add Talk Reply component to the ActivityList.
- User Loader to display the TalkReply component.
- Move Talk Reply from ActivityItem to ActivityItemContent due to PR #4186.
- Use TextField instead of Text.
- Disable send reply button instead of changing border color when field is empty.

Signed-off-by: Camila <hello@camila.codes>
18 files changed:
resources.qrc
src/gui/CMakeLists.txt
src/gui/systray.h
src/gui/tray/ActivityItem.qml
src/gui/tray/ActivityItemContent.qml
src/gui/tray/TalkReplyTextField.qml [new file with mode: 0644]
src/gui/tray/activitydata.h
src/gui/tray/activitylistmodel.cpp
src/gui/tray/activitylistmodel.h
src/gui/tray/notificationhandler.cpp
src/gui/tray/talkreply.cpp [new file with mode: 0644]
src/gui/tray/talkreply.h [new file with mode: 0644]
src/gui/tray/usermodel.cpp
src/gui/tray/usermodel.h
test/CMakeLists.txt
test/testtalkreply.cpp [new file with mode: 0644]
theme.qrc.in
theme/send.svg [new file with mode: 0644]