Skip to content
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

fix(MessagesSystemGroup): Follow-up correct collapsed property #11992

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

DorraJaouad
Copy link
Contributor

@DorraJaouad DorraJaouad commented Apr 2, 2024

☑️ Resolves

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

Both screenshots have last read message is the last system message shown

🏚️ Before 🏡 After
image image

🚧 Tasks

TO-DO next:

  • MessagesSystemGroup component should contain only one group (1 combined message and its collapsed messages)
  • Move groupIsCollapsed logic to MessagesList, so it can maintain manual collapsed state when switching between conversations.

🏁 Checklist

  • 🌏 Tested with Chrome, Firefox and Safari or should not be risky to browser differences
  • 🖥️ Tested with Desktop client or should not be risky for it
  • 🖌️ Design was reviewed, approved or inspired by the design team
  • ⛑️ Tests are included or not possible
  • 📗 User documentation in https://github.com/nextcloud/documentation/tree/master/user_manual/talk has been updated or is not required

@DorraJaouad DorraJaouad added regression feature: chat 💬 Chat and system messages feature: frontend 🖌️ "Web UI" client labels Apr 2, 2024
@DorraJaouad DorraJaouad added this to the 💙 Next Major (30) milestone Apr 2, 2024
@DorraJaouad DorraJaouad self-assigned this Apr 2, 2024
@DorraJaouad DorraJaouad force-pushed the fix/noid/unread-marker-in-system-messages branch from 1557843 to 35f5b39 Compare April 3, 2024 07:58
@DorraJaouad DorraJaouad requested a review from ShGKme April 4, 2024 09:46
@DorraJaouad DorraJaouad requested a review from Antreesy April 8, 2024 07:35
@DorraJaouad DorraJaouad force-pushed the fix/noid/unread-marker-in-system-messages branch 2 times, most recently from a56875f to 7863759 Compare April 8, 2024 22:10
…essage type to be dependent on the length of messages in the group. If it is only one, it is forcibly and always not collapsed ( it is a normal system messages without combined header)

Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
@DorraJaouad DorraJaouad force-pushed the fix/noid/unread-marker-in-system-messages branch from 7863759 to f083e52 Compare April 9, 2024 07:35
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested

@DorraJaouad DorraJaouad merged commit fd09f89 into main Apr 9, 2024
45 checks passed
@DorraJaouad DorraJaouad deleted the fix/noid/unread-marker-in-system-messages branch April 9, 2024 08:00
@DorraJaouad
Copy link
Contributor Author

/backport to stable29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants