kdeconnect-kde/smsapp/qml
Simon Redman a7db3ab5e1 [Desktop] Update conversation list when a new message arrives
Summary:
When a new message is delivered, the conversation list should update by changing the preview text and re-sorting the conversations

Bonus bug discovered and fixed:  previously, when the conversations list was being populated, it made a request for the first message in every conversation. This would be fine if the conversationdbusinterface pulled from local cache. However, this actually triggers a request to the phone for *every* conversation.

This should be handled differently in conversationdbusinterface's requestConversation as well, but that's a project for a later day (TODO comments added)

Test Plan:
 - Launch SMS app
 - Verify conversations list appears
 - Verify lack of massive stream of debug output indicating lots of messages for the wrong conversation are being received
 - Verify that opening a particular conversation shows the messages after a short delay while the backend fetches the content from the phone
 - Verify that receiving a new message into an existing conversation updates the conversation list

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: nicolasfella, apol, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D15608
2018-10-07 21:46:39 -06:00
..
ChatMessage.qml Refine SMS conversation view 2018-08-06 00:09:46 +02:00
ConversationDisplay.qml Set view to track new elements as they are added 2018-09-16 15:52:44 -06:00
ConversationList.qml [SMS app] Mask regex special characters in search box 2018-08-06 13:07:23 +02:00
main.qml [smsapp] Use ApplicationHeader instead of ToolbarApplicationHeader 2018-09-27 18:17:51 +02:00
RoundImage.qml Refine SMS conversation view 2018-08-06 00:09:46 +02:00