**(task to be expanded)**To address feedback we received when the watch star popup was temporarily deployed, we want to implement new designs on desktop and mobile. This ticket is scoped to the desktop experience, where we don't need to make significant changes.
**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 (5s) closes it (clicking on any place inside the popover pauses (and resets) the timeout)
- [ ] 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 (5s) closes it (clicking on any place inside the popover pauses (and resets) the timeout)
- [ ] hitting Esc key on the keyboard closes it
- [ ] The popover correctly opens to the side when the 'watch' link is collapsed into the tools menu on a smaller screen
- [ ] When using the mobile view, the popover does not open and instead labels are shown in the notification at the bottom of the screen - [ ] selecting Undo re-watches the page with the same expiry settings and labels as were previously assigned to this page
----
{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}