whiteboard avatar image added and integration added in db and home component

This commit is contained in:
nurjinn jafar 2020-09-02 10:05:50 +02:00
parent 3140b467b2
commit 7a2cfaf5df
4 changed files with 19 additions and 1 deletions

View File

@ -32,6 +32,14 @@ export default {
description: "Collaborate on documents with members of your room.",
optionsJson: '{"defaultUrl":"https://scalar.vector.im/etherpad/p/$roomId_$padName"}',
},
{
type: "whiteboard",
name: "Whiteboard",
avatarUrl: "/img/avatars/whiteboard.png",
isEnabled: true,
isPublic: true,
description: "A whiteboard app embedded in the room.",
},
{
type: "googlecalendar",
name: "Google Calendar",

View File

@ -73,6 +73,10 @@
<img src="/img/avatars/customwidget.png">
<span>Custom Widget</span>
</div>
<div class="integration">
<img src="/img/avatars/whiteboard.png">
<span>Whiteboard</span>
</div>
</div>
</div>

View File

@ -88,8 +88,14 @@ export interface FE_JitsiWidget extends FE_Widget {
};
}
export interface FE_WhiteBoardWidget extends FE_Widget {
options: {
defaultUrl: string;
};
}
export interface FE_IntegrationRequirement {
condition: "publicRoom" | "canSendEventTypes" | "userInRoom";
argument: any;
expectedValue: any;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB