Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

[full-ci] Prepare batch actions in contextmenu - #5973

Merged
pascalwengerter merged 21 commits into
masterfrom
29102021_contextmenu-batch-actions
Nov 19, 2021
Merged

pascalwengerter merged 21 commits into
masterfrom
29102021_contextmenu-batch-actions

Conversation

@pascalwengerter

@pascalwengerter pascalwengerter commented Nov 2, 2021 •

Copy link
Copy Markdown
Contributor

Description

Perhaps could use updated unit/smoke tests

Related Issue

Open tasks

  • finish file actions mixins refactoring from single resources to multiple resources @kulmann

@pascalwengerter pascalwengerter changed the title Prepare batch actions in contextmenu [full-ci] Prepare batch actions in contextmenu Nov 3, 2021
@pascalwengerter
pascalwengerter marked this pull request as ready for review November 3, 2021 18:49
@pascalwengerter
pascalwengerter force-pushed the 29102021_contextmenu-batch-actions branch from e3291ad to f6b622a Compare November 3, 2021 18:49
@pascalwengerter pascalwengerter changed the title [full-ci] Prepare batch actions in contextmenu Prepare batch actions in contextmenu Nov 3, 2021
kulmann
kulmann previously requested changes Nov 4, 2021

@kulmann kulmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmmm. Good as a first solution. But I get the feeling that we should refactor the batch actions into action mixins as well and solve the batch-actions-context-menu inside the ContextActions component. That would also reduce business logic from the BatchActions component, which is always a good idea.

@pascalwengerter
pascalwengerter force-pushed the 29102021_contextmenu-batch-actions branch from f6b622a to e8944e8 Compare November 4, 2021 11:17
@kulmann
kulmann force-pushed the 29102021_contextmenu-batch-actions branch 3 times, most recently from af2f3d5 to 428f311 Compare November 9, 2021 10:28
@pascalwengerter

Copy link
Copy Markdown
Contributor Author

@kulmann can be re-based, I cherry-picked the ODS bump commit in #6009

@kulmann
kulmann force-pushed the 29102021_contextmenu-batch-actions branch from 4911fb2 to 1578564 Compare November 10, 2021 15:10
@kulmann kulmann changed the title Prepare batch actions in contextmenu [full-ci] Prepare batch actions in contextmenu Nov 10, 2021
@pascalwengerter pascalwengerter mentioned this pull request Nov 11, 2021
25 of 26 tasks
@kulmann
kulmann dismissed their stale review November 12, 2021 15:30

worked on the branch myself

@kulmann
kulmann force-pushed the 29102021_contextmenu-batch-actions branch 2 times, most recently from 40f7a19 to 9a5d724 Compare November 15, 2021 15:36
@ownclouders

Copy link
Copy Markdown
Contributor

Results for oC10Files1 https://drone.owncloud.com/owncloud/web/20290/15/1
The following scenarios passed on retry:

  • webUIFilesActionMenu/versions.feature:15

@pascalwengerter

Copy link
Copy Markdown
Contributor Author

Most recent CI run seems to have a lot of failures with modals not closing anymore, let's dig into that tomorrow!

@kulmann
kulmann force-pushed the 29102021_contextmenu-batch-actions branch from 6e65073 to 4793e41 Compare November 16, 2021 08:39
@kulmann

kulmann commented Nov 16, 2021

Copy link
Copy Markdown
Contributor

Rebased, since it has conflicts in the fileActions.js mixin

@kulmann
kulmann force-pushed the 29102021_contextmenu-batch-actions branch 2 times, most recently from 25b8aed to c944748 Compare November 16, 2021 11:20
@ownclouders

Copy link
Copy Markdown
Contributor

Results for oCISSharingPublic https://drone.owncloud.com/owncloud/web/20309/63/1
The following scenarios passed on retry:

  • webUISharingPublicManagement/shareByPublicLink.feature:19

@kulmann
kulmann force-pushed the 29102021_contextmenu-batch-actions branch 2 times, most recently from 0e9cfb4 to 54e986c Compare November 16, 2021 12:48
@ownclouders

Copy link
Copy Markdown
Contributor

Results for oC10Files1 https://drone.owncloud.com/owncloud/web/20322/15/1
The following scenarios passed on retry:

  • webUIFilesActionMenu/versions.feature:15

@pascalwengerter
pascalwengerter force-pushed the 29102021_contextmenu-batch-actions branch from 8bfe63d to 90a9800 Compare November 17, 2021 21:30
@pascalwengerter
pascalwengerter force-pushed the 29102021_contextmenu-batch-actions branch from 90a9800 to 5fbe392 Compare November 17, 2021 21:32

@fschade fschade left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

really great changes, just found some monor things

}

const url = this.$client.helpers._webdavUrl + file.path
// FIXME: use presigned URL instead

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this something for later or should happen in this pr?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not sure about the implications, @kulmann ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

to get this merged it say keep the fixme comment here and do it later

@fschade fschade left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀 🎸 - LGTM

@sonarqubecloud

Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

17.6% 17.6% Coverage
0.5% 0.5% Duplication

@pascalwengerter
pascalwengerter merged commit f5e1b8a into master Nov 19, 2021
@delete-merged-branch
delete-merged-branch Bot deleted the 29102021_contextmenu-batch-actions branch November 19, 2021 11:54
phil-davis added a commit that referenced this pull request Dec 2, 2021
[tests-only][full-ci]Add valid tests that were removed by PR `#5973`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch action Delete makes no sense in shared with and favorite views rightclick for multiple selected files

5 participants