@chat21/chat21-ionic 3.4.16 → 3.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts
CHANGED
|
@@ -721,11 +721,6 @@ export class MessageTextAreaComponent implements OnInit, AfterViewInit, OnChange
|
|
|
721
721
|
// this.logger.log("[CONVS-DETAIL][MSG-TEXT-AREA] handleKeyboardEvent event.key ", event);
|
|
722
722
|
// Note: on mac keyboard "metakey" matches "cmd"
|
|
723
723
|
|
|
724
|
-
//do not move cursor on ArrowDown/ArrowUp
|
|
725
|
-
if ((event.key === 'ArrowDown' || event.key === 'ArrowUp')&& !event.shiftKey) {
|
|
726
|
-
this.logger.log('[CONVS-DETAIL][MSG-TEXT-AREA] HAS PRESSED event.key', event.key);
|
|
727
|
-
event.preventDefault();
|
|
728
|
-
}
|
|
729
724
|
if (event.key === 'Enter' && event.altKey || event.key === 'Enter' && event.ctrlKey || event.key === 'Enter' && event.metaKey) {
|
|
730
725
|
this.logger.log('[CONVS-DETAIL][MSG-TEXT-AREA] HAS PRESSED COMBO KEYS this.messageString', this.messageString);
|
|
731
726
|
if (this.messageString !== undefined && this.messageString.trim() !== '') {
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
|
|
95
95
|
<a target="_self" href="{{ dashboard_bots_url }}" id="bot-anchor" #botbtn class="customAncor">
|
|
96
96
|
<span class="bot-icon-wpr">
|
|
97
|
-
<svg
|
|
98
|
-
<path
|
|
99
|
-
|
|
97
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"width="24px" height="24px" fill="none">
|
|
98
|
+
<path d="M12,21.9c-1,0-1.8-0.3-2.5-1c-0.7-0.7-1-1.5-1-2.5c0-0.8,0.3-1.6,0.8-2.2c0.5-0.6,1.2-1,1.9-1.2v-2.3H5.5V9H3 V2.5h6.4V9H7v2.3h10V8.9c-0.8-0.2-1.4-0.6-1.9-1.2c-0.5-0.6-0.8-1.3-0.8-2.2c0-1,0.3-1.8,1-2.5c0.7-0.7,1.5-1,2.5-1 c1,0,1.8,0.3,2.5,1c0.7,0.7,1,1.5,1,2.5c0,0.8-0.3,1.6-0.8,2.2c-0.5,0.6-1.2,1-1.9,1.2v3.9h-5.7v2.3c0.8,0.2,1.4,0.6,1.9,1.2 c0.5,0.6,0.8,1.3,0.8,2.2c0,1-0.3,1.8-1,2.5C13.8,21.6,13,21.9,12,21.9z M17.8,7.5c0.5,0,1-0.2,1.4-0.6c0.4-0.4,0.6-0.8,0.6-1.4 c0-0.5-0.2-1-0.6-1.4c-0.4-0.4-0.8-0.6-1.4-0.6c-0.5,0-1,0.2-1.4,0.6C16,4.5,15.8,5,15.8,5.5c0,0.5,0.2,1,0.6,1.4S17.2,7.5,17.8,7.5 z M4.5,7.5H8V4H4.5C4.5,4,4.5,7.5,4.5,7.5z M12,20.4c0.5,0,1-0.2,1.4-0.6S14,19,14,18.5s-0.2-1-0.6-1.4c-0.4-0.4-0.8-0.6-1.4-0.6 c-0.5,0-1,0.2-1.4,0.6S10,17.9,10,18.5s0.2,1,0.6,1.4C11,20.2,11.5,20.4,12,20.4z" />
|
|
99
|
+
</svg>
|
|
100
100
|
</span>
|
|
101
101
|
</a>
|
|
102
102
|
</div>
|
|
@@ -423,7 +423,7 @@ export class SidebarComponent implements OnInit {
|
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
goToBots() {
|
|
426
|
-
let url = this.DASHBOARD_URL + this.project_id + '/bots'
|
|
426
|
+
let url = this.DASHBOARD_URL + this.project_id + '/bots/my-chatbots/all'
|
|
427
427
|
const myWindow = window.open(url, '_self');
|
|
428
428
|
myWindow.focus();
|
|
429
429
|
}
|