Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Aug 23, 2022
1 parent c17c1c9 commit dfbcdb8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@ const MessageContent: FC<{ message: IMessage; sequential: boolean; subscription?
blocks={message.blocks
.map((block) => {
if (block.appId === 'videoconf-core') {
if (block.type !== 'actions') {
return null;
}
return {
type: 'video_conf',
blockId: block.elements[0].blockId,
blockId: (block as any).elements?.[0].blockId,
callId: '6303d0f00620f3a4ada39f85',
appId: 'videoconf-core',
};
Expand Down
20 changes: 12 additions & 8 deletions packages/fuselage-ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,20 @@
"bump-next": "bump-next"
},
"peerDependencies": {
"@rocket.chat/apps-engine": "~1.30.0",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/fuselage": "*",
"@rocket.chat/fuselage-hooks": "*",
"@rocket.chat/fuselage-polyfills": "*",
"@rocket.chat/icons": "*",
"@rocket.chat/prettier-config": "*",
"@rocket.chat/styled": "*",
"@rocket.chat/ui-contexts": "workspace:^",
"@rocket.chat/ui-kit": "*",
"@rocket.chat/ui-video-conf": "workspace:^",
"@tanstack/react-query": "*",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "*",
"react-dom": "*"
},
"devDependencies": {
"@rocket.chat/apps-engine": "~1.30.0",
Expand All @@ -56,6 +62,9 @@
"@rocket.chat/icons": "next",
"@rocket.chat/prettier-config": "next",
"@rocket.chat/styled": "next",
"@rocket.chat/ui-contexts": "workspace:^",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-video-conf": "workspace:^",
"@storybook/addon-essentials": "~6.5.10",
"@storybook/addons": "~6.5.10",
"@storybook/builder-webpack5": "~6.5.10",
Expand All @@ -76,13 +85,8 @@
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"tslib": "^2.3.1",
"typescript": "~4.3.5",
"webpack": "~5.68.0"
},
"dependencies": {
"@rocket.chat/ui-contexts": "workspace:^",
"@rocket.chat/ui-kit": "next",
"@rocket.chat/ui-video-conf": "workspace:^",
"tslib": "^2.3.1"
}
}
10 changes: 8 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4091,14 +4091,20 @@ __metadata:
typescript: ~4.3.5
webpack: ~5.68.0
peerDependencies:
"@rocket.chat/apps-engine": ~1.30.0
"@rocket.chat/eslint-config": "workspace:^"
"@rocket.chat/fuselage": "*"
"@rocket.chat/fuselage-hooks": "*"
"@rocket.chat/fuselage-polyfills": "*"
"@rocket.chat/icons": "*"
"@rocket.chat/prettier-config": "*"
"@rocket.chat/styled": "*"
"@rocket.chat/ui-contexts": "workspace:^"
"@rocket.chat/ui-kit": "*"
"@rocket.chat/ui-video-conf": "workspace:^"
"@tanstack/react-query": "*"
react: ^17.0.2
react-dom: ^17.0.2
react: "*"
react-dom: "*"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit dfbcdb8

Please sign in to comment.