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

The display of New Message Line can be controlled by show-new-messages-divider #548

Open
smitea opened this issue Oct 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@smitea
Copy link

smitea commented Oct 20, 2024

Describe the feature

When I noticed in Google Chat, the new message line is displayed like this

  1. When a new message arrives, open the room and the new message line will be displayed

  2. When the room is opened for the second time, the new message line will disappear

As far as I know, in the code, show-new-messages-divider can only control whether unread messages need to be added to newMessages, and when I can't externally control how to clear newMessages

Describe the solution

I hope to add a watcher of showNewMessagesDivider in Room.vue, and clear newMessages when the new value of showNewMessagesDivider is false, so that users can keep the original business while also using their own business to handle how to display/disappear new message line

@smitea smitea added the enhancement New feature or request label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant