Skip to content

Commit

Permalink
v0.3.0 (#39)
Browse files Browse the repository at this point in the history
- Add deepinfra support
- UI updates/fixes
  • Loading branch information
danielcampagnolitg authored Dec 5, 2024
1 parent edde4fc commit 4c30818
Show file tree
Hide file tree
Showing 23 changed files with 321 additions and 249 deletions.
4 changes: 2 additions & 2 deletions frontend/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 frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sophia/ui",
"version": "0.2.0",
"version": "0.3.0",
"description": "Sophia AI platform",
"author": "https://themeforest.net/user/srcn, Daniel Campagnoli, TrafficGuard Pty Ltd, and contributors",
"license": "https://themeforest.net/licenses/standard",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,13 @@

<mat-card class="p-8">
<div>
<mat-icon (click)="refreshAgentDetails()" style="margin-right: 7px">refresh</mat-icon>
<a href="{{ agentUrl(agentDetails) }}" target="_blank" style="margin-right: 7px">
<mat-icon (click)="refreshAgentDetails()" class="mr-3" [matTooltip]="'Reload'">refresh</mat-icon>
<a href="{{ agentUrl(agentDetails) }}" target="_blank" class="mr-3" [matTooltip]="'View database entry'">
<mat-icon>storage</mat-icon>
</a>
<a href="{{ traceUrl(agentDetails) }}" target="_blank" class="mr-3" [matTooltip]="'View traces'">
<mat-icon class="flip-x">sort</mat-icon>
</a>
</div>

<div class="mb-8 flex flex-row space-x-20 items-center sm:mb-0 sm:items-start">
Expand All @@ -117,9 +120,10 @@

<div class="mt-2 flex flex-col">
<span class="mb-2 font-bold text-lg">State</span>
<span class="mb-2">{{ displayState(agentDetails.state) }}</span>
<a *ngIf="agentDetails.state === 'completed'" (click)="openResumeModal()" class="resume-link">Resume
<span class="mb-2">{{ displayState(agentDetails.state) }}
<a *ngIf="agentDetails.state === 'completed'" (click)="openResumeModal()" class="resume-link">Resume
agent</a>
</span>
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
width: 500px;
}

.flip-x {
transform: scaleX(-1);
}

.truncate {
display: block;
white-space: nowrap;
Expand Down
Loading

0 comments on commit 4c30818

Please sign in to comment.