-
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] Better display for empty or deleted room topic #2705
Comments
It seems worth sharing that when redacting the topic for Problem 1, you lose the timeline history showing what the topic was previously: Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-01-28.at.12.08.57.mp4 |
@mxandreas What do you think? Should we ignore fixing Problem 1 to avoid the topic history being deleted or are we ok with that happening? This is what it looks like if you set a topic and remove it 3 times in a row: |
To me it makes much more sense that if the user empties the field we simply render this as "You removed the room topic" but the previous topic remains in the timeline. And if I understood everything correctly, it means we would not do this part:
It is much safer to try this (and adjust based on feedback if needed) than the other way. |
Ok that makes sense, I'll close the tasks related to this part then. |
@langleyd I'm happy to put this one into my queue if you like, let me know what you think |
That would be great, thanks @Half-Shot ! |
Description
Current situation
When removing a room topic the status event in the room is “you have changed the topic in: “
The probem is the same on EW.
The problems
There are actually 3 problems in that:
""
inm.room.topic
.We should redact them.room.topic
state event as stated by the spec: Similarly, a redacted topic does not necessarily cause the topic to revert to what it was prior to the event - it causes the topic to be removed from the room.""
inm.room.topic
m.room.topic
is redacted.Solution
We are going to implement 2 things:
Redactm.room.topic
when the user empties the text field.""
) and redactedm.room.topic
: (code)Acceptance criteria
If the user saves the room topic empty, them.room.topic
state is redactedm.room.topic
state is redacted or empty (""
), the app displays "Xxxxx removed the room topic" or "You removed the room topic"Leads
Timesheet
Check the parent GH issue.
Dependencies
Out of scope
m.room.topic
state eventOpen questions
Questions
Subtasks
Android
iOS
Rust
Web
Sign-off
Android
iOS
Web
The text was updated successfully, but these errors were encountered: