-
Notifications
You must be signed in to change notification settings - Fork 731
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
Feature/aris/threads post release improvements #5959
Feature/aris/threads post release improvements #5959
Conversation
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 you have the correct feature version installed? In my builds everything is working as expected, I cannot replicate it. Check the video below: Screen_Recording_20220509-184704_Element.dbg_20220509185530.1.mp4 |
I just tested on a fresh install and it worked fine... so it's good for me! |
…ovements # Conflicts: # vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt # vector/src/main/java/im/vector/app/features/home/room/detail/search/SearchResultController.kt
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 for hte PR.
Only small remarks, nothing blocking for me (static review only)
@@ -136,4 +136,9 @@ | |||
<color name="shield_color_black">#17191C</color> | |||
<color name="shield_color_warning">#FF4B55</color> | |||
|
|||
<!-- Badge Colors --> | |||
<attr name="vctr_badge_color_border" format="color" /> | |||
<color name="vctr_badge_color_border_light">#FFFFFF</color> |
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.
Use palette_white
instead of hard-coded color?
@@ -2443,7 +2443,7 @@ class TimelineFragment @Inject constructor( | |||
|
|||
private fun onReplyInThreadClicked(action: EventSharedAction.ReplyInThread) { | |||
if (vectorPreferences.areThreadMessagesEnabled()) { | |||
navigateToThreadTimeline(action.eventId, action.startsThread) | |||
navigateToThreadTimeline(action.eventId, action.startsThread, true) |
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.
Add named parameter? Useful when reviewing on GH.
@@ -66,6 +67,7 @@ abstract class SearchResultItem : VectorEpoxyModel<SearchResultItem.Holder>() { | |||
val displayName = it.threadSummarySenderInfo?.displayName | |||
val avatarUrl = it.threadSummarySenderInfo?.avatarUrl | |||
avatarRenderer.render(MatrixItem.UserItem(userId, displayName, avatarUrl), holder.threadSummaryAvatarImageView) | |||
holder.threadSummaryConstraintLayout.onClick(threadSummaryListener) |
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.
This is not new, but the id threadSummaryConstraintLayout
should be renamed to something more generic like threadSummaryLayout
or threadSummaryContainer
. Applicable to some other view ids, and not a blocker.
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.
I updated searchThreadSummaryConstraintLayout
to searchThreadSummaryContainer
, here might be good to have something generic for future changes. However, sometimes it is useful to have the exact type (ConstraintLayout, TextView, ImageView, etc ) in the id while the developer knows at once the type.
…ovements # Conflicts: # vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
Matrix SDKIntegration Tests Results:
|
This PR contains some threads improvements. Reference link here
reply in thread
Light
Dark