Skip to content
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

fix: preview app folder loading #11960

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Conversation

JammingBen
Copy link
Collaborator

@JammingBen JammingBen commented Nov 25, 2024

Fixes the image loading of the preview app in flat file lists (Shared with me page, search results etc.) so all images of the current file list are being loaded. Before, the preview app loaded the images of the folder the files are located in.

Some groundwork was needed to achieve that:

First I moved the folder loaders from the files app to web-pkg because they need to be used to load the files in flat file lists. Then I moved the method for building the search term to the useSearch composable so it also can be used globally.

This PR is best reviewed by commits!

Known issues:

  • The parent folder in the app top bar on the "Shared with me" page is wrong. It shows the file name, but it should show "Shared with me"
  • The filters on the search result page are not yet being respected by the preview app
  • The filtern on the "Shared with me" page are not yet bring respected by the preview app (Preview app is not respecting filter on Shared with me page #11883)

fixes #8932

@JammingBen JammingBen self-assigned this Nov 25, 2024
Copy link

update-docs bot commented Nov 25, 2024

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.

@JammingBen JammingBen marked this pull request as draft November 25, 2024 15:14
@JammingBen JammingBen force-pushed the fix/preview-app-folder-loading-2 branch 2 times, most recently from 41c3591 to 7b00a72 Compare November 26, 2024 15:24
Moves the folder loaders from the files app to `web-pkg` so they can be used from other packages.
@JammingBen JammingBen force-pushed the fix/preview-app-folder-loading-2 branch 3 times, most recently from ca29fc6 to 6419ed5 Compare November 28, 2024 10:38
Moves the method to build the search term to the `useSearch` composable so it can be used in other packages.
@JammingBen JammingBen force-pushed the fix/preview-app-folder-loading-2 branch from 6419ed5 to ecbf5e0 Compare November 28, 2024 10:39
Fixes the image loading of the preview app in flat file lists (Shared with me page, search results etc.) so all images of the current file list are being loaded. Before, the preview app loaded the images of the folder the files are located in.
@JammingBen JammingBen force-pushed the fix/preview-app-folder-loading-2 branch from ecbf5e0 to d1a248c Compare November 28, 2024 11:49
Copy link

sonarcloud bot commented Nov 28, 2024

@JammingBen JammingBen marked this pull request as ready for review November 28, 2024 14:44
@JammingBen JammingBen merged commit 1cc6d89 into master Dec 2, 2024
3 checks passed
@JammingBen JammingBen deleted the fix/preview-app-folder-loading-2 branch December 2, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Preview app] Shows images that are not in the current file list
2 participants