-
Notifications
You must be signed in to change notification settings - Fork 25
fix: Added advanced Shift-Click-Handling for Files #824
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
Conversation
kulmann
left a comment
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 found small things that are not accurate, yet:
- tiles view: when nothing is selected, yet, a click on whitespace of a tile should select the item. no selection happens.
- tiles view: if something is already selected, with shift+click on a preview, the link gets opened in a new window (expected), but the selection doesn't happen (which it should, in addition to the new windows)
- tiles view: if something is already selected, with shift+click on a file or folder name, the selection happens but the new browser window doesn't open?!
packages/web-app-files/src/components/FilesList/QuickActions.vue
Outdated
Show resolved
Hide resolved
kulmann
left a comment
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.
Still some things off:
- tiles view: shift+click on preview opens the file in a new window but doesn't select the file (shift+click on filename works like that now, great!)
- cmd/ctrl+click triggers buttons while shift+click doesn't. We should be consistent, so the cmd/ctrl+click should also NOT trigger buttons. this is for tiles and list view.
packages/web-pkg/src/composables/actions/files/useFileActionsCopyPermanentLink.ts
Outdated
Show resolved
Hide resolved
JammingBen
left a comment
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.
Works nicely! 🥳 Just a few things code-wise from my side.
packages/web-pkg/src/composables/keyboardActions/useInterceptModifierClick.ts
Outdated
Show resolved
Hide resolved
packages/web-pkg/src/composables/actions/files/useFileActionsCopyPermanentLink.ts
Outdated
Show resolved
Hide resolved
packages/web-pkg/src/composables/actions/files/useFileActionsShowShares.ts
Outdated
Show resolved
Hide resolved
packages/web-pkg/src/composables/actions/files/useFileActionsCopyPermanentLink.ts
Outdated
Show resolved
Hide resolved
packages/web-pkg/src/composables/actions/files/useFileActionsCopyPermanentLink.ts
Outdated
Show resolved
Hide resolved
packages/web-pkg/src/composables/actions/files/useFileActionsShowShares.ts
Outdated
Show resolved
Hide resolved
JammingBen
left a comment
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.
A few final nitpick from my side.
packages/web-pkg/src/composables/actions/files/useFileActionsShowShares.ts
Outdated
Show resolved
Hide resolved
JammingBen
left a comment
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 🚀
* fix: Added advanced Shift-Click-Handling for Files
Added advanced Shift-Click-Handling for Files
Related Issue #625