element-x-ada/features
David Langley 0b95ef09b7
Reaction summary view and sorting reactions by count and then timestamp (#942)
* Sort reactions by count and then timestamp

- Sort reactions within an aggregation by timestamp descending. This puts the most recent at the top, useful in cases like the reaction summary view or getting the most recent reaction.
- Sort aggregated reactions by count and then timestamp ascending, using the most recent reaction in the aggregation. This appends new aggregations on the end of the reaction layout.

* Add reaction summary view

* fix warnings

* Fix test unit tests and add sorting tests

- Fix broken build in test code
- Add a test for reaction sorting

* Remove default closure, move logic to presenter and add tests

* Update screenshots

* Fix imports

* Revert Screenshots I didn't update

* Fix imports remove screetshots

* Update screenshots

* Update screenshots

* Address comments.

* Update screenshots

* Remove unnecessary snapshotFlow

* Fix code quality checks

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-31 17:39:20 +00:00
..
analytics Merge pull request #967 from vector-im/feature/bma/detektConfig 2023-07-28 16:47:26 +02:00
createroom Merge pull request #967 from vector-im/feature/bma/detektConfig 2023-07-28 16:47:26 +02:00
ftue Sync Strings from Localazy 2023-07-24 00:10:09 +00:00
invitelist Merge pull request #967 from vector-im/feature/bma/detektConfig 2023-07-28 16:47:26 +02:00
leaveroom Update dependency app.cash.molecule:molecule-runtime to v1 (#925) 2023-07-20 07:36:19 +02:00
location Enable detekt rule PreviewPublic and fix existing issues. 2023-07-26 10:08:39 +02:00
login Merge pull request #967 from vector-im/feature/bma/detektConfig 2023-07-28 16:47:26 +02:00
logout Cleanup: there are no androidTest on those modules. 2023-07-24 12:41:02 +02:00
messages Reaction summary view and sorting reactions by count and then timestamp (#942) 2023-07-31 17:39:20 +00:00
networkmonitor Improve rendering of offline banner regarding fontScale. 2023-07-27 15:04:32 +02:00
onboarding Sync strings. 2023-07-27 12:16:04 +02:00
preferences Enable detekt rule PreviewPublic and fix existing issues. 2023-07-26 10:08:39 +02:00
rageshake Merge pull request #967 from vector-im/feature/bma/detektConfig 2023-07-28 16:47:26 +02:00
roomdetails Merge pull request #986 from vector-im/feature/bma/bigFontSizeImprovement 2023-07-28 17:02:29 +02:00
roomlist Merge pull request #986 from vector-im/feature/bma/bigFontSizeImprovement 2023-07-28 17:02:29 +02:00
verifysession Enable detekt rule PreviewPublic and fix existing issues. 2023-07-26 10:08:39 +02:00