Skip to content

Commit

Permalink
### 3.4.10-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Dec 6, 2024
1 parent 621545f commit 2c8c057
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# chat21-ionic ver 3.0

### 3.4.10-rc.1
- changed: sidebar and navbar UI aligned with dashboard component

### 3.4.9 in PROD

### 3.4.9-rc.1
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chat21/chat21-ionic",
"author": "Tiledesk SRL",
"version": "3.4.9",
"version": "3.4.10-rc.1",
"license": "MIT License",
"homepage": "https://tiledesk.com/",
"repository": {
Expand Down
9 changes: 4 additions & 5 deletions src/app/components/sidebar/sidebar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@
<!-- @ Knowledge Bases -->
<!-- -------------------------------------------------------- -->
<ng-container *ngIf="USER_ROLE !== 'agent' && isVisibleKNB">
{{isVisibleKNB}}
<div id="bot-anchor-wpr" matTooltipClass="sb-mat-tooltip"
matTooltip="{{ 'KnowledgeBases' | translate }}" #tooltip="matTooltip" matTooltipPosition='right'
matTooltipHideDelay="100" routerLinkActive="item-active" [class.item-active]="KB_ROUTE_IS_ACTIVE ">
<a id="bot-anchor" #botbtn (click)="goToNewKnowledgeBases()">
<div id="bot-anchor-wpr" matTooltipClass="custom-mat-tooltip"
matTooltip="Knowledge Bases" #tooltip="matTooltip" matTooltipPosition='right'
matTooltipHideDelay="100" routerLinkActive="item-active">
<a target="_self" href="{{ dashboard_knb_url }}" class="customAncor">
<span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" width="24px" height="24px" fill="none">
<path d="M390-120q-51 0-88-35.5T260-241q-60-8-100-53t-40-106q0-21 5.5-41.5T142-480q-11-18-16.5-38t-5.5-42q0-61 40-105.5t99-52.5q3-51 41-86.5t90-35.5q26 0 48.5 10t41.5 27q18-17 41-27t49-10q52 0 89.5 35t40.5 86q59 8 99.5 53T840-560q0 22-5.5 42T818-480q11 18 16.5 38.5T840-400q0 62-40.5 106.5T699-241q-5 50-41.5 85.5T570-120q-25 0-48.5-9.5T480-156q-19 17-42 26.5t-48 9.5Zm130-590v460q0 21 14.5 35.5T570-200q20 0 34.5-16t15.5-36q-21-8-38.5-21.5T550-306q-10-14-7.5-30t16.5-26q14-10 30-7.5t26 16.5q11 16 28 24.5t37 8.5q33 0 56.5-23.5T760-400q0-5-.5-10t-2.5-10q-17 10-36.5 15t-40.5 5q-17 0-28.5-11.5T640-440q0-17 11.5-28.5T680-480q33 0 56.5-23.5T760-560q0-33-23.5-56T680-640q-11 18-28.5 31.5T613-587q-16 6-31-1t-20-23q-5-16 1.5-31t22.5-20q15-5 24.5-18t9.5-30q0-21-14.5-35.5T570-760q-21 0-35.5 14.5T520-710Zm-80 460v-460q0-21-14.5-35.5T390-760q-21 0-35.5 14.5T340-710q0 16 9 29.5t24 18.5q16 5 23 20t2 31q-6 16-21 23t-31 1q-21-8-38.5-21.5T279-640q-32 1-55.5 24.5T200-560q0 33 23.5 56.5T280-480q17 0 28.5 11.5T320-440q0 17-11.5 28.5T280-400q-21 0-40.5-5T203-420q-2 5-2.5 10t-.5 10q0 33 23.5 56.5T280-320q20 0 37-8.5t28-24.5q10-14 26-16.5t30 7.5q14 10 16.5 26t-7.5 30q-14 19-32 33t-39 22q1 20 16 35.5t35 15.5q21 0 35.5-14.5T440-250Zm40-230Z" />
Expand Down
2 changes: 2 additions & 0 deletions src/app/components/sidebar/sidebar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class SidebarComponent implements OnInit {
USER_PHOTO_PROFILE_EXIST: boolean;
currentUser: any;
dashboard_home_url: string;
dashboard_knb_url: string;
dashboard_bots_url: string;
dashboard_convs_url: string;
dashboard_contacts_url: string;
Expand Down Expand Up @@ -102,6 +103,7 @@ export class SidebarComponent implements OnInit {

buildURLs(USER_ROLE) {
this.dashboard_home_url = this.DASHBOARD_URL + this.project_id + '/home'
this.dashboard_knb_url = this.DASHBOARD_URL + this.project_id + '/knowledge-bases'
this.dashboard_bots_url = this.DASHBOARD_URL + this.project_id + '/bots'
this.dashboard_convs_url = this.DASHBOARD_URL + this.project_id + '/wsrequests'
this.dashboard_contacts_url = this.DASHBOARD_URL + this.project_id + '/contacts'
Expand Down

0 comments on commit 2c8c057

Please sign in to comment.