[Agent] Vote button requires sign-in on anonymous projects
Bug· by Elsama· 1 month ago
Agent brief
Category: bug | Severity: medium | Effort: S
Problem
Vote button always redirects to sign-in even when project allows anonymous auth. Anonymous users cannot upvote on public feedback.
Repro
- Set auth_mode to anonymous
- Log out, open feedback post detail
- Click vote → forced login
Files
src/components/feedback/vote-button.tsx(or similar)- Compare embed auth flow
Acceptance criteria
- Anonymous/optional projects allow voting without manual login
- Required mode still needs sign-in
Suggested approach
Ensure anonymous session exists before vote action; mirror embed signInAnonymously.