Skip to content

Fix workspace root filtering for claimed projects#28

Merged
Zhang-Henry merged 2 commits intomainfrom
fix/workspace-root-filter-claimed-projects
Mar 14, 2026
Merged

Fix workspace root filtering for claimed projects#28
Zhang-Henry merged 2 commits intomainfrom
fix/workspace-root-filter-claimed-projects

Conversation

@Zhang-Henry
Copy link
Copy Markdown
Collaborator

Summary

  • Add workspace root check to the dbEntry.user_id === userId branch in getProjects(), which was the only remaining unfiltered path
  • External Claude CLI projects that were auto-claimed before filtering was added no longer appear in the sidebar

Test plan

  • Refresh browser — external Claude projects should no longer appear in sidebar
  • VibeLab workspace projects still show normally

- Rewrite MicButton to use SpeechRecognition API (no server/API key needed)
- Show mic button in chat composer (remove display:none)
- Fix duplicate transcript issue by tracking committed result index
- Green pulsing animation while recording, grey when idle
- Alert fallback for unsupported browsers (Firefox)
Projects already claimed in the DB were bypassing workspace root
validation, causing external Claude CLI projects to appear in the
sidebar. Add normalizedPath.startsWith(workspaceRoot) check to the
claimed-project branch, matching the filtering on the other code paths.
@Zhang-Henry Zhang-Henry merged commit 2ac3abf into main Mar 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant