נושאים אדומים נראים לא-אדומים כשחוזרים לעדכניים ביותר

סיכום מבוסס בינה מלאכותית

Users reported that read topics in Discourse’s /latest and /categories views were not visually distinguishing themselves from unread ones — appearing black instead of greyed out — making it hard to track what they’d already read. The issue affected both mobile (DiscourseHub) and desktop users, persisted after refreshes for some, and was not resolved by safe mode. Initial suspicion fell on caching, but deeper investigation by Moin and others traced it to a recent CSS change in PR #34138, which removed the .latest-topic-list-item.visited selector affecting styling in /categories. The bug was confirmed to be more visible when logged in, as anonymous users had different styling rules. A temporary workaround using custom CSS was suggested. jordan.vidrine acknowledged the issue and fixed it in PR #34225. Users confirmed the fix restored normal read/unread visual cues. soegaard confirmed everything was back to normal after the patch.

לא נורא, אבל אני סקרן – משהו השתנה כאן מבחינת מטמון (cache) או משהו אחר?

אייפד ו-DiscourseHub – כשאני פותח נושא מ-/latest, קורא אותו וחוזר אחורה על ידי החלקה משמאל, הנושא עדיין מוצג כחדש, כלומר הוא נשאר שחור, ולא הופך לאפור.

זה תמיד היה קצת לא אמין, אבל בעבר נושא שנפתח לא שינה את ה"סטטוס" שלו אולי פעם אחת מתוך 10, אבל עכשיו כל נושא נראה כאילו לא נפתח כשחוזרים ל-/latest.

2 לייקים

I saw that too when you posted. But after a reload everything is fine again. I think sometimes small changes in Discourse updates cause this until you reload the app so all the code running in your browser is up to date.

I know some weeks ago the avatars on latest were giant until I refreshed.

Yeah. Closing the hub and opening again was a fix indeed. I blame cache :joy:

לייק 1

I think this was related to UX: Fix old syntax (#34138) · discourse/discourse@f6a1648 · GitHub (a very mysterious commit message @jordan.vidrine :grinning_face:), not caches.

Thanks for the report, though!

3 לייקים

FWIW - we are seeing the same issue at https://racket.discourse.group/

לייק 1

שלום אנחנו עדיין רואים את זה - סגירה / רענון הלשונית לא פותרת את זה.

Does safe mode help?

שלי עדיין עושה זאת גם כן לאחר טעינות אינסופיות

נושא זה נסגר אוטומטית לאחר 17 שעות. לא ניתן להוסיף תגובות חדשות.

@jordan.vidrine יש לך רעיונות?

Looks like visited is displaying differently than non-visited for me

התצוגה האחרונה עובדת בסדר, בתצוגת הקטגוריות הנושאים המופיעים בצד אינם מתעדכנים

לייק 1

Moin:

Does safe mode help?

Not for me.

FWIW

There is nothing in the markup that indicates it’s already read.

הדף ‘קטגוריות’ הראה נקודה כחולה ליד רשומה חדשה מאוד, עד שקראתי אותה.

אני לא נוטה להתעסק עם ההגדרות… אבל האם ייתכן ש’קטגוריות’ מוגדרות להציג פוסטים חדשים בצורה שונה מתצוגת ‘האחרונים’?

Could this commit (from 2 days ago) have anything to do with the issue?

https://github.com/discourse/discourse/commit/890c43810f32c41473e2b2dc4029179947819fb5

For me, read topics are darker than unread topics.

@Moin אני שם לב שאתה לא מחובר.

האם זה עדיין עובד עבורך, אם אתה מתחבר?

לייק 1

I think this is the issue somehow. I just tried your site and it’s fine logged out, made an account and it’s not working (my site can’t be read logged out so I tried yours )

לייק 1