-
Notifications
You must be signed in to change notification settings - Fork 155
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
WIP Pinned events : add feature flag and pin/unpin actions #3255
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3255 +/- ##
===========================================
+ Coverage 76.11% 76.15% +0.04%
===========================================
Files 1647 1648 +1
Lines 38801 38825 +24
Branches 7533 7532 -1
===========================================
+ Hits 29535 29569 +34
+ Misses 5355 5353 -2
+ Partials 3911 3903 -8 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the changes LGTM!
@@ -40,6 +40,7 @@ sealed class TimelineItemAction( | |||
data object ReportContent : TimelineItemAction(CommonStrings.action_report_content, CompoundDrawables.ic_compound_chat_problem, destructive = true) | |||
data object EndPoll : TimelineItemAction(CommonStrings.action_end_poll, CompoundDrawables.ic_compound_polls_end) | |||
data object Pin : TimelineItemAction(CommonStrings.action_pin, CompoundDrawables.ic_compound_pin) | |||
//TODO use the Unpin compound icon when available. | |||
|
|||
// TODO use the Unpin compound icon when available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure about removing this TODO? The unpin icon is already in https://github.com/element-hq/compound-design-tokens, we just need to import the new icons in https://github.com/element-hq/compound-android and release a new version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe not 🫠 element-hq/compound-design-tokens#104
Content
TimelineActionPresenter
and related classes.Motivation and context
Closes #3212
Screenshots / GIFs
Tests
Tested devices
Checklist