Skip to content

Commit 863cd5d

Browse files
authored
feat(condo): DOMA-13225 add ai chat buttons (#7587)
* feat(condo): DOMA-13225 add ai chat buttons * feat(condo): DOMA-13225 enhance AI chat functionality with suggestions and export options * feat(condo): DOMA-13225 update AIOverlay analytics tracking and close button functionality * feat(condo): DOMA-13225 simplify markdown export functions in AIChat component * feat(condo): DOMA-13225 refactor AIChat message export functionality and update analytics tracking * feat(condo): DOMA-13225 improve error logging for AIChat message export functionality * feat(condo): DOMA-13225 enhance AIChat and AIOverlay components with improved export options and analytics tracking * feat(condo): DOMA-13225 update AIChat component to enhance analytics tracking and clean up export functionality
1 parent fdc219d commit 863cd5d

10 files changed

Lines changed: 651 additions & 31 deletions

File tree

apps/condo/domains/ai/components/AIChat/AIChat.module.css

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,28 @@
2525
.welcome-message {
2626
display: flex;
2727
flex: 1;
28+
flex-direction: column;
29+
min-height: 200px;
30+
}
31+
32+
.welcome-message-legacy {
2833
align-items: center;
2934
justify-content: center;
30-
min-height: 200px;
3135
text-align: center;
3236
}
3337

38+
.welcome-message-configured {
39+
align-items: flex-start;
40+
justify-content: flex-start;
41+
padding-top: 4px;
42+
text-align: left;
43+
}
44+
45+
.scenario-button-tooltip-wrap {
46+
display: inline-block;
47+
max-width: 100%;
48+
}
49+
3450
.message-wrapper {
3551
display: flex;
3652
max-width: 100%;
@@ -63,10 +79,21 @@
6379

6480
.user-message-container {
6581
display: flex;
82+
gap: 4px;
83+
align-items: center;
6684
justify-content: flex-end;
6785
max-width: 100%;
6886
}
6987

88+
.user-message-actions {
89+
opacity: 0;
90+
transition: opacity 0.15s ease;
91+
}
92+
93+
.message-wrapper:hover .user-message-actions {
94+
opacity: 1;
95+
}
96+
7097
.user-message-bubble {
7198
display: inline-block;
7299
max-width: 100%;
@@ -84,10 +111,25 @@
84111

85112
.assistant-message-container {
86113
display: flex;
114+
flex-direction: column;
115+
gap: 10px;
116+
align-items: flex-start;
87117
justify-content: flex-start;
88118
max-width: 100%;
89119
}
90120

121+
.assistant-message-actions {
122+
display: flex;
123+
gap: 4px;
124+
}
125+
126+
.assistant-suggestions {
127+
display: flex;
128+
flex-wrap: wrap;
129+
gap: 8px;
130+
margin-top: 10px;
131+
}
132+
91133
.assistant-markdown {
92134
color: #000;
93135
line-height: 1.6;

0 commit comments

Comments
 (0)