Set view to track new elements as they are added
ClosedPublic

Authored by sredman on Sep 16 2018, 9:15 PM.

Details

Summary

Set the currentIndex of the ConversationDisplay to show the newest messages by default, but stay where the user positioned it if viewing older messages

Test Plan

Launch SMS App:

  • Select conversation
  • View should show the most recent messages
  • Receive new message
  • View should scroll to show the new message
  • Scroll up to view older messages
  • Receive new message
  • View should continue to show older messages and not scroll to the bottom

Diff Detail

Repository
R224 KDE Connect
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sredman created this revision.Sep 16 2018, 9:15 PM
Restricted Application added a project: KDE Connect. · View Herald TranscriptSep 16 2018, 9:15 PM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
sredman requested review of this revision.Sep 16 2018, 9:15 PM
nicolasfella accepted this revision.Sep 16 2018, 9:47 PM
nicolasfella added a subscriber: nicolasfella.

Nice!

This revision is now accepted and ready to land.Sep 16 2018, 9:47 PM
This revision was automatically updated to reflect the committed changes.