feat: display progress for finalising audio and summarising

This commit is contained in:
2026-01-29 12:34:25 -08:00
parent a6843cb3f1
commit 43a544a886
7 changed files with 540 additions and 63 deletions
+210
View File
@@ -585,4 +585,214 @@ body {
background-color: #451a03;
color: #fbbf24;
}
.recording-item {
background-color: var(--surface-color);
border-color: var(--border-color);
}
.recording-item:hover {
background-color: var(--bg-color);
}
}
/* New layout styles */
.app-layout {
display: flex;
flex: 1;
gap: 2rem;
min-height: 0;
}
.recordings-list {
width: 300px;
background-color: var(--surface-color);
border-radius: 0.5rem;
padding: 1.5rem;
overflow-y: auto;
}
.recordings-list h3 {
margin-bottom: 1rem;
font-size: 1.125rem;
}
.no-recordings {
color: var(--text-secondary);
font-style: italic;
}
.recordings-items {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.recording-item {
padding: 0.75rem;
border-radius: 0.375rem;
cursor: pointer;
transition: all 0.2s;
background-color: white;
border: 1px solid var(--border-color);
}
.recording-item:hover {
background-color: var(--surface-color);
}
.recording-item.selected {
background-color: var(--primary-color);
color: white;
}
.recording-item.selected .recording-time {
color: white;
}
.recording-item.selected .recording-status {
color: rgba(255, 255, 255, 0.8);
}
.recording-time {
font-weight: 500;
font-size: 0.875rem;
}
.recording-status {
font-size: 0.75rem;
color: var(--text-secondary);
margin-top: 0.25rem;
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 2rem;
min-width: 0;
}
.recording-details {
flex: 1;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.recording-header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.recording-header h2 {
font-size: 1.25rem;
margin: 0;
}
.recording-actions {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.empty-state {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 4rem 2rem;
text-align: center;
color: var(--text-secondary);
font-size: 1.125rem;
}
/* Summary display improvements */
.summary-text {
white-space: pre-wrap;
line-height: 1.6;
}
.summary-text strong {
display: block;
margin-top: 1rem;
margin-bottom: 0.5rem;
}
/* Progress Bar */
.progress-container {
width: 100%;
max-width: 300px;
margin: 1rem auto;
}
.progress-label {
font-size: 0.875rem;
color: var(--text-secondary);
margin-bottom: 0.5rem;
text-align: center;
}
.progress-bar {
width: 100%;
height: 8px;
background-color: var(--border-color);
border-radius: 4px;
overflow: hidden;
position: relative;
}
.progress-fill {
height: 100%;
background-color: var(--primary-color);
border-radius: 4px;
transition: width 0.3s ease;
position: relative;
overflow: hidden;
}
.progress-fill::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
90deg,
transparent 0%,
rgba(255, 255, 255, 0.2) 50%,
transparent 100%
);
animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
.progress-text {
font-size: 0.75rem;
color: var(--text-secondary);
text-align: center;
margin-top: 0.25rem;
font-variant-numeric: tabular-nums;
}
/* Transcribing indicator update */
.transcribing-indicator {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
padding: 1rem;
}