Repository navigation
Snooze a task from its row in the chats panel - #57
Conversation
Published from the private repository by oss-sync. - Snooze a task from its row in the chats panel 3 files changed, 34 insertions(+), 6 deletions(-)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1e4e096fba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| {menu && <RowMenu row={row} anchor={moreRef} onClose={() => setMenu(false)} onNewChat={newChat} onFile={() => setFiling(true)} onEdit={() => openTaskCard(task.ref)} />} | ||
| {snoozing && task.todo && <SnoozeMenu | ||
| anchor={snoozeRef.current} now={now} todo={task.todo} onClose={() => setSnoozing(false)} | ||
| onSnooze={(until) => void snoozeTask(task.ref, until)} onWake={() => void snoozeTask(task.ref, null)} |
There was a problem hiding this comment.
Keep keyboard focus in the task list after snoozing
When a keyboard user selects a snooze option, snoozeTask synchronously marks the task hidden, so this row and its focused snooze anchor unmount before the shared Menu cleanup can restore focus. Focus therefore falls back to the document body, forcing the user to tab through the panel again; move focus to the next or previous task row before applying the snooze, as the Tasks page does for rows that leave its list.
Useful? React with 👍 / 👎.
| The count beside a task unfolds its chats. On hover (always on a phone) a local task's | ||
| row has Snooze (zzz: the Tasks page's snooze menu, with Undo on the toast), New chat | ||
| and "…", which has Edit task…, New chat, Move to folder… and Mark done. |
There was a problem hiding this comment.
Document the new row action in AGENTS.md
This adds user-visible snooze and Undo behavior to the Tasks panel, but the Tasks panel entry in the operating manual remains unchanged. Add the row action and its behavior to AGENTS.md in this commit so the repository's required source of operational guidance stays accurate.
AGENTS.md reference: AGENTS.md:L10-L13
Useful? React with 👍 / 👎.
Published from the private repository by oss-sync.
3 files changed, 34 insertions(+), 6 deletions(-)