-
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
Bugfix: Gridview whitespace autosize #10118
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
dd91ac5
Bugfix: Gridview whitespace autosize
lookacat def728c
Fix large scale
lookacat b74e34f
Fix viewoption sizes
lookacat f338af7
Add changelog
lookacat ca58433
Update unittests
lookacat c8be4ef
WIP
lookacat 2a1934c
Solution?
lookacat bb517fd
WIP
lookacat 2f56114
WIP
lookacat c12a7a8
Remove dev leftover
lookacat 72c1720
cleanup code
lookacat 7cc5d54
Calculate max tiles count per row / still needs to be recalculated wh…
lookacat feeb5a2
Implement watch for tile-size slider changes
lookacat bbca187
Rename rowCount
lookacat e5962ea
Lint, change var to const, remove unnecessary computed
AlexAndBear 5bd1806
Hide from screen readers
AlexAndBear 1edf3d4
feat: introduce useTileSize composable and watch that for tile sizes
kulmann 7c652f8
Fix undefined issues
lookacat 18b8a9d
slim mount function
lookacat 5bdb247
fix: tile pixels and ghost tile count
kulmann a9bbe6c
test: fix viewOptions unit tests
kulmann 06f1ad4
Fixing ResourceTiles.spec.ts tests (WIP)
lookacat ed1870f
Fix ResourceTiles.spec.ts
lookacat 63eafdd
Remove dev leftover
lookacat ae3d2b2
Update tileSizePixels in tests
lookacat 3b59e97
docs: add tile size vars to theme docs
kulmann a00230c
Address PR issues
lookacat ed4c794
Make linter happy
lookacat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Bugfix: Tilesview has whitespace | ||
|
||
We've fixed a bug that caused the tiles-view to have whitespace | ||
on the right side of the screen which is not optimal for efficiant | ||
space management. | ||
|
||
https://github.com/owncloud/web/pull/10118 | ||
https://github.com/owncloud/web/issues/10040 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,6 @@ size: | |
value: 14px | ||
tiles: | ||
resize-step: | ||
value: 12rem | ||
value: 9rem | ||
default: | ||
value: 14rem | ||
value: 9rem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './constants' | ||
export * from './useTileSize' | ||
export * from './useViewMode' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Feels quite weird to set the id
tiles-view
from the outside and then reference it here because it creates an indirect dependency. I think it would be cleaner to set the id here in the component, or better use a template ref.