-
Notifications
You must be signed in to change notification settings - Fork 437
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 metadata to file parameters #11093
Conversation
3dbc2d7
to
12ba526
Compare
Guess we would need to add that to https://github.com/nextcloud/server/blob/master/lib/public/RichObjectStrings/Definitions.php#L316 as well? |
I was about to comment that as well, but we have more keys already which are not there (e.g. contact-photo) which are very specific. In most cases the info will not be exposed when when it could be available via other APIs, so not sure it's the best idea, as it could make people assume ah, didn't get data, doesn't work, instead of trying the official API endpoint |
Okay, so guess ready to review then :) |
CC: @mahibi In case that would be useful for you as well |
/backport to stable28 |
Won't there be any good use of this for web? I'd see if we could reserve the space for images beforehand to avoid a chat jumping |
Just had the same thought, maybe that is the problem of the jumping chats we have on loading. |
That's exactly the reason for this PR. Dynamically changing the height of cells while keeping the scroll position is a super hard task with the components we are currently using in iOS. This way we could reserve the space and know beforehand how big the preview will be. It would get even better with the blurhash, but this seems to be missing in 28. |
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
e2c87ff
to
2d34e92
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
2d34e92
to
66975ec
Compare
☑️ Resolves
I tried to take a look at #10844. Leaving the tests and documentation aside, is this the correct way to solve it or would we need to take another different approach regarding performance?
🛠️ API Checklist
🚧 Tasks
🏁 Checklist
docs/
has been updated or is not required