Repository navigation
test(clicks): a deep research journey, and the switch keeps the cursor in the box - #561
Merged
Merged
Conversation
…r in the box The survey's stand-in model answers a deep research plan, the chat-research journey plans, approves and saves a report as a note, and the page survey finds navigation links by where they go (a note the assistant wrote has more in its name than its title) and visits each kind of page once. The composer's Deep research switch puts the cursor back in the question box. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HXPWXcSCQb9hWPr7xkZu7B
…-r960xc-c9-research
…-r960xc-c9-research
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HXPWXcSCQb9hWPr7xkZu7B
…-r960xc-c9-research
21 of 23 tasks
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Description
Before: the clicks survey had no deep research journey, and turning on the composer's Deep research switch moved the cursor out of the question box, so a person had to click back into it before typing the goal.
After: the switch (on and off) keeps the cursor in the box, and the survey has a
chat-researchjourney: Chat › Deep research › type the goal › Enter › Approve the plan › Save as note. It takes 4 clicks on a computer and 6 taps on a phone, and is in the baselines and indocs/requirements.md(deep research ≤ 4 clicks).The page survey found navigation links by their accessible name, so the report's note (named "Written by the assistant" and its title) stopped the run. It now finds them by where they go and visits each kind of page once, so the notes the journeys leave in the navigation count as one page, as before.
How: the survey's stand-in model answers structured calls. A deep research planning prompt gets a plan for its goal with no questions to answer first, so the journey can approve it as it is; any other structured call gets
{}. The composer's two research buttons focus the box after toggling.Motivation and Context
Part of the chat-app gaps (C9: click journeys for each chat feature).
Local runs on this commit: the full survey on a computer and a phone (both pass; the only baseline change is the new
chat-research, and the pages surveyed stay 75 on each),chat-research.test.tsx(14 passed),ci/check_requirements.py, Prettier and ESLint.Types of changes
!in the title)Checklist:
make hookschecks it on commit).chat-researchjourney, and a focus check inchat-research.test.tsx.docs/accordingly:assistant.md(the cursor stays in the box, and a refine-later note) andrequirements.md(the deep research row).Done questions (AGENTS.md)
POST /chats/{cid}/researchand MCPstart_research; this is the survey and a focus fix.ci/check_requirements.py).Generated by Claude Code