Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Lanzilotto committed Jan 28, 2025
1 parent 43cb86e commit e94e1c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions src/app/widget-chat/widget-chat.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,16 @@

<div id="chat21-start-upload-doc" class="chat21-textarea-button" [ngClass]="{'hide-attachment-btn': showAttachmentButton === false }">
<span class="v-align-center">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 28 28" transform="rotate(45)"
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 28 28" transform="rotate(45)"
style="position: relative; top: 3px;">
<path
d="M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z">
</path>
</svg>
</svg> -->

<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24" viewBox="0 0 24 24" >
<path d="M18.4,13.2l-2.6,4.5c-1.5,2.6-4.9,3.6-7.6,2c-2.6-1.5-3.6-4.9-2-7.6l3.9-6.7c1.1-1.9,3.6-2.6,5.5-1.5 c1.9,1.1,2.6,3.6,1.5,5.5l-3.3,5.7c-0.7,1.3-2.3,1.7-3.6,1c-1.3-0.7-1.7-2.3-1-3.6l2-3.4c0.2-0.3,0.6-0.5,1-0.3s0.5,0.6,0.3,1 l-2,3.4c-0.3,0.5-0.2,1.1,0.3,1.5c0.4,0.4,1.1,0.4,1.5,0c0.1-0.1,0.2-0.2,0.2-0.3l3.3-5.7c0.7-1.2,0.3-2.8-1-3.5 c-1.2-0.7-2.8-0.3-3.5,1l-3.9,6.7C6.4,14.9,7,17.4,9,18.5c1.9,1.1,4.4,0.5,5.6-1.5l2.6-4.5c0.2-0.3,0.6-0.5,1-0.3 C18.5,12.5,18.6,12.9,18.4,13.2L18.4,13.2z"/>
</svg>
</span>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/app/widget-chat/widget-chat.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export class WidgetChatComponent implements OnInit, OnChanges {
@Input() IS_ONBOARDING_PAGE: boolean = false;
@Input() showAttachmentButton: boolean;
@Input() showEmojiButton: boolean;
@Input() showAudioRecorderButton: boolean;

// @Input() showAudioRecorderButton: boolean; // to activate whwn is ready on the widget
showAudioRecorderButton: boolean =false;

primaryColorRGBA_1: any
primaryColorRGBA_050: any
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@
"ConversationsInTheLastDays": "Conversazioni negli ultimi {{range_count}} giorni",
"ConversationsInTheLastMonths": "Conversazioni negli ultimi {{range_count}} mesi",
"DisableAttachments": "Disabilita allegati",
"WhenEnabledAttachments":"Se abilitato, gli utenti possono inviare allegati. Se disabilitato, il pulsante per iviare allegati sarà nascosto",
"WhenEnabledAttachments":"Se abilitato, gli utenti possono inviare allegati. Se disabilitato, il pulsante per inviare allegati sarà nascosto",
"DisableEmoji": "Disattiva emoji",
"WhenEnabledEmoji":"Se abilitato, gli utenti possono inviare emoji. Se disabilitato, il pulsante emoji sarà nascosto",
"TYPE_GPT_MODEL": {
Expand Down

0 comments on commit e94e1c1

Please sign in to comment.