Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort pinned messages by time of pinning #12402

Merged
merged 1 commit into from
Aug 19, 2021

Conversation

briansztamfater
Copy link
Member

@briansztamfater briansztamfater commented Jul 30, 2021

fixes #12290

Summary

This PR adds sorting pinned messages by time of pinning and also removes separation of pinned messages in timeframes

Screenshots

Platforms

  • Android
  • iOS
Functional
  • 1-1 chats
  • group chats

Steps to test

  • Open Status
  • Pin some messages
  • Open pinned messages screen
  • Verify that pinned messages are sorted by time of pinning

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Jul 30, 2021

Jenkins Builds

Click to see older builds (9)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 58a9343 #1 2021-07-30 21:25:06 ~16 min android 📦apk 📲
✔️ 58a9343 #1 2021-07-30 21:25:06 ~16 min android-e2e 📦apk 📲
✔️ 58a9343 #1 2021-07-30 21:30:31 ~22 min ios 📦ipa 📲
✔️ 66cb2bf #2 2021-07-30 21:29:22 ~11 min android 📦apk 📲
✔️ 66cb2bf #2 2021-07-30 21:30:11 ~12 min android-e2e 📦apk 📲
✔️ 66cb2bf #2 2021-07-30 21:36:30 ~18 min ios 📦ipa 📲
✔️ 4cdd5c2 #3 2021-08-09 14:36:04 ~11 min android 📦apk 📲
✔️ 4cdd5c2 #3 2021-08-09 14:38:48 ~14 min android-e2e 📦apk 📲
✔️ 4cdd5c2 #3 2021-08-09 14:42:26 ~18 min ios 📦ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 39ea692 #4 2021-08-17 23:29:53 ~11 min android 📦apk 📲
✔️ 39ea692 #4 2021-08-17 23:32:13 ~14 min android-e2e 📦apk 📲
✔️ 39ea692 #4 2021-08-17 23:33:18 ~15 min ios 📦ipa 📲
✔️ b1d2ba0 #5 2021-08-17 23:50:45 ~11 min android-e2e 📦apk 📲
✔️ b1d2ba0 #5 2021-08-17 23:53:41 ~14 min android 📦apk 📲
✔️ b1d2ba0 #5 2021-08-18 00:00:01 ~20 min ios 📦ipa 📲

@churik
Copy link
Member

churik commented Aug 9, 2021

@briansztamfater can we rebase PR please after merging #12411?

@briansztamfater
Copy link
Member Author

Rebase done @churik

@qoqobolo qoqobolo moved this from REVIEW to E2E Tests in Pipeline for QA Aug 10, 2021
@qoqobolo qoqobolo moved this from E2E Tests to IN TESTING in Pipeline for QA Aug 10, 2021
@qoqobolo qoqobolo self-assigned this Aug 10, 2021
@qoqobolo
Copy link
Contributor

@briansztamfater thank you, works fine!

The only thing is that currently, the newest pinned messages are placed at the bottom of the list. On Desktop they are at the top. Could you change the order accordingly, please?

Steps:

  • In group chat send messages 1 > 2 > 3
  • Pin messages 1 > 2 > 3
    Expected result: pinned messages are displayed as 3 > 2 > 1 in the list
    Actual result: pinned messages are displayed as 1 > 2 > 3

@briansztamfater
Copy link
Member Author

@qoqobolo I can easily change that! Will do and let you know

@qoqobolo qoqobolo moved this from IN TESTING to CONTRIBUTOR in Pipeline for QA Aug 16, 2021
@qoqobolo
Copy link
Contributor

@briansztamfater just a reminder of this one :)
Any updates here?

@briansztamfater
Copy link
Member Author

@qoqobolo sorry for the delay, changes are now done!

@qoqobolo qoqobolo moved this from CONTRIBUTOR to REVIEW in Pipeline for QA Aug 18, 2021
@qoqobolo qoqobolo moved this from REVIEW to IN TESTING in Pipeline for QA Aug 18, 2021
@qoqobolo
Copy link
Contributor

Thank you @briansztamfater!
PR can be merged.

@qoqobolo qoqobolo moved this from IN TESTING to MERGE in Pipeline for QA Aug 18, 2021
Signed-off-by: Brian Sztamfater <brian@status.im>
@briansztamfater briansztamfater merged commit 0acca32 into develop Aug 19, 2021
Pipeline for QA automation moved this from MERGE to DONE Aug 19, 2021
@briansztamfater briansztamfater deleted the bug/sort-pinned-messages branch August 19, 2021 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Pinned messages are sorted by time of initial posting, not by time of pinning
5 participants