-
Notifications
You must be signed in to change notification settings - Fork 82
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
[Plan B] TF-2764 Printing pdf when preview #2780
[Plan B] TF-2764 Printing pdf when preview #2780
Conversation
Brief about this proposal: View one-by-one PDF in Dart side in only Web app
Hi @chibenwa what do you think with this proposal (we were in progress while you sent email about revert PDF viewer). And for sure, we need to verify very carefully in all OS and browser. |
core/lib/presentation/views/file_viewer/pagination_pdf_viewer.dart
Outdated
Show resolved
Hide resolved
This PR has been deployed to https://linagora.github.io/tmail-flutter/2780. |
Screen.Recording.2024-05-07.at.16.36.16.mov |
Chrome:
|
Screen.Recording.2024-05-07.at.16.51.24.mov |
We should only have 1 page at a time, preventing opening multiple pages at a time. |
IMO, We just need to show the toast, which is enough for the user to understand, to avoid blocking other user actions. |
ef71a66
to
7b190a2
Compare
Solution
DemoScreen.Recording.2024-05-13.at.15.07.18.mov |
Solution
DemoScreen.Recording.2024-05-14.at.16.36.42.online-video-cutter.com.mp4 |
bb5083e
to
9ccca88
Compare
test/features/email/presentation/controller/single_email_controller_test.dart
Show resolved
Hide resolved
|
hi @chibenwa please take a look on demo video, and read the ADR. At the moment, we still have some things:
|
Hi @chibenwa , hope this find you well #2780 (comment) |
Cool. Proposal: |
Chromium: when printing and "save as pdf" the filename is a UUID Direct download from the pdf viewer is OK |
Also on GMail when I click on the grey zone around the PDF document, it closes the document. |
|
f03b6a3
to
4043bbc
Compare
Done. @hoangdat Please review again.
Screen.Recording.2024-05-22.at.16.20.03.mov
firefox.mov |
4043bbc
to
d6b9cd2
Compare
Issue
#2764
Task
but file names are randomly generated from the respective browser
)PDF.js Viewer
Twake Mail
index
FileName or UUID
FileName or UUID
Demo
Screen.Recording.2024-04-04.at.16.35.30.online-video-cutter.com.mp4