session-ios icon indicating copy to clipboard operation
session-ios copied to clipboard

feat: Implement "scroll-back" to latest message when navigating replies

Open f-person opened this issue 1 year ago • 2 comments

Contributor checklist

  • [x] My commits are rebased on the latest master branch
  • [x] My commits are in nice logical chunks
  • [x] My contribution is fully baked and is ready to be merged as is
  • [x] I have tested my contribution on these devices:
  • iPad Air (5th generation) on Simulator; iOS 16.4

Description

This commit adds a navigation history for quoted messages, such as if Alice navigated to message A by pressing the "quoted message" inside the reply message B and pressed the "scroll down button", the chat will be scrolled back to message B instead of the very bottom. This is true for as many replies as the user navigates through. All the messages higher than the lowest fully visible message are automatically cleared from the stack as the user scrolls.

This feature makes it easier to read threaded conversations, especially in scenarios with much to catch up on. This is most useful in group chats and communities.

Demo screen recording:

https://github.com/oxen-io/session-ios/assets/31893391/02b25be6-619f-4594-887a-c6de8572149e

f-person avatar Jul 28 '23 17:07 f-person

@RyanRory PTL :)

f-person avatar Jul 28 '23 17:07 f-person

I'll add this to the planning backlog, but will require some review and will be fairly low priority for now considering other tasks ongoing (Push notification and disappearing message overhauls)

KeeJef avatar Jul 31 '23 05:07 KeeJef