-
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
[full-ci] Batch actions for accepting and declining shares #5374
Conversation
This comment has been minimized.
This comment has been minimized.
packages/web-app-files/src/components/AppBar/SelectedResources/BatchActions.vue
Outdated
Show resolved
Hide resolved
return | ||
} | ||
|
||
console.log(errors) |
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.
Dev leftover or on purpose?
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.
Intentional, because I don't want to swallow errors. Eventually we should come up with a proper logging solution.
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.
RFC ;)
Results for oC10SharingAccept https://drone.owncloud.com/owncloud/web/16862/9/1 💥 The acceptance tests pipeline failed. The build has been cancelled. |
Results for oCISSharingInternalUsers2 https://drone.owncloud.com/owncloud/web/16866/53/1 |
4471b5e
to
ff11089
Compare
Results for oCISSharingInternalUsers2 https://drone.owncloud.com/owncloud/web/16868/53/1 |
ff11089
to
ec897cd
Compare
ec897cd
to
dd65fca
Compare
Results for oCISSharingBasic https://drone.owncloud.com/owncloud/web/16971/47/1
|
Results for oC10IntegrationApp2 https://drone.owncloud.com/owncloud/web/16971/63/1 |
Results for oC10Trashbin https://drone.owncloud.com/owncloud/web/16971/34/1 💥 The acceptance tests failed. Please find the screenshots inside ...
webUITrashbinDelete-trashbinDelete-feature-112.pngwebUITrashbinDelete-trashbinDelete-feature-41.pngwebUITrashbinRestore-trashbinRestore-feature-138.pngwebUITrashbinRestore-trashbinRestore-feature-14.pngwebUITrashbinRestore-trashbinRestore-feature-181.pngwebUITrashbinRestore-trashbinRestore-feature-222.pngwebUITrashbinRestore-trashbinRestore-feature-241.pngwebUITrashbinRestore-trashbinRestore-feature-260.pngwebUITrashbinRestore-trashbinRestore-feature-30.png |
Results for oC10Files2 https://drone.owncloud.com/owncloud/web/16971/11/1 |
Results for oCISSharingBasic https://drone.owncloud.com/owncloud/web/16973/47/1
|
Results for oC10Files2 https://drone.owncloud.com/owncloud/web/16973/11/1 |
Results for oC10IntegrationApp2 https://drone.owncloud.com/owncloud/web/16973/63/1 |
Results for oC10Trashbin https://drone.owncloud.com/owncloud/web/16973/34/1 💥 The acceptance tests failed. Please find the screenshots inside ...
webUITrashbinDelete-trashbinDelete-feature-112.pngwebUITrashbinDelete-trashbinDelete-feature-41.pngwebUITrashbinRestore-trashbinRestore-feature-138.pngwebUITrashbinRestore-trashbinRestore-feature-14.pngwebUITrashbinRestore-trashbinRestore-feature-181.pngwebUITrashbinRestore-trashbinRestore-feature-222.pngwebUITrashbinRestore-trashbinRestore-feature-241.pngwebUITrashbinRestore-trashbinRestore-feature-260.pngwebUITrashbinRestore-trashbinRestore-feature-30.png |
Results for oCISSharingBasic https://drone.owncloud.com/owncloud/web/17006/47/1
|
Results for oCISSharingBasic https://drone.owncloud.com/owncloud/web/17008/47/1
|
Results for oCISSharingBasic https://drone.owncloud.com/owncloud/web/17020/47/1
|
packages/web-app-files/src/components/AppBar/SelectedResources/BatchActions.vue
Outdated
Show resolved
Hide resolved
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.
just a small finding, expect that it looks good to me 🚀
SonarCloud Quality Gate failed. |
Results for oCISSharingBasic https://drone.owncloud.com/owncloud/web/17023/47/1
|
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.
LGTM 🚀
Description
Continuing #5211 for a centralized implementation of the
triggerShareAction
business logic. Moved it to a helper and made individual mixins foracceptShare
anddeclineShare
available, which can be used in the actions accordion in the right sidebar.This PR removes the
delete
actions (batch and individual) from shares on the shared with me page, as thedecline
action is the right thing to choose in such a situation.Related Issue
Motivation and Context
Improve UX and refactor code
How Has This Been Tested?
triggerShareAction
helper (existed before, now moved to a dedicated spec file for the new helper)Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: