nathank
(Nathan Kershaw)
05.Октябрь.2022 10:01:04
1
Я думаю о создании компонента Theme, который добавит кнопку видеозвонка (Jitsi или аналогичный) в заголовок чата.
Это выглядит немного сложно, так как HTML-структура сильно различается между полной страницей и видом из боковой панели (мобильную версию я ещё даже не проверял).
К тому же, возможно, пока рано лезть в плагин Chat, поскольку, похоже, никто другой этого ещё не делал. Следовательно, не с кого брать пример!
Однако это очень привлекательная цель, так как довольно легко обеспечить, чтобы обе стороны (в случае一对一) находились в одном месте / контексте во время общения, полностью устраняя необходимость «планировать» звонок.
У кого-нибудь есть идеи, как это реализовать?
6 лайков
asirota
(Alex Sirota)
05.Октябрь.2022 15:30:20
2
Это могло бы стать отличным способом проведения совещаний. Или, возможно, стоит внедрить升级 видеоподдержки для специалистов по обслуживанию клиентов. Мы делаем что-то подобное на https://newpathconsulting.com/hero
1 лайк
mcwumbly
(Dave McClure)
05.Октябрь.2022 18:50:50
3
И, возможно, ещё слишком рано возиться с плагином Чат, так как, похоже, никто другой этого ещё не делал. Следовательно, не с кого брать пример!
Другой риск здесь в том, что всё ещё быстро меняется, поэтому вам, возможно, придётся какое-то время ещё мириться с тем, что кастомизации будут ломаться без предупреждения.
2 лайка
nathank
(Nathan Kershaw)
23.Январь.2024 03:46:59
4
У нас сейчас есть PR по этому вопросу:
main ← jacobtread-contrib:main
merged 04:30PM - 28 Feb 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 16:30:58
5
Я только что принял PR, спасибо!
4 лайка