-
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
Fix process of collaborators #1682
Conversation
]), | ||
|
||
onAutocompleteInput (value) { | ||
if (value.length < 2) { |
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 respect the capability here - file_sharing.search_min_length
82438eb
to
a5a3b67
Compare
a5a3b67
to
6bc972e
Compare
@@ -135,4 +152,8 @@ export default { | |||
.oc-text { | |||
font-size: 1rem; | |||
} | |||
|
|||
.oc-disabled { |
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.
one day we need to move this to ODS ....
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.
Already working on this 😉
$_ocCollaborators_loadAvatar (item) { | ||
const dav = this.$client.helpers._davPath | ||
const headers = new Headers() | ||
const url = `${dav}/avatars/${item.value.shareWith}/128.png` |
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.
image-source .... one day ...
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.
Not sure if image-source would help here. We will need to show some placeholder images in case the response is 404. AFAIK image-source doesn't handle this. And since it's avatar specific functionality not sure if we want to include it there.
Eslint issue |
6bc972e
to
644d4e9
Compare
Description
Grey out other collaborators when add or edit action is in progress, added cancel button to edit and divided code into smaller components.
Related Issue
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: