OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
690 stars 95 forks source link

Text indention in spam addin success dialog for new outlook is different from classic outlook. #4809

Open glr0221 opened 3 months ago

glr0221 commented 3 months ago

Provide required information needed to triage your issue

The indention and newlines in the success message are not reflected in the success dialog of the spam addin for new look outlook. The classic outlook spam addin success dialog however, shows the new lines.

Your Environment

Expected behavior

We are expecting that the spam addin success dialog for new look outlook will reflect new lines as well.

Current behavior

Spam addin success dialog for new look outlook does not reflect new lines in success message. Here is how it looks like :

NewLookOutlookDialog

Old look outlook on the other hand looks like this :

ClassicLookOutlookDialog

Steps to reproduce

  1. Load and run the sample spam addin from Microsoft in localhost.
  2. Open the corresponding code of the sample spam addin and modify the success message to have new lines in them.
  3. Load and run the updated sample addin in classic outlook.
  4. Load and run the updated sample addin in new look outlook.

Link to live example(s)

NA

Provide additional details

NA

Context

Useful logs

Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.

anjalitp commented 3 months ago

Thanks for reporting this issue regarding Spam Reporting add-in. It has been put on our backlog. We unfortunately have no timelines to share at this point

Internal tracking id: Office: 4860798