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

File drop is disabled in case the folder is ready only or no space is… #3677

Merged
merged 2 commits into from Jul 7, 2020

Conversation

DeepDiver1975
Copy link
Member

… left

Description

In case a folder is read only or not enough space is left file drop is being disabled.

Related Issue

https://jira.owncloud.com/browse/XLXFN-17

How Has This Been Tested?

  • share a folder readonly with another user A
  • A wants to drop files from desktop to the browser with this folder
  • no drop zone shall be visible

Screenshots (if appropriate):

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:

  • ...

@DeepDiver1975 DeepDiver1975 self-assigned this Jun 25, 2020
@update-docs
Copy link

update-docs bot commented Jun 25, 2020

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@DeepDiver1975
Copy link
Member Author

adding changelog entry

@DeepDiver1975 DeepDiver1975 force-pushed the feature/no-dragndrop-if-upload-not-allowed branch from fb47a89 to 49edca0 Compare June 25, 2020 10:11
@DeepDiver1975
Copy link
Member Author

False failure? https://drone.owncloud.com/owncloud/phoenix/10196/5/19 🤷

@LukasHirt
Copy link
Contributor

False failure? drone.owncloud.com/owncloud/phoenix/10196/5/19 🤷

Not sure seems that it failed also for the first commit without changelog - https://drone.owncloud.com/owncloud/phoenix/10194/5/19

@DeepDiver1975
Copy link
Member Author

Restarting once again ....

@DeepDiver1975
Copy link
Member Author

@LukasHirt how shall we continue with this? I have no clue what is causing the failing test ... 🤷‍♂️

@LukasHirt
Copy link
Contributor

LukasHirt commented Jul 6, 2020

@DeepDiver1975 I pushed a new commit which should fix the failing test. In the console was an error about not being able to use indexOf in the hasFreeSpace computed prop after permissions. Not sure why this blocked rendering of the delete batch action but fixing this error seems to work fine 🤷

@LukasHirt LukasHirt force-pushed the feature/no-dragndrop-if-upload-not-allowed branch from f1ca386 to 3e202e2 Compare July 6, 2020 09:30
@LukasHirt
Copy link
Contributor

I adjusted the commit not to use optional chaining because it seems to be throwing errors when extracting translations (ref #3733)

@LukasHirt LukasHirt merged commit affc306 into master Jul 7, 2020
@LukasHirt LukasHirt deleted the feature/no-dragndrop-if-upload-not-allowed branch July 7, 2020 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants