mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #403] Print email / Print thread / Save to PDF #334
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#334
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marclaporte on GitHub (May 21, 2020).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/403
Use case: to save an email or thread to a self-contained and easy to distribute / archive file. So a print view using CSS, which users can save as PDF.
Previous and Next links should not be in print version. Ref: https://github.com/jasonmunro/cypht/issues/402
For threaded version, we'll first need this: https://github.com/jasonmunro/cypht/issues/10
Within Tiki, we'll send to https://doc.tiki.org/mPDF but that is likely out of scope for standalone Cypht.
@dumblob commented on GitHub (May 22, 2020):
Note, there has to be at least 2 print buttons - one for A4 and the other for B4 due to cultural differences in the world.
To clarify - normally this wouldn't be needed, but if today someone already prints something, then the "something" is more probable to have precise units which should be correctly printed instead of reflowed and/or scaled.
@jasonmunro commented on GitHub (Jun 10, 2020):
We already support CSS print for the message view. Our CSS removes a bunch of page components not needed for printing including the previous/next links. (https://github.com/jasonmunro/cypht/blob/master/modules/core/site.css#L256-L258)
@PaulTGG commented on GitHub (Jan 10, 2024):
I don't know enough about CSS print media styles, but if it'd be an option to allow printing inline messages, without printing the entire list of messages along with it, that'd be a bonus! (At first glance, it looks like all that's needed is to print the "inline_msg" <tr> class.)