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

[full-ci] Search batch actions #9200

Merged
merged 51 commits into from
Jun 20, 2023
Merged

[full-ci] Search batch actions #9200

merged 51 commits into from
Jun 20, 2023

Conversation

AlexAndBear
Copy link
Contributor

Description

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

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:

  • ...

@update-docs
Copy link

update-docs bot commented Jun 12, 2023

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.

Copy link
Contributor

@lookacat lookacat left a comment

Choose a reason for hiding this comment

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

Code looks solid, changelog missing or followup? :)

@AlexAndBear
Copy link
Contributor Author

AlexAndBear commented Jun 12, 2023

@lookacat this is so early in progress -> no changelog and most of the stuff is missing or not working

@AlexAndBear
Copy link
Contributor Author

AlexAndBear commented Jun 13, 2023

Todo: move getMatchingSpace to own composable.

@AlexAndBear
Copy link
Contributor Author

AlexAndBear commented Jun 14, 2023

Blocked by owncloud/ocis#6525 no permissions on resources in space -> canDelete results in false

@AlexAndBear AlexAndBear force-pushed the search-batch-actions branch from 885a08b to aa28900 Compare June 14, 2023 12:16
@AlexAndBear
Copy link
Contributor Author

AlexAndBear commented Jun 14, 2023

  • check why trashbin is broken / does it work with personal and space trashbin (with build:w it works, but personal files will be shown as shared with me -.-)
  • move pasteActions store call stuff to composable (try to move the then stuff out)
  • check if delete batch action works on project space content when Add Permission to webdav REPORT ocis#6528 is merged
  • add changelog item
  • remove clipBoardSpace from store
  • add unit tests

@ownclouders
Copy link
Contributor

ownclouders commented Jun 14, 2023

Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/36649/40/1

💥 The acceptance tests failed on retry. Please find the screenshots inside ...

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L113.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L113.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L136.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L136.png

@AlexAndBear AlexAndBear changed the title Search batch actions [full-ci] Search batch actions Jun 15, 2023
)
}
)
return Promise.all(promises).then(() => {
Copy link
Contributor Author

@AlexAndBear AlexAndBear Jun 16, 2023

Choose a reason for hiding this comment

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

enable conflict handling when 2 resources with same name from different spaces will be pasted -> keep both automatic

@@ -99,39 +101,34 @@ export default {
$ngettext,
$gettextInterpolate
)
let movedResources = []
let movedResourcesPromise
if (context.state.clipboardAction === ClipboardActions.Cut) {
Copy link
Contributor Author

@AlexAndBear AlexAndBear Jun 16, 2023

Choose a reason for hiding this comment

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

purge store action, move to composable in followup pr

@AlexAndBear AlexAndBear force-pushed the search-batch-actions branch from f285c2f to 21746ce Compare June 16, 2023 11:44
@AlexAndBear
Copy link
Contributor Author

Scenario OCIS=true pnpm test:e2e:cucumber 'tests/e2e/cucumber/features/smoke/spaces/participantManagement.ocis.feature:3'
is failing.

Basically, that's deleting a resource in a public share that's inside a project space

@AlexAndBear AlexAndBear requested a review from kulmann June 16, 2023 11:53
@@ -206,6 +206,9 @@ export function buildSpace(data): SpaceResource {
isReceivedShare: function () {
return false
},
isShareRoot: function () {
return ['share', 'mountpoint'].includes(data.driveType)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

what's with public?

@ownclouders
Copy link
Contributor

ownclouders commented Jun 16, 2023

Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/36618/68/1

💥 The acceptance tests failed on retry. Please find the screenshots inside ...

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L113.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L113.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L136.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L136.png

@kulmann kulmann force-pushed the search-batch-actions branch from 9f10624 to 89be4e9 Compare June 19, 2023 10:44
@kulmann kulmann force-pushed the search-batch-actions branch from 9023685 to ad54541 Compare June 19, 2023 11:05
Copy link
Contributor

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

👏 👏 👏

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

49.7% 49.7% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@AlexAndBear AlexAndBear marked this pull request as ready for review June 19, 2023 18:13
Copy link
Contributor

@lookacat lookacat left a comment

Choose a reason for hiding this comment

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

Good work <3

@AlexAndBear AlexAndBear merged commit 42b3240 into master Jun 20, 2023
@delete-merged-branch delete-merged-branch bot deleted the search-batch-actions branch June 20, 2023 10:37
ownclouders pushed a commit that referenced this pull request Jun 20, 2023
@micbar micbar mentioned this pull request Jul 24, 2023
68 tasks
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.

4 participants