**(task to be expanded)**
**Acceptance criteria**
- Clicking the watchstar on an unwatched page:
- [ ] watches the page
- [ ] opens the popover with options to manage expiry and manage labels
- After the popover is opened:
- [ ] clicking anywhere off of the popover closes it
- [ ] clicking the close icon (X) on the popover closes it
- [ ] a timeout closes it
- [ ] Hitting Esc key on the keyboard closes it
- Clicking the watchstar on a watched page:
- [ ] unwatches the page
- [ ] opens the popover with appropriate message an "Undo" button to re-watch the page
- After the popover is opened:
- [ ] clicking anywhere off of the popover closes it
- [ ] clicking the close icon (X) on the popover closes it
- [ ] a timeout closes it
- [ ] hitting Esc key on the keyboard closes it
----
{F81126268}
Figma: [[ https://www.figma.com/design/CdyroPkkcT7GJA9bwno0Rq/WE1.4-Task-Prioritization--Watchlist-label-?node-id=429-133223&p=f&t=Cy97uYNiAvZfR2CS-0 | design ]]
Figma prototype: [[ https://www.figma.com/proto/CdyroPkkcT7GJA9bwno0Rq/WE1.4-Task-priotization?node-id=2403-75386&viewport=3569%2C-7889%2C0.53&t=XghBmByTB1lm0N9H-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=2403%3A75386&show-proto-sidebar=1&page-id=2403%3A74743 | design ]]
See also: {T417847}