Commit Graph

12 Commits

Author SHA1 Message Date
Guilherme Leme
137af4e421 [fix-dom-element-manipulation] fix user-camera-dom-element-manipulation hook, refactored several hooks and added onclick event in dropdown 2024-08-20 10:42:05 -03:00
Arthur B. Grossi
d2132484b4
feat(plugins): server command send chat message (#20781)
* feat(plugins): add chat server command and chat message type `plugin`

This commit adds the required code for the plugins SDK's chat server
command `CHAT_SEND_MESSAGE`, which allows plugins to send chat
messages. Messages sent by plugins are identified by the message
type `plugin` and belong to the user (senderID) of the client that
sent it. Plugin messages are not displayed by the client itself because
these messages are meant to be custom-rendered by plugins, typically by
the plugin that sent them.

* feat(plugins): add message metadata

Plugin name and plugin custom metadata are stored in message's metadata,
so plugins need it to identify messages when applying custom render.

* feat(chat): removes specific code for plugin messages

Removes specific akka messages, handlers and routes for plugin messages
and adds metadata parameter in `GroupChatMsgFromUser`.

* feat(chat): adds option parameter to mutation

Adds optional parameter `metadata` to the already existing mutation
`chatSendMessage` and use this mutation for plugin chat server command.

* feat(chat): rendering of plugin messages

This commit implements the correct rendering of plugin messages, which
is:
- Plugin messages with metadata attribute `custom` set to true are not
  rendered by the client, and are meant to be custom-rendered by
  plugins.
- Plugin messages with metadata attribute `custom` set to false are
  rendered by the client as being sent by the user that triggered it.

* Update sdk version to v0.0.56

* update sdk version to v0.0.57
2024-08-07 15:59:30 -04:00
Tainan Felipe
3bc40df230
Add: useDeduplicatedSubscription hook (#20376)
* Add: useDeduplicatedSubscription hook

* Fix: TS error

* Add: components using useDeduplicatedSubscription

* Change: Move to useDeduplicatedSubscription

* Change: unsubscribe logic to own useEffect

* Change: remove file import over package

* Fix: TS errors

* Fix: private chat not loading

* Change: revert changes on queries

* Fix: eslint error

* Remove: html-webpack-plugin package

* Fix: external video

* Add: comment about the stringToHash function

* Fix: video player showing tools over presentation
2024-06-04 10:40:54 -03:00
Guilherme Leme
0142ef7f81 [useCurrentMeeting] - created useMeeting hook 2024-04-25 16:19:44 -03:00
Guilherme Pereira Leme
f26efdeac9
Fix: useCurrentUser hook for plugins (#19822) 2024-03-28 15:21:00 -03:00
João Victor
0ff49cc215 improvement: use patched subscriptions for both user list and current user 2024-03-06 11:31:39 -03:00
Guilherme Pereira Leme
d7e2d400d6
fix: decrease total number of subscriptions for some hooks (#19653) 2024-02-21 16:50:46 -03:00
Guilherme Pereira Leme
ecb3350a9f
feat(plugins): create useTalkingIndicator and set for external video volume (#19447)
* [plugin-sdk-talking-indicator-and-external-video] - create new data consumption hook and ui command

* [plugin-sdk-talking-indicator-and-external-video] bump SDK version

* [plugin-sdk-talking-indicator-and-external-video] - resolve tsc issues

* [plugin-sdk-talking-indicator-and-external-video] - resolve tsc issues

* [plugin-sdk-talking-indicator-and-external-video] - resolve lint errors
2024-01-30 18:37:29 -03:00
Tainan Felipe
b524f0b9fb
Fix: chat loading only one page per time (#19511) 2024-01-29 14:04:04 -03:00
Guilherme Pereira Leme
1b6445d211
feat(plugin): Refactor enums and filenames (#19418) 2024-01-15 14:12:39 -03:00
Guilherme Pereira Leme
774a628d19
feat(plugin): add new useLoadedChatMessages (#19339)
* [plugin-sdk-issue-27] - new data-consumption-hook

* [plugin-sdk-issue-27] - update SDK
2023-12-14 17:02:00 -03:00
Guilherme Pereira Leme
eb7adfb994
feat(plugins): code refactor for readability (#19222)
* [plugin-sdk-refactor-organization] - rearrange of files and folders (WIP)

* [plugin-sdk-refactor-organization ] - final touches

* [plugin-sdk-refactor-organization ] - fix

* [plugin-sdk-refactor-organization ] - update SDK
2023-11-28 15:31:28 -03:00