Hi, I noticed an odd interaction with DiscoTOC and Slack integration. Basically the header links don’t properly post.
See details here
Hi, I noticed an odd interaction with DiscoTOC and Slack integration. Basically the header links don’t properly post.
See details here
That is because the heading links do not include the path to the topic. For example <a name="overview" href="#overview">. The Chat Integration plugin is attempting to convert relative links into absolute links by prepending the forum’s root URL to any links in the post, but that is not going to work for the header links because the path to the topic is missing.
A possible solution would be for us to add the path to the topic to the TOC href element. For example, instead of setting <a name="overview" href="#overview">, the href element would be set to something like /t/your-topic-slug/1234#overview".
أجد أنني أحصل على هذا عندما يتم نشر أي منشورات تحتوي على عناوين في Slack - يسبق نص العنوان رابط إلى الصفحة الرئيسية للموقع مثبتًا باسم العنوان.
على سبيل المثال، منشور مثل هذا:
يظهر هكذا في Slack:
نعم، يبدو أن هذه مشكلة في روابط العناوين التلقائية الخاصة بنا، والتي توجد حتى بدون مكون سمة DiscoTOC. سأقوم بتحديث العنوان ليعكس ذلك.
مرحباً، هل لديك أي تحديث بخصوص هذه المشكلة؟ شكراً لك.
أعتقد أنها لا تزال في pr-welcome. لقد أبلغت فريق تجربة الموظفين وهم على علم بالمشكلة.