UI polish: hover lift, skeleton loaders, empty states, badge contrast, transitions
Card & row interactions: - NoteCard, TaskCard, ProjectCard: translateY(-2px) lift on hover + extended transitions - Kanban task cards (ProjectView), note rows: same lift treatment - Task rows in flat/grouped list: soft indigo bg tint on hover - Chat conversation items: left-border accent + bg tint on hover (was border-only) - HomeView project mini-cards: translateY(-2px) lift on hover Global feedback: - Buttons: scale(0.97) on :active press (theme.css, :not(:disabled) scoped) - TagPill: color → primary + indigo bg tint on hover - StatusBadge: increased opacity 15% → 22% + stronger text color for readability Loading & empty states: - TasksListView: shimmer skeleton loader (6 rows) + rich empty state with CTA - ProjectListView: shimmer skeleton cards (4) + rich empty state with CTA - HomeView: section-empty messages for overdue/high-priority/notes sections - ProjectView kanban columns: dashed-border styled empty state Transitions & graph: - WorkspaceView panels: panel-fade opacity transition on show/hide (v-if inner wrap) - GraphView D3 nodes: grow to r*1.3 + bold label on mouseover (150ms transition) - Milestone action buttons: base opacity 0 → 0.35 for discoverability Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -397,6 +397,7 @@ function clearDashboardResponse() {
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
<p v-else class="section-empty">All clear</p>
|
||||
|
||||
<section v-if="dueTodayTasks.length" class="section">
|
||||
<h3 class="section-title">Due Today</h3>
|
||||
@@ -439,6 +440,7 @@ function clearDashboardResponse() {
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
<p v-else class="section-empty">All clear</p>
|
||||
|
||||
<section v-if="inProgressTasks.length" class="section">
|
||||
<h3 class="section-title">In Progress</h3>
|
||||
@@ -484,7 +486,7 @@ function clearDashboardResponse() {
|
||||
/>
|
||||
</div>
|
||||
<div v-else class="empty-state">
|
||||
<p class="empty-text">No notes yet.</p>
|
||||
<p class="section-empty">No recent notes</p>
|
||||
<router-link to="/notes/new" class="btn-cta">+ New Note</router-link>
|
||||
</div>
|
||||
</div>
|
||||
@@ -691,10 +693,11 @@ function clearDashboardResponse() {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(99, 102, 241, 0.06);
|
||||
transition: box-shadow 0.15s;
|
||||
transition: box-shadow 0.18s ease, transform 0.18s ease;
|
||||
}
|
||||
.project-mini-card:hover {
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(99, 102, 241, 0.14);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
.project-mini-title {
|
||||
font-size: 0.9rem;
|
||||
@@ -748,6 +751,15 @@ function clearDashboardResponse() {
|
||||
}
|
||||
.muted { color: var(--color-text-muted); }
|
||||
|
||||
.section-empty {
|
||||
text-align: center;
|
||||
padding: 1rem 0.5rem;
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.82rem;
|
||||
font-style: italic;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.loading { color: var(--color-text-secondary); }
|
||||
.empty-state { text-align: center; padding: 1.5rem 0; }
|
||||
.empty-state::before {
|
||||
|
||||
Reference in New Issue
Block a user