-
Notifications
You must be signed in to change notification settings - Fork 159
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
Shared with others list #1702
Shared with others list #1702
Conversation
@@ -56,6 +56,14 @@ const navItems = [ | |||
path: `/${appInfo.id}/favorites` | |||
} | |||
}, | |||
{ | |||
name: 'Shared with others', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to find a way to get this translated ....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we could translate it inside the menu component in computed properties but doesn't really seem like a nice solution.
loadFolderSharedFromMe (context, { client, $gettext }) { | ||
context.commit('UPDATE_FOLDER_LOADING', true) | ||
|
||
client.requests.ocs({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we missing an api method in the sdk here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found mentions of shared_with_me in the shares there but no way how to load shared with others. (tried to use the getShares function, it's possible I overlooked something or did something wrong though)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
838746a
to
a53ecda
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@DeepDiver1975 With the current implementation we could display only one recipient per item... I'm filtering the response to remove all duplicate files to save a little bit of the performance and not build the same file e. g. 5 times. |
and there is a conflict - please resolve - THX |
a53ecda
to
8f61302
Compare
I added at least that one user. We can try to figure this out later IMHO 🤷♂
Rebased 😉 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@LukasHirt whats wrong with the tests? mind having a look? THX |
8f61302
to
d3bade1
Compare
Should be green now. Let's see |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Damn. Still not 🤬 |
This comment has been minimized.
This comment has been minimized.
Build only unique files Added original file id Added shared with Fixed for cycle for sidebars Hide files list on trashbin page
d3bade1
to
672e7db
Compare
@DeepDiver1975 Green 🙌 |
Description
Created
SharedFilesList
component. Moved most of file list related functionality into mixins so we can reuse it in different lists. At the moment this list doesn't contain any actions thus checkboxes and star were removed as well and file name got classuk-disabled
to prevent any hover/focus on it and to allow selecting of the row by clicking on it.Related Issue
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: