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

Support adding a caption to media uploads. #3531

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Nov 18, 2024

This PR reuses the message composer to add captions to media files.

Closes #3508.

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-11-18.at.17.20.27.mp4

@pixlwave pixlwave requested a review from a team as a code owner November 18, 2024 17:26
@pixlwave pixlwave requested review from Velin92 and removed request for a team November 18, 2024 17:26
@pixlwave pixlwave added the pr-feature for a new feature label Nov 18, 2024
@pixlwave pixlwave changed the title Add a composer to the media upload preview screen. Support adding a caption to a media upload. Nov 18, 2024
Copy link

github-actions bot commented Nov 18, 2024

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against ee2803e

@pixlwave pixlwave changed the title Support adding a caption to a media upload. Support adding a caption to media uploads. Nov 18, 2024
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 87.14859% with 32 lines in your changes missing coverage. Please review.

Project coverage is 78.78%. Comparing base (6b6420a) to head (ee2803e).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...mScreen/ComposerToolbar/View/MessageComposer.swift 68.88% 14 Missing ⚠️
...mScreen/ComposerToolbar/View/ComposerToolbar.swift 50.00% 9 Missing ⚠️
...urces/MediaUploadPreviewScreenViewModelTests.swift 93.33% 7 Missing ⚠️
...dPreviewScreen/View/MediaUploadPreviewScreen.swift 94.59% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3531      +/-   ##
===========================================
+ Coverage    78.64%   78.78%   +0.14%     
===========================================
  Files          749      750       +1     
  Lines        62847    63003     +156     
===========================================
+ Hits         49424    49635     +211     
+ Misses       13423    13368      -55     
Flag Coverage Δ
unittests 69.84% <87.14%> (+0.27%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pixlwave
Copy link
Member Author

Going to wait until after the RC before merging this.

Copy link

sonarcloud bot commented Nov 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature for a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task] Add a caption when sending a media file
2 participants