محدد CSS لفصل منشورات المستخدم الحالي

بعد البحث قليلاً في plugin-api، أعتقد أنني وجدت حلاً لمشكلتك والطريقة الصحيحة لتنفيذ ما اقترحته

<script type="text/discourse-plugin" version="0.8">
  api.addPostClassesCallback((attrs) => {
    const user = api.getCurrentUser();
    if (attrs.user_id === user.id)  {
      return ['current-user-post']
    }
  });
</script>

راجع هنا:
https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/lib/plugin-api.js#L712

سيؤدي هذا إلى إضافة current-user-post إلى كل منشور ينشره المستخدم الحالي المسجل دخوله.