-
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
Add selection model to tiles view #8392
Conversation
963b8b1
to
e0c7fd7
Compare
packages/web-app-files/src/components/FilesList/ResourceTable.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.
Hard for me to judge the template/style changes, but code wise it's looking good!
@@ -32,4 +32,4 @@ sonar.pullrequest.key=${env.SONAR_PULL_REQUEST_KEY} | |||
sonar.javascript.lcov.reportPaths=coverage/lcov.info | |||
|
|||
# Exclude files | |||
sonar.exclusions=docs/**,node_modules/**,deployments/**,**/tests/**,__mocks__/**,__fixtures__/**,dist/**,changelog/**,config/**,docker/**,release/**,**/package.json,package.json,rollup.config.js,nightwatch.conf.js,Makefile,Makefile.release,CHANGELOG.md,README.md,packages/web-client/src/generated/**,packages/web-integration-oc10/** | |||
sonar.exclusions=docs/**,node_modules/**,deployments/**,**/tests/**,**/*.spec.ts,__mocks__/**,__fixtures__/**,dist/**,changelog/**,config/**,docker/**,release/**,**/package.json,package.json,rollup.config.js,nightwatch.conf.js,Makefile,Makefile.release,CHANGELOG.md,README.md,packages/web-client/src/generated/**,packages/web-integration-oc10/** |
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.
😍
@JammingBen needs a quick rebase since #8372 got merged 😇 shouldn't be painful though |
759548b
to
48f4d60
Compare
Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/32611/23/1 |
Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/32610/69/1 |
Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/32610/75/1 |
Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/32610/73/1 |
Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/32610/70/1 |
Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/32610/71/1 |
Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/32610/72/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.
Loving this! UX and design is gorgeous!
Two things:
- see comment, hardcoded font sizes are a no-no 😅
- see screenshot, why are the file type icons so tiny on big tile sizes? that's not the case on master (note: I made the screenshot when I had previews disabled. also had a test run with previews enabled 😉 )
packages/web-app-files/src/components/FilesList/ResourceTiles.vue
Outdated
Show resolved
Hide resolved
The file type icon size is currently independent of the tile size. I made them smaller in general, because they were too big when using the small tiles. It would make sense to scale them with the tile size, but I'd rather do that in a separate PR. |
880ca16
to
3d50dab
Compare
SonarCloud Quality Gate failed. |
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.
❤️
Author: Jannik Stehle <[email protected]> Date: Thu Feb 9 12:15:12 2023 +0100 Add selection model to tiles view (#8392) * Add selection model to tiles view * Add outline to selected tiles * Add unit tests, fix snapshots * Fix checkbox label translation * Exclude spec-files from SonarCloud coverage * Rename setSelection to toggleSelection * Fix initial tile size loading * Improve tile size slider background in dark mode * Use oc-font-size-default instead of rem
Related Issue
Screenshots
Types of changes
Follow-up: