رسائل المنتدى المرسلة عبر البريد الإلكتروني تظهر باللون الرمادي في الوضع المظلم في بعض منتديات Discourse

لقد تم مؤخرًا تظليل النص الموجود في المشاركات المرسلة عبر البريد الإلكتروني التي أتلقاها باللون الرمادي.

يحدث هذا مع meta.discourse.org وبعض منتديات Discourse الأخرى، ولكن بعض منتديات Discourse الأخرى تعمل بشكل جيد.

تحدث المشكلة فقط عندما يتم ضبط جهاز Mac الخاص بي على الوضع المظلم؛ ولا تحدث مع الوضع الفاتح.

هل حدث أي تغيير مؤخرًا في برنامج Discourse للتسبب في ذلك؟

5 إعجابات

مرحباً ريتشارد،

لقد حاولت إعادة إنتاج هذا باستخدام Apple Mail وعلى 3 متصفحات مختلفة مع Gmail، ولكن حتى الآن لم أنجح. لذلك، أود الحصول على مزيد من المعلومات لمعرفة ما إذا كان بإمكاننا تكرار ذلك. هل يمكنك إخباري بما يلي:

  • ما هو عميل البريد الإلكتروني الذي تستخدمه؟
  • إذا كان Gmail، فما هو المتصفح الذي تستخدمه؟
  • وما هو إصدار macOS الذي تستخدمه؟

سنواصل البحث في هذا الأمر، ولكن نأمل أن يساعدنا هذا في تضييق نطاقه.

مارك

4 إعجابات

أنا لست ريتشارد، ولكن بالنظر إلى الخط في الصورة، يبدو أنه يستخدم Microsoft Outlook. :grin:

3 إعجابات

منذ الترقية إلى 2.9.0.beta4، أبلغ أحد أعضاء منتدانا عن معاناته من مشكلة مماثلة مع رسائل البريد الإلكتروني المرسلة من المنتدى. تم ضبط جهاز الكمبيوتر الخاص به على الوضع الداكن، وهو يستخدم Microsoft Outlook على نظام التشغيل Windows 10.

لقد قام بإعادة توجيه إحدى رسائل البريد الإلكتروني إلى مدير تكنولوجيا المعلومات الخاص به، وكان النص الرمادي الفاتح أسود على جهاز مدير تكنولوجيا المعلومات.

تم ضبط الإعداد ‘default dark mode color scheme id’ في المنتدى على None. يوجد سمة نشطة واحدة فقط: الافتراضي، لوحة الألوان فاتحة (افتراضي)، لا يوجد CSS/HTML مخصص.

4 إعجابات

لقد كنا نحصل على شيء مشابه أيضًا.

أي اقتراحات حول كيفية تضييق نطاق ما يسبب المشكلة؟

أبلغ أحد المستخدمين أن النص في إشعاره عبر البريد الإلكتروني كان فاتح اللون للغاية، لدرجة أنه كان من الصعب قراءته:

يبدو أن هذا السلوك يحدث فقط في تطبيق Outlook على الويب. هل واجه أي شخص آخر هذه المشكلة؟ أتساءل عما إذا كان سببها Discourse أو تطبيق Outlook وما إذا كان هناك أي شيء يمكننا القيام به لحلها.

أهلاً بكِ @Anna_at_Skuid :slightly_smiling_face:

لقد قمتُ بإدراج منشوركِ ضمن هذا الموضوع الحالي Bug المتعلق بنفس المشكلة للحفاظ عليها مجمعة معًا. :+1:

3 إعجابات

يمكنني تكرار المشكلة باستخدام تطبيق Outlook على الويب على Microsoft Edge (الإصدار 106.0.1370.47 (بناء رسمي) (64 بت)) و Firefox 106.0.1 (64 بت) و Chrome (الإصدار 106.0.5249.119 (بناء رسمي) (64 بت)) على Windows 10 Enterprise، الإصدار 20H2.

إعدادات Windows 10 > التخصيص > الألوان >
ثم إحدى هاتين الحالتين:
اختر اللون: مخصص.
اختر وضع التطبيق الافتراضي: داكن.
أو:
اختر اللون: داكن.

تطبيق Outlook على الويب > الإعدادات > الوضع الداكن: إيقاف.

هل يبدو أن خصائص الألوان في نمط CSS هذا المأخوذ من بريد إلكتروني بإصدار جديد (كمثال) أدناه؟:

<div class="rps_735d"><div dir="ltr" style="line-height:1.4; text-align:left"><p>Hooray, a new version of <a href="https://www.discourse.org" target="_blank" rel="noopener nofollow ugc noreferrer" data-auth="NotApplicable" style="text-decoration:none; font-weight:bold; color:#006699" data-safelink="true" data-linkindex="0"><span data-markjs="true" class="mark95gsb08l7" style="background-color: rgb(255, 241, 0); color: black;" data-ogac="" data-ogab="" data-ogsc="" data-ogsb="">Discourse</span></a> is available!</p><p>Your version: 2.9.0.beta9<br aria-hidden="true">New version: <strong>2.9.0.beta10</strong></p><ul style="margin:0 0 0 10px; padding:0 0 0 20px"><li style="padding-bottom:10px"><p>Upgrade using our easy <strong><a href="https://forum.step.org/admin/upgrade" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" style="text-decoration:none; font-weight:bold; color:#006699" data-safelink="true" data-linkindex="1">one-click browser upgrade</a></strong></p></li><li style="padding-bottom:10px"><p>See what’s new in the <a href="https://meta.discourse.org/tag/release-notes" target="_blank" rel="noopener nofollow ugc noreferrer" data-auth="NotApplicable" style="text-decoration:none; font-weight:bold; color:#006699" data-safelink="true" data-linkindex="2">release notes</a> or view the <a href="https://github.com/discourse/discourse/commits/main" target="_blank" rel="noopener nofollow ugc noreferrer" data-auth="NotApplicable" style="text-decoration:none; font-weight:bold; color:#006699" data-safelink="true" data-linkindex="3">raw GitHub changelog</a></p></li><li style="padding-bottom:10px"><p>Visit <a href="https://meta.discourse.org" target="_blank" rel="noopener nofollow ugc noreferrer" data-auth="NotApplicable" style="text-decoration:none; font-weight:bold; color:#006699" data-safelink="true" data-linkindex="4">meta.<span data-markjs="true" class="mark95gsb08l7" style="background-color: rgb(255, 241, 0); color: black;" data-ogac="" data-ogab="" data-ogsc="" data-ogsb="">discourse</span>.org</a> for news, discussion, and support for <span data-markjs="true" class="mark95gsb08l7" style="background-color: rgb(255, 241, 0); color: black;" data-ogac="" data-ogab="" data-ogsc="" data-ogsb="">Discourse</span></p></li></ul><h3 style="margin:30px 0 10px"><a name="x_release-notes-1" href="#x_release-notes-1" style="text-decoration:none; font-weight:bold; color:#006699" data-safelink="true" data-linkindex="5"></a>Release notes</h3><p>Read about the release here:</p><p><a href="https://meta.discourse.org/t/2-9-0-beta10-sidebar-new-notification-menu-security-fixes-and-more/239858" target="_blank" rel="noopener nofollow ugc noreferrer" data-auth="NotApplicable" style="text-decoration:none; font-weight:bold; color:#006699" data-safelink="true" data-linkindex="6">https://meta.<span data-markjs="true" class="mark95gsb08l7" style="background-color: rgb(255, 241, 0); color: black;" data-ogac="" data-ogab="" data-ogsc="" data-ogsb="">discourse</span>.org/t/2-9-0-beta10-sidebar-new-notification-menu-security-fixes-and-more/239858</a></p><p>This release includes security fixes, so please update as soon as possible.</p><div style="display:none; white-space:nowrap; font:15px courier; line-height:0">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsps
<style>
<!--
@media (prefers-
color-scheme: dark) {
.rps_735d html
	{background:#151515!important}
.rps_735d h1, .rps_735d h2, .rps_735d h3, .rps_735d h4, .rps_735d h5, .rps_735d h6, .rps_735d p, .rps_735d span, .rps_735d td
	{color:#dddddd!important}
.rps_735d [data-stripped-secure-media]
	{border-color:#454545!important}
.rps_735d [dm='text-color']
	{color:#dddddd}
.rps_735d [dm='header']
	{background:#151515!important}
.rps_735d [dm='topic-body']
	{background:#151515!important;
	border-bottom:1px solid #454545!important}
.rps_735d [dm='triangle']
	{border-top-color:#151515!important}
.rps_735d [dm='body']
	{background:#222222!important;
	color:#dddddd!important}
.rps_735d [dm='body_primary']
	{background:#062e3d!important;
	color:#dddddd!important}
.rps_735d [dm='bg']
	{background:#323232!important;
	border-color:#454545!important}

	}
-->
</style></div></div>

كحل بديل في هذه الأثناء، هل يمكن اقتراح على المستخدم أنه يمكنه تشغيل الوضع الداكن في إعدادات تطبيق Outlook على الويب...؟

مرحباً بالجميع،

نعتذر عن التأخير هنا، لقد قمنا بإعادة إنتاج المشكلة في سيناريو محدد ودمجنا إصلاحًا. إذا كنت عميلاً مستضافًا، فسيكون الإصلاح في مثيلك خلال الأسبوع القادم تقريبًا.


السيناريو المحدد لإعادة الإنتاج هو استخدام تطبيق Outlook Web الافتراضي الذي يعمل على نظام تشغيل مضبوط على الوضع المظلم.

هذا المزيج تسبب في تطبيق بعض أنماط الوضع المظلم على عناصر في قالب البريد الإلكتروني. وذلك لأن Outlook Web سيحترم @media (prefers-color-scheme:dark) (نظرًا لأن نظام التشغيل في الوضع المظلم) على الرغم من أن Outlook Web نفسه ليس في الوضع المظلم. هذا يعتبر خطأً في Outlook Web.

ومع ذلك، لقد طبقنا إصلاحًا بسيطًا. إليك الالتزام ذي الصلة في core:

6 إعجابات