Display the timer on the header next to the topic title.
I’m looking for specific UI/UX suggestions for how to implement a header timer, in the context of Discourse, with a view to crowd-funding the development costs if there’s enough interest (@darhazer@tobiaseigen)
Currently, it works for all timed topics. @ninjapenguin if you’re are willing to fund the development of this feature, I’ll be happy to add the category specific feature for the component.
In any case, you can join the discussion related to the component here.
This theme component is breaking the topic timers interface, unfortunately. Number of days seems to turn into number of seconds, and the blue bar containing the “Replies on this topic are automatically deleted after …” has no next. It then becomes impossible to remove timer. Deleting this theme component made it work again.
يمكنني تكرار هذه المشكلة. آسف على عدم التعامل مع الأمر في وقت سابق.
لم يتم اختبار مكون القالب مع أي مؤقتات أخرى غير مؤقت “إغلاق الموضوع”، لأنه بُني خصيصًا لذلك المؤقت، لكن اسمه يوحي بأنه يجب أن يعمل مع جميع أنواع مؤقتات المواضيع.
أيضًا، لم يكن يجب أن يؤثر على أي وظيفة افتراضية أخرى على الأقل. أنا أعمل على إصلاح هذا وسأعود بحلول قريبًا.
كان هذا أول عمل لي كعميل على منصة Discourse. يثير ذكريات قديمة.
ملاحظة:
لقد قدمت طلب دمج (PR) إلى مؤقت المواضيع الأساسي لجعله قابلًا للتوسع لمطوري الإضافات والقوالب. تجاوز طريقة “monolith” يمكن أن يكون عرضة للكسر بسهولة.