新增聊天功能

This commit is contained in:
2024-10-14 17:40:11 +08:00
parent 99ed84f534
commit 245875881c
13 changed files with 360 additions and 12 deletions
+6 -5
View File
@@ -17,15 +17,16 @@ type Tutorial struct {
var (
// Tutorials 定义每个教程的元数据
Tutorials = map[string]Tutorial{
"welcome": {"主页", "", mainUserViews, true},
"canvas": {"我的", "", allCardsViews, true},
"create": {"新建", "", allCreateCards, true},
"otherUsers": {"同事", "", otherUser, true},
"welcome": {"主页", "", mainUserViews, true},
"canvas": {"我的", "", allCardsViews, true},
"create": {"新建", "", allCreateCards, true},
"otherUsers": {"同事", "", otherUser, true},
"followUsers": {"关注", "", followUsers, true},
}
// TutorialIndex 定义我们的教程应该如何在索引树中布局
TutorialIndex = map[string][]string{
"": {"welcome", "canvas", "otherUsers", "create"},
"": {"welcome", "canvas", "followUsers", "otherUsers", "create"},
//"collections": {"list", "table", "tree"},
//"containers": {"apptabs", "border", "box", "center", "doctabs", "grid", "scroll", "split"},
//"widgets": {"accordion", "button", "card", "entry", "form", "input", "progress", "text", "toolbar"}, 58 * 3 + 106 = 280