nathank
(Nathan Kershaw)
5 أكتوبر 2022، 10:01ص
1
أفكر في إنشاء مكون سمة (Theme component) يضيف زر مكالمة فيديو (Jitsi أو ما شابه) إلى رأس الدردشة.
يبدو الأمر صعبًا بعض الشيء لأن HTML مختلف تمامًا بين العرض الكامل للصفحة والعرض المسحوب (لم أتحقق حتى من الهاتف المحمول).
وقد يكون من المبكر جدًا العبث بمكون الدردشة الإضافي، حيث يبدو أنه لم يفعل ذلك أحد غيري بعد. لذلك لا يوجد أحد لأنسخ منه!
ومع ذلك، فهو هدف جذاب جدًا لهذا الغرض لأنه من السهل نسبيًا التأكد من أن كلا الطرفين (في حالة واحد لواحد) في نفس المكان / السياق عند الدردشة، مما يزيل تمامًا الحاجة إلى “جدولة” مكالمة.
هل لدى أي شخص أي أفكار حول كيفية المضي قدمًا في هذا الأمر؟
6 إعجابات
asirota
(Alex Sirota)
5 أكتوبر 2022، 3:30م
2
قد تكون طريقة رائعة لعقد اجتماع. أو ربما يكون لديك ترقية دعم فيديو للأشخاص الذين يقدمون الدعم. نحن نفعل شيئًا كهذا على https://newpathconsulting.com/hero
إعجاب واحد (1)
mcwumbly
(Dave McClure)
5 أكتوبر 2022، 6:50م
3
يتمثل الخطر الآخر هنا في أن الأمور لا تزال تتحرك بسرعة، لذا قد تضطر إلى قبول تعطل التخصيصات دون سابق إنذار لفترة أطول.
إعجابَين (2)
nathank
(Nathan Kershaw)
23 يناير 2024، 3:46ص
4
لدينا طلب سحب (PR) لهذا في الوقت الحالي:
main ← jacobtread-contrib:main
opened 03:10AM - 23 Jan 24 UTC
## Changes
- Added integration into the Discourse Chat feature
- Open meetin… g links in a new tab rather than redirecting the current
- Separated templating and javascript (Tooling for .gjs seems not well supported and features like `or` helpers didn't seem to work with it)
- Added new default options
> This is part of a two part pull request which will likely arrive some time after if you choose to accept these changes. The upcoming pull request adds new features such a seperate header icon for creating meetings and changes to how the settings are layed out. But I thought it best to not include those in this pull request as they might deviated too much from your initial ideas and could slow down the process of reviewing this
## Discourse Chat Integration
This changes adds an integration into the Discourse Chat feature adding a button to the chat options for allowing creating meeting links within the chat channels (two variants "dropdown" and "inline" from a new setting):
| dropdown | inline |
|---|--|
|  | 
The button opens the same window (just with the additional options disabled), since I couldn't seem to find a way to get the chat feature to support the `[wrap][/wrap]` bbcode without looking into it too much further, so in this case the meeting links are in plain text rather than formatted as buttons:

Pressing "Insert" then inserts the meeting link into the current draft message:

The above chat integration can be toggled with a setting and has another setting for choosing the position of the button.
## Link open in new tab
This also a change, making it so normal meeting links that are not using the iframe option, open in a new tab rather than redirecting the current tab.
## Additional configuration
I've also added an additional three new settings related to the iframes:

hide iframe buttons: Controls whether the settings for desktop and mobile iframes are shown to user
default mobile iframe: Controls the default value for the mobile iframe setting
default desktop iframe: Controls the default value for the mobile iframe setting
إعجابَين (2)
j.jaffeux
(Joffrey Jaffeux)
28 فبراير 2024، 4:30م
5
لقد قمت للتو بدمج طلب السحب، شكرًا لك!
4 إعجابات