feat: dashboard on start

This commit is contained in:
2026-02-11 06:23:55 +01:00
parent b7b1a4881f
commit 948873a971
7 changed files with 501 additions and 140 deletions

View File

@@ -4,14 +4,15 @@ import { ProjectSelector } from '../ProjectSelector';
import './StatusBar.css';
export const StatusBar: React.FC = () => {
const {
syncStatus,
syncConfigured,
pendingChanges,
posts,
const {
syncStatus,
syncConfigured,
pendingChanges,
posts,
media,
tasks,
selectedPostId,
totalPosts,
} = useAppStore();
const runningTasks = tasks.filter(t => t.status === 'running');
@@ -61,7 +62,7 @@ export const StatusBar: React.FC = () => {
{/* Stats */}
<div className="status-bar-item">
<span>{posts.length} posts</span>
<span>{totalPosts || posts.length} posts</span>
</div>
<div className="status-bar-item">
<span>{media.length} media</span>