Closed sparrowhe closed 4 months ago
oh shit we've unlocked Gandi IDE's Backend team characters pack 😱😱😱
I'm planning to add a teamworkManager object to PluginContext. Here's its type definition. Let me know if there's anything else you need
You can get the latest onlineUsers like this:
function onOnlineUsersUpdate (onlineUsers) {
console.log('onlineUsers', onlineUsers);
}
// Subscribe
teamworkManager.on('online_users_update', onOnlineUsersUpdate);
// Unsubscribe
teamworkManager.off('online_users_update', onOnlineUsersUpdate);
I'm planning to add a teamworkManager object to PluginContext. Here's its type definition. Let me know if there's anything else you need
Can I get if a project is a teamwork project or not? I would like to add some logic to let users know they can only use voice cooperation function when they under a teamwork and login as a user.
I'm planning to add a teamworkManager object to PluginContext. Here's its type definition. Let me know if there's anything else you need
Can I get if a project is a teamwork project or not? I would like to add some logic to let users know they can only use voice cooperation function when they under a teamwork and login as a user.
teamworkManager
is only available in collaboration mode; otherwise, it will be null. Users must be logged in to enter collaboration mode
Background
The backend team is planning to implement a "Voice Cooperation" function in the Gandi IDE as a plugin. This function will allow users to chat with their team within the Gandi IDE.
Requirements
An API Interface to access cooperation informations, including:
For more details, contact me or make a comment below.
Best Regards.