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

Fix process of collaborators #1682

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Conversation

LukasHirt
Copy link
Collaborator

@LukasHirt LukasHirt commented Aug 2, 2019

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?

  • test environment: Manually

Screenshots (if appropriate):

image

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • Prevent click on collaborator if he's greyed out

]),

onAutocompleteInput (value) {
if (value.length < 2) {
Copy link
Member

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

@LukasHirt LukasHirt force-pushed the bugfix/collaborators-process branch 3 times, most recently from 82438eb to a5a3b67 Compare August 2, 2019 12:54
@LukasHirt LukasHirt added Status:Needs-Review Needs review from a maintainer and removed Status:In-Progress labels Aug 2, 2019
@LukasHirt LukasHirt marked this pull request as ready for review August 2, 2019 12:59
@LukasHirt LukasHirt force-pushed the bugfix/collaborators-process branch from a5a3b67 to 6bc972e Compare August 2, 2019 13:09
@@ -135,4 +152,8 @@ export default {
.oc-text {
font-size: 1rem;
}

.oc-disabled {
Copy link
Member

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 ....

Copy link
Collaborator Author

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`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image-source .... one day ...

Copy link
Collaborator Author

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.

@DeepDiver1975
Copy link
Member

Eslint issue

@LukasHirt LukasHirt force-pushed the bugfix/collaborators-process branch from 6bc972e to 644d4e9 Compare August 5, 2019 07:59
@DeepDiver1975 DeepDiver1975 merged commit 4a46e39 into master Aug 5, 2019
@delete-merged-branch delete-merged-branch bot deleted the bugfix/collaborators-process branch August 5, 2019 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:Needs-Review Needs review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants