feat(wave): implement Phase 1 Smart Wave recommendations and buffer rotation

This commit is contained in:
Antigravity committed 2026-10-12 14:43:29 +03:00
1 parent aa6c605d14
commit 9fbe372fab
10 files changed
+879

No files matched your search

+121
View File
@@ -610,3 +610,124 @@ input[type="text"]:focus {
justify-content: flex-end;
}
}
/* Smart Wave Styles */
.badge-wave {
background-color: rgba(6, 182, 212, 0.2);
color: #22d3ee;
border: 1px solid rgba(6, 182, 212, 0.4);
font-size: 0.72rem;
font-weight: 700;
padding: 0.15rem 0.5rem;
border-radius: 4px;
}
.wave-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 1rem;
}
.wave-subtitle {
font-size: 0.85rem;
color: var(--text-secondary);
margin-top: 0.25rem;
}
.wave-controls {
display: flex;
align-items: center;
gap: 0.5rem;
flex-shrink: 0;
}
.wave-stats-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 0.75rem;
background-color: #0f172a;
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 0.75rem 1rem;
}
.wave-stat {
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.wave-stat-label {
font-size: 0.75rem;
color: var(--text-secondary);
}
.wave-stat strong {
font-size: 0.95rem;
color: #f8fafc;
}
.wave-stat strong a {
color: #22d3ee;
text-decoration: none;
}
.wave-stat strong a:hover {
text-decoration: underline;
}
.wave-anchors-tags {
display: flex;
gap: 0.4rem;
flex-wrap: wrap;
margin-top: 0.3rem;
}
.tag-anchor {
background-color: #1e293b;
border: 1px solid #334155;
color: #94a3b8;
padding: 0.15rem 0.5rem;
border-radius: 4px;
font-size: 0.78rem;
}
.wave-tracks-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.6rem;
}
.wave-tracks-list {
display: flex;
flex-direction: column;
gap: 0.4rem;
max-height: 420px;
overflow-y: auto;
}
.wave-track-item {
display: flex;
align-items: center;
justify-content: space-between;
background-color: #0f172a;
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 0.5rem 0.8rem;
gap: 0.75rem;
}
.spinner-sm {
display: inline-block;
width: 12px;
height: 12px;
border: 2px solid var(--accent-color);
border-top-color: transparent;
border-radius: 50%;
animation: spin 0.8s linear infinite;
vertical-align: middle;
margin-right: 0.3rem;
}