codeforboston/maple
GitHub で見るBetter Error Message for "Follow" Button on Testimony Detail Page
Open
#2,059 opened on 2026年3月11日
Ready for Developmentbuggood first issue
Repository metrics
- Stars
- (56 stars)
- PR merge metrics
- (PR metrics pending)
説明
Describe the bug On the Testimony Detail page, a logged out visitor can click the follow bill button (e.g. "Follow H.54"). Following only makes sense for a logged-in user (from both a product and code standpoint), so this button will quietly do nothing when clicked.
To Reproduce Steps to reproduce the behavior:
- Go to a Testimony Detail page (e.g. https://maple-dev.vercel.app/testimony/5PO5TI8lWo-dB8_rmKyWT/1 ) when logged out
- Click on 'Follow H.54'
- See that nothing happens
Expected behavior
A logged-out visitor should be directed to the login flow when they click the Follow button (and redirected back to the Testimony Detail page after signing in - similar to when a logged-out visitor visits another auth-protected page like the Newsfeed)