[Bug 39638] New: Notice display modal should respect 'email' message transport type
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39638 Bug ID: 39638 Summary: Notice display modal should respect 'email' message transport type Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org Depends on: 39410 So, we got another step closer to displaying accurate renders of generated notices in a modal from the user notices pages with bug 39410.. However, whilst this properly dissociates the stylesheets used in the staff client from the notice preview modal using shadow DOM.. it does not yet mimic the escaping and reduced function set of HTML that email clients use to render mail. We should consider message transport type when rendering the display and for email type notices, we should parse them in the same way an email client would. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39410 [Bug 39410] Notice display modal should use shadow dom -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39638 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39638 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |martin.renvoize@openfifth.c |ity.org |o.uk -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39638 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Email clients typically support: * Inline CSS only * Basic tags (<table>, <tr>, <td>, <p>, <img>, <a>, etc.) * No <style>, <script>, or modern CSS like flexbox, grid, etc. Perhaps I'm looking at this from the wrong level.. we should be considering this when generating email type notices and use an inliner or transposer to convert our modern HTML template driven notices to the restricted rules from above. We could even bundle something like https://bootstrapemail.com/. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39638 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39638 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- This sounds pretty interesting. Some of the local feedback I got for bug 11583 was about generating previews but I didn't feel confident that we could do a really good preview. This could help a lot with that. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39638 --- Comment #3 from David Cook <dcook@prosentient.com.au> --- We could even add some advice near the editor to tell people to keep it simple as you've described, Martin. I notice sometimes that libraries want to do these really elaborate emails, but simpler is better imho... -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org