Skip to content

Show file upload progress and placeholder media message in chat.#6047

Open
anakin78z wants to merge 1 commit intonextcloud:masterfrom
anakin78z:upload-placeholder
Open

Show file upload progress and placeholder media message in chat.#6047
anakin78z wants to merge 1 commit intonextcloud:masterfrom
anakin78z:upload-placeholder

Conversation

@anakin78z
Copy link
Copy Markdown
Contributor

@anakin78z anakin78z commented Apr 12, 2026

Implements #2375

I'm aware of the work in progress at #5317 but I couldn't get it to work when I tried it, and since there were a lot of changes with the ChatKit removal, I thought it best to start fresh.

🖼️ Screen captures:

image

The X button in the top right cancels the upload.
Uploading images are blurred to indicate they are not yet fully sent (they remain blurred until the device receives the chat message from the server). The idea is to make it obvious that the messages can't be interacted with as a regular media message.

Video demo:

https://youtube.com/shorts/FMw_yvhxXL4

🚧 ISSUES

I created issue #6081 for the following:

After a file has uploaded, but before the insurance request is made, tapping the image/video fails. While investigating this, I noticed that the return values from the WebSocket and the insurance request are different:
image

The link and path parameters both have different values. I'm not sure if this is a server issue, or if the responses need to be handled differently, but it's odd that the link would be different.

My server version is 33.0.0

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@anakin78z anakin78z force-pushed the upload-placeholder branch from 7978ebe to 8261f43 Compare April 12, 2026 21:57
@mahibi
Copy link
Copy Markdown
Collaborator

mahibi commented Apr 13, 2026

Glad to see works that build on to of the recent changes (yes it makes sense to start with a fresh approach instead the old approach for chatkit).

Please let us know if there are any questions or it is ready to review.

@anakin78z anakin78z marked this pull request as ready for review April 13, 2026 12:12
@anakin78z anakin78z mentioned this pull request Apr 15, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants