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

Move attachment preview above the composer, allowing to add captions … #2600

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

surakin
Copy link
Contributor

@surakin surakin commented Mar 25, 2024

…to media/attachments

Fixes #2573

I has too many UX changes for my taste so if one of the team likes it and wants to pick it up that's fine by me :)

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Motivation and context

Screenshots / GIFs

Before sending
image
After sending
image

Tests

  • Step 1
  • Step 2
  • Step ...

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

Copy link
Contributor

Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:

  • Your branch should be based on origin/develop, at least when it was created.
  • There is a changelog entry in the changelog.d folder with the Towncrier format.
  • The test pass locally running ./gradlew test.
  • The code quality check suite pass locally running ./gradlew runQualityChecks.
  • If you modified anything related to the UI, including previews, you'll have to run the Record screenshots GH action in your forked repo: that will generate compatible new screenshots. However, given Github Actions limitations, it will prevent the CI from running temporarily, until you upload a new commit after that one. To do so, just pull the latest changes and push an empty commit.

@frebib
Copy link
Contributor

frebib commented Mar 25, 2024

Is it necessary to keep the Sending {spinner} box with this change?

@surakin
Copy link
Contributor Author

surakin commented Mar 25, 2024

Is it necessary to keep the Sending {spinner} box with this change?

I understand this is the only feedback until matrix-org/matrix-rust-sdk#1732 is sorted out

@bmarty bmarty added the Z-Community-PR Issue is solved by a community member's PR label Mar 27, 2024
@frebib
Copy link
Contributor

frebib commented Mar 29, 2024

A small bug I noticed today: Trying to send a captioned image as a reply sends okay, but doesn't attach the reply metadata to the event and leaves the reply box in the composer

@surakin
Copy link
Contributor Author

surakin commented Apr 1, 2024

A small bug I noticed today: Trying to send a captioned image as a reply sends okay, but doesn't attach the reply metadata to the event and leaves the reply box in the composer

Hmmm sending replies with anything other than text is not supported yet anyway
Maybe disabliing attachments on reply mode would be enough for now

@surakin surakin marked this pull request as ready for review April 1, 2024 12:26
@surakin surakin requested a review from a team as a code owner April 1, 2024 12:26
@surakin surakin requested review from ganfra and removed request for a team April 1, 2024 12:26
@cyrneko
Copy link

cyrneko commented May 12, 2024

Hmmm sending replies with anything other than text is not supported yet anyway

In what sense? I have seen many users (especially beeper users) send images in reply to messages and they get rendered in EXA just fine, is there a limitation on the Rust-SDK's end maybe? 🤔

@surakin
Copy link
Contributor Author

surakin commented May 13, 2024

Hmmm sending replies with anything other than text is not supported yet anyway

In what sense? I have seen many users (especially beeper users) send images in reply to messages and they get rendered in EXA just fine, is there a limitation on the Rust-SDK's end maybe? 🤔

Yes, afaik the rust SDK can only reply with text so far.

@frebib
Copy link
Contributor

frebib commented Jun 10, 2024

I just realised that you can't edit captions with this after I typo'd one today

@surakin surakin force-pushed the send-media-with-captions branch 3 times, most recently from a62b48c to bfd32a4 Compare July 9, 2024 19:15
@surakin surakin force-pushed the send-media-with-captions branch 3 times, most recently from c49b994 to db19262 Compare July 25, 2024 15:19
@surakin surakin force-pushed the send-media-with-captions branch 2 times, most recently from f47d6c0 to 0cbae27 Compare August 22, 2024 13:36
@CLAassistant
Copy link

CLAassistant commented Sep 9, 2024

CLA assistant check
All committers have signed the CLA.

…to media/attachments

Signed-off-by: Marco Antonio Alvarez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add captions to sent image and video files
5 participants