-
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] Implement copy, cut, paste in ContextMenu | Fix nav icon flickering in lightmode #7309
Conversation
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. |
Results for oCISTrashbinUploadMoveJourney https://drone.owncloud.com/owncloud/web/27461/70/1 |
5fa3fb1
to
44d8507
Compare
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.
I have mixed feelings about this PR. Feels like really good progress. But technically I don't like to see more and more in the vuex store... 🤔
Had a glitch with what seems to be a prefix match issue. When I create two folders with names |
@phil-davis @individual-it could someone from your team please take over required changes in the acceptance tests? :) |
c0d9edc
to
0aae8d5
Compare
@lookacat @kulmann Some findings with this PR
(screenshot from master build) need to know if its a feature or the
cannotcopyinpubliclink.mp4needs some information regarding this. |
c372d42
to
ec0b016
Compare
we don't need to test the cancel option anymore, as we don't navigate into a different view (location picker is obsolete with this PR). you just stay in the files list of any files related view. As a result you can delete tests that cancel the location picker.
Needs to be fixed by a dev. Thanks for the pointer! |
I added a fix for your second finding (pasting broken in public links) in 417f875 And in 6a9c79d I removed the location picker entirely, as it is not used anymore in the UI. There are some tests referencing the location picker. Some can be deleted (cancelling copy or move), but for some I'm not sure if you can rewrite them easily (anything that's successful copy/move e.g. from the personal page) or if the time would be better spent writing new ones in the e2e playwright tests and deleting them in the nightwatch test suite. What do you think? |
6a9c79d
to
c2ebcec
Compare
@kulmann if location picker is entirely removed then tests related to it on (nightwatch) can be removed and time can be spent on e2e playwright for that as you say. |
c2ebcec
to
c541a9e
Compare
@kulmann i forgot to pull your changes from (#7309 (comment)) to my local and force push it (my very bad). So i have added them with commit 1b8cb5b and c541a9e |
No worries. Thanks for re-adding them. For future force pushes, just use |
Cool. Thank you for already taking care! ❤️ I have removed some more dead code in the nightwatch test suite and moved the |
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.
Awesome! 😍 The UX without the location picker is so much better, love it.
6af48f0
to
b1af341
Compare
@SwikritiT @saw-jan @kiranparajuli589 may be someone can review the testscode changes. |
I already did 😅 my review was for code and test-code. Looks all good to me 💪 |
Temporarily converted back to draft because I want to get #7425 merged first. That one already had too many rebases... |
Thanks for if in that case. |
b1af341
to
75616db
Compare
75616db
to
58d0990
Compare
SonarCloud Quality Gate failed. |
Description
LocationPicker in Contextmenu is now replaced with clipboard actions (as already used with keyboard actions)
See #6892
What needs to be fixed in acceptance tests:
We've replaced the right-click contextmenu actions "copy" and "move", which opened the locationpicker, with clipboard actions. Now we have "cut", "copy" and "paste" instead and they should behave like e.g. in windows explorer.
Therefore we need to adjust how the tests copy or move files since the old way doesn't exist anymore.
Screenshots
Copy/paste keyboard shortcuts in contextmenu
Cutting elements "blurs" relevant resources / Paste becomes visible when there is an item in clipboard
Paste here button becomes visible if there are items in clipboard
Clipboard can be cleared by clicking close on the paste button (which also removes the paste here button)
Related Issue
Types of changes
Checklist: