Repository navigation
The icon of new comment in the share is missing #12027
Description
Activity
- addeddesignDesign, UI, UX, etc.Design, UI, UX, etc.
on Oct 25, 2018 @plyaskin Hey!
I'm not sure I get what you mean, the icon is shown when we have an unread comment, you want to add it all the time, having unread comment or not?@skjnldsv I could reproduce this (at least on master).
userAshares a folder touserBuserAadds a commentuserBrefreses sees no commentuserBadds a commentuserArefresesh sees no comment
I could get it to show once. But in general it is not visible properly.
@rullzer grid view?
List view
- Create a folder as
User0: ID is198 - Add comment as
User0 - Share folder to
User1 - As
User1check files: see folder. ID is198
On load
User0
getNumberOfUnreadCommentsForFolderrequest the node ID2
User1getNumberOfUnreadCommentsForFolderrequest the node ID191
🤔 First issue, we don't request the same IDOn the filecache database
The folder id is properly defined to
198, we also have a parent column which is set to2
This is why it only works in a single direction, ifUser1post a comment,User0will have the icon, not the other way aroundThe
getNumberOfUnreadCommentsForFolderjoin the comment table on the parent id (wtf is this?)- Create a folder as
More input, I get it now, we get all the unread comments of the content of the parent directory. Make sense.
Then this is the issue. The parent directory of the User1 is not the same as User0, therefore we cannot get the unread count! @rullzer
Hi,
Could you add the icon of new comments in the shares?
Also the icon is missing anywhere at the recipient if the folder was shared.