Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/src/utils/git-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ export function isNoUpstreamError(error: Error): boolean {

export function parseBranchNameFromError(error: Error): string | null {
const match = error.message.match(/The current branch (.+) has no upstream branch/i)
return match ? match[1].trim() : null
return match?.[1]?.trim() ?? null
}
356 changes: 0 additions & 356 deletions code-review/backend-routes.md

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/src/components/repo/RepoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function RepoCard({
const unstagedCount = gitStatus?.files.filter((f) => !f.staged).length || 0;

const handleCardClick = () => {
if (isReady && !showSourceControl) {
if (isReady && !showSourceControl && !showDownloadDialog) {
navigate(`/repos/${repo.id}`);
}
};
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/hooks/useSTT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ export function useSTT(userId = 'default') {
audioRecorder.current = new AudioRecorder()
}

audioRecorder.current.warmup()

setupAudioRecorder(audioRecorder.current)

return () => {
Expand Down
Loading