Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit388b3a0

Browse files
added chat controller
1 parent009cea8 commit388b3a0

File tree

5 files changed

+19
-1
lines changed

5 files changed

+19
-1
lines changed

‎client/packages/lowcoder/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"loglevel":"^1.8.0",
6161
"lowcoder-core":"workspace:^",
6262
"lowcoder-design":"workspace:^",
63+
"matrix-js-sdk":"^30.3.0",
6364
"mime":"^3.0.0",
6465
"moment":"^2.29.4",
6566
"numbro":"^2.3.6",

‎client/packages/lowcoder/src/comps/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ const uiCompMap: Registry = {
485485
name:trans("chat.chatCompName"),
486486
enName:"Drawer",
487487
description:trans("chat.chatCompDesc"),
488-
categories:["chat"],
488+
categories:["chats"],
489489
icon:DrawerCompIcon,
490490
keywords:trans("chat.chatCompKeywords"),
491491
comp:ChatControllerComp,

‎client/packages/lowcoder/src/comps/uiCompRegistry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const uiCompCategoryNames = {
2727
layout:trans("uiCompCategory.layout"),
2828
forms:trans("uiCompCategory.forms"),
2929
collaboration:trans("uiCompCategory.collaboration"),
30+
chats:trans("uiCompCategory.chats"),
3031
projectmanagement:trans("uiCompCategory.projectmanagement"),
3132
scheduling:trans("uiCompCategory.scheduling"),
3233
documents:trans("uiCompCategory.documents"),

‎client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,21 @@ export const en = {
16621662
meetingActive:"Ongoing Meeting",
16631663
messages:"Broadcasted Messages",
16641664
},
1665+
1666+
chat:{
1667+
chatCompName:"Chat Controller",
1668+
chatCompDesc:"Chat component",
1669+
chatCompKeywords:"",
1670+
chat:"Chat Settings",
1671+
username:"Username",
1672+
credentials:"Matrix Credentials",
1673+
password:"Password",
1674+
roomalias:"Room name or room ID",
1675+
roomData:"Room data",
1676+
chatCommentsCompName:"Chats",
1677+
chatCommentsCompKeywords:"",
1678+
},
1679+
16651680
settings:{
16661681
title:"Settings",
16671682
userGroups:"User Groups",

‎client/packages/lowcoder/src/pages/editor/editorConstants.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export const CompStateIcon: {
104104
audio:<LeftAudio/>,
105105
video:<LeftVideo/>,
106106
drawer:<LeftDrawer/>,
107+
chat:<LeftDrawer/>,
107108
carousel:<LeftImage/>,
108109
toggleButton:<LeftButton/>,
109110
imageEditor:<LeftImage/>,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp