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

Chat in sidebar doesn't update correctly #4540

Closed
schiessle opened this issue Nov 5, 2020 · 7 comments
Closed

Chat in sidebar doesn't update correctly #4540

schiessle opened this issue Nov 5, 2020 · 7 comments
Labels
Milestone

Comments

@schiessle
Copy link
Member

schiessle commented Nov 5, 2020

Not sure if this is a Talk issue or more a general server/sidebar issue. Feel free to move it to another repository.

When I open a file which is not yet shared and go to the chat tab I see this:

image

Now I click on "share file" which lead me to the share dialog, I share the file and go back to the chat tab.

I would now expect that I can start chatting directly, but I still see the same as on the screenshot above. Only after closing the sidebar and opening it again I can start chatting. The chat tab should update automatically, either triggered by the share operation or by switching back to the chat tab.

@PVince81
Copy link
Member

PVince81 commented Nov 5, 2020

Confirmed as this has annoyed me as well.

Need to see after #4291 is merged as it integrates with modified/new APIs from the files app. If that bit is not enough, might need extra handling.

@danxuliu
Copy link
Member

The bug is in the Files app, and it is caused by the FileInfo object not being properly updated after a file is shared. You can see that too in the Files app itself; after a file is shared the Shared text is not shown for that file in the file list until the list is reloaded.

It is a regression introduced in Nextcloud 18 if I recall correctly, when the sharing tab was moved to Vue.

@nickvergessen
Copy link
Member

It is a regression introduced in Nextcloud 18

No, this bug is there since ages, more like ownCloud times

@danxuliu
Copy link
Member

It is a regression introduced in Nextcloud 18

No, this bug is there since ages, more like ownCloud times

No, it is a regression introduced in Nextcloud 18. In Nextcloud 17 the FileInfo object is properly updated when a file is shared, so the Shared text is immediately shown for that file in the file list without having to reload. And as the FileInfo object is properly updated with Talk 7 the Share this file / Join this conversation button in the Chat tab of the Files app sidebar works as expected.

@nickvergessen
Copy link
Member

Never the less it's something that needs fixing in Server? Is it already fixed with the new sidebar thingy?

@danxuliu
Copy link
Member

Never the less it's something that needs fixing in Server?

Yes.

Is it already fixed with the new sidebar thingy?

No :-(

@nickvergessen
Copy link
Member

So closing here.

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

No branches or pull requests

4 participants