{/* Sync Status */}
{gitStatus?.isGitRepo && (
Sync Status
{syncStatus.text}
{gitStatus.remotes.length > 0 && (
)}
{/* Push to Nostr button when no remote is configured and user is logged in */}
{gitStatus.remotes.length === 0 && user && (
)}
)}
{/* Working Directory Changes */}
{gitStatus?.isGitRepo && gitStatus.changedFiles.length > 0 && (
Working Directory Changes
{gitStatus.changedFiles.length} file{gitStatus.changedFiles.length !== 1 ? 's' : ''} with changes
{gitStatus.changedFiles.map((file, index) => (
{getFileStatusIcon(file.status)}
{file.filepath}
{file.status}
))}
)}
{/* Clean Working Directory */}
{gitStatus?.isGitRepo && gitStatus.changedFiles.length === 0 && (
Working directory is clean
No uncommitted changes
)}