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

Email Rendering in Desktop App #635

Open
2 of 4 tasks
Axolord opened this issue Feb 19, 2024 · 2 comments
Open
2 of 4 tasks

Email Rendering in Desktop App #635

Axolord opened this issue Feb 19, 2024 · 2 comments
Labels

Comments

@Axolord
Copy link

Axolord commented Feb 19, 2024

Setup

  • Version: v5.8.27-C155 and v5.8.27-L155
  • Environment: Docker

Interface

  • Flutter: [x]
  • React: [ ]
  • Both: [ ]

Checklist

Describe the bug

Before sending a Mail, it is not properly rendered in the preview in the desktop app. Webapp and Android app are working fine.
<br/> tags dont get respected and the theme "light" also does not work, showing only text with no styling.

Steps To Reproduce

Include the following email template and preview it in the desktop app. Optionally enable the "light" theme.

<div class="center">$view_button</div>
<p>Bei Fragen stehe ich jederzeit zur Verfügung.</p>
<p>WWW<br />XXX<br />YYY <br />ZZZ</p>

Expected Behavior

The following image (I removed privacy-sensitive information like my logo and the footer, containing my phone number):
image

Screenshots

Email from the Desktop app looks like this (here no further information is displayed. No logo, no footer and the <br/> tags do not work. Email template is exactly the same):
image

@Axolord Axolord added the triage label Feb 19, 2024
@turbo124
Copy link
Member

@hillelcoren

is the flutter AP transforming the data here? I cannot replicate using React or the flutter interface will the text/html displayed

image

@hillelcoren
Copy link
Member

The Flutter web and desktop apps have different email previews. Flutter doesn't yet support using the browser in a desktop app so we aren't able to show the full HTML preview.

@hillelcoren hillelcoren transferred this issue from invoiceninja/invoiceninja Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants