-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Inidicate preview availability in share api responses #23350
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
Inidicate preview availability in share api responses #23350
Conversation
|
@juliushaertl This PR is ready to be reviewed. |
juliusknorr
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.
Nice catch 👍
|
/backport to stable20 |
|
/backport to stable19 |
|
/backport to stable18 |
|
Nice!! |
|
Please rebase :) |
Done |
|
/compile / |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Oh right, no conflicts because that is only hanging apps/files_sharing/js/dist/files_sharing.js |
|
PHUnit tests are broken: |
|
Oops ... Just saw the tests. I'm on it but fixing this might take some time. |
Take all you need, there is no rush :) |
|
I fixed all the existing tests by always expecting no preview and added an new test data set to |
|
|
Signed-off-by: Richard Steinmetz <[email protected]>
|
/backport to stable19 |
|
/backport to stable18 |
Fixes #14849
The share api does not indicate if a preview is available for a share. This causes
data-has-preview="true"for every entry in the share file list. The border around items without a preview is a consequence of this missing indication.