-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Story] Improve DMs #2254
Comments
About removing the 'this is the beginning of someone', there is also a version with 'this is the beginning of this conversation' that we could use for DMs if we wanted to. I'm just mentioning it in case this wasn't known. Also, just to confirm: on Android we're displaying way more state events than those, including some placeholders for power levels, room join rules, etc., which we'll probably want to remove (I think iOS is already hiding them). Do we want to hide any events of this kind from the timeline, not only the initial ones? |
Also, should removing the initial:
Be done to all rooms, or just DMs? @VolkerJunginger |
Yes, please! Thanks for pointing that out. |
no, for now just DMs. |
@VolkerJunginger I just realised we have this confirmation dialog too when leaving a room: Should we also have an alternate message changing room to conversation here? |
Is this true? If I leave a DM I cannot rejoin? |
Not until you're invited again by the other user, trying to open a DM with them would create a new one. But that wasn't what my question was about: we have several messages when leaving a room/DM and they all mention 'room' and not 'conversation'. Should we create alternative texts for all those? When a room is private:
When a room will be empty after you leave:
The generic one:
|
ok, that helps. Then we need an alternative for DMs. Given the info above I would go with this: | "Are you sure to leave this conversation? You will only be able to rejoin when being invited by [username]" Would that be possible? |
Sure, I just wanted to confirm that's what we wanted to do. I'll create alternative texts for all those in localazy and add to the tasks to do to use these new strings for DMs. |
@VolkerJunginger sorry, another question. We want to remove the 'You created the room' message, but does it mean for both the user that created the DM and the invited user? So the invited user wouldn't see 'Someone created the room' either? I think it's fine since the user will have to accept the invite and they should know they didn't create the room, but just double checking. |
No need to be sorry. You have way more info looking at the code that I do just looking at the apps - I appreciate you bringing these questions up. Yes, remove for both users. |
@VolkerJunginger Opened up these two issues for having RRs only displayed on messages and not on state events, if you feel they should be included in a separate story/issue that needs to be specced out here they are: |
matrix-org/matrix-rust-sdk#3025 is now merged, but it needs to be implemented in the clients yet. Be aware the API used for if (!roomListItem.isTimelineInitialized()) {
roomListItem.initTimeline(eventFilters) // or null/nil if you don't want to pass any filter
}
roomListItem.fullRoom() The filters I've added myself are: val eventFilters = TimelineEventTypeFilter.exclude(
listOf(
FilterStateEventType.ROOM_ALIASES,
FilterStateEventType.ROOM_CANONICAL_ALIAS,
FilterStateEventType.ROOM_GUEST_ACCESS,
FilterStateEventType.ROOM_HISTORY_VISIBILITY,
FilterStateEventType.ROOM_JOIN_RULES,
FilterStateEventType.ROOM_PINNED_EVENTS,
FilterStateEventType.ROOM_POWER_LEVELS,
FilterStateEventType.ROOM_SERVER_ACL,
FilterStateEventType.ROOM_TOMBSTONE,
FilterStateEventType.SPACE_CHILD,
FilterStateEventType.SPACE_PARENT,
FilterStateEventType.POLICY_RULE_ROOM,
FilterStateEventType.POLICY_RULE_SERVER,
FilterStateEventType.POLICY_RULE_USER,
).map(FilterTimelineEventType::State)
) |
Just opened a PR for it on El-X-iOS: |
Please also update the localazy translations. |
Story
This story lists task to improve the UX for DMs
Leads
Dependencies
Sign-offs
Android
iOS
Scope
Android
iOS
Rust
TimelineEventTypeFilter
matrix-org/matrix-rust-sdk#3025Out of scope
We decided that the work on read receipts will be done in a broader epic to get them right. The following tasks will then happen later:
- element-hq/element-x-android#2311
- matrix-org/matrix-rust-sdk#3065
They have a dependency on the timeline cache we are going to do this quarter.
The text was updated successfully, but these errors were encountered: