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

#2 Cherry pick add style/attachment/inline image button to app bar composer on mobile (#2532, #2584) #2794

Conversation

dab246
Copy link
Member

@dab246 dab246 commented Apr 11, 2024

Issue

#2532
#2584

Dependent

Demo

  • Android app:
mobile-app.webm
  • iOS App:
demo.mp4
  • iPad App:
demo2.mov
  • Web browser:
web-appp.online-video-cutter.com.mp4

@dab246 dab246 changed the title Cherry pick add attachment image button to app bar composer (#2532) Cherry pick add attachment/image button to app bar composer (#2532) Apr 11, 2024
@dab246 dab246 changed the title Cherry pick add attachment/image button to app bar composer (#2532) #2 Cherry pick add attachment/image button to app bar composer (#2532) Apr 11, 2024
Copy link

This PR has been deployed to https://linagora.github.io/tmail-flutter/2794.

@dab246 dab246 changed the title #2 Cherry pick add attachment/image button to app bar composer (#2532) #2 Cherry pick add style/attachment/inline image button to app bar composer on mobile (#2532) Apr 16, 2024
@dab246 dab246 changed the title #2 Cherry pick add style/attachment/inline image button to app bar composer on mobile (#2532) #2 Cherry pick add style/attachment/inline image button to app bar composer on mobile (#2532, #2584) Jun 13, 2024
@dab246 dab246 changed the base branch from v0.11.3-patch4-dev-features to refactor June 13, 2024 08:09
@dab246 dab246 force-pushed the cherry-pick-tf-2532-add-attachment-image-to-app-bar-composer branch from 9865b0c to e6eff37 Compare June 13, 2024 08:11
@dab246
Copy link
Member Author

dab246 commented Jun 13, 2024

Rebase to the refactor branch is complete

@hoangdat
Copy link
Member

  • can not close composer when send without subject

@dab246
Copy link
Member Author

dab246 commented Jun 20, 2024

  • can not close composer when send without subject

Root cause

  • Because we have not rebased the latest commit on refactor, the corrected commit has not been applied to this PR.

@hoangdat Please fetch latest PR then test again

Demo

Screen_recording_20240620_162644.webm

@hoangdat
Copy link
Member

@hoangdat
Copy link
Member

linagora/enough_html_editor#30 was merged. Please update pubspec. @dab246

@dab246 dab246 force-pushed the cherry-pick-tf-2532-add-attachment-image-to-app-bar-composer branch from e6eff37 to 0a1d3de Compare June 21, 2024 04:05
@dab246
Copy link
Member Author

dab246 commented Jun 21, 2024

linagora/enough_html_editor#30 was merged. Please update pubspec. @dab246

Updated. Please fetch latest commit and test again. Thanks

Comment on lines -173 to -175
final uploadFileState = _uploadingStateInlineFiles.getUploadFileStateById(success.uploadId);
log('UploadController::_handleProgressUploadInlineImageStateStream:uploadId: ${uploadFileState?.uploadTaskId} | fromFileShared: ${uploadFileState?.file?.isShared}');

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need to remove it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

final uploadFileState is just for logging purposes, we don't need it. Avoid wasting memory

@hoangdat
Copy link
Member

hoangdat commented Jun 22, 2024

  • @tddang-linagora please test on android
    • Attachment: OK
    • Inline image: OK
    • Align text: OK
    • Indent text: OK
    • Unordered list: OK
    • Ordered list: OK
    • Quick style: OK
  • @dab246 test on iOS + tablet (with demo)
    • iOS: Work well
    • iPad/Tablet: Work well
    • Demo: Updated in description on top PR
  • @hoangdat test on browser responsive
    • work well
    • no impaction

@tddang-linagora tddang-linagora self-requested a review June 24, 2024 03:03
@hoangdat hoangdat changed the base branch from refactor to combine_cherry_2_cherry_3 June 24, 2024 04:44
@hoangdat hoangdat merged commit a7d4e10 into combine_cherry_2_cherry_3 Jun 24, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants