Repository navigation
feat(notes): find a note by its words, on the Notes page and in Jump to - #397
Merged
Merged
Conversation
The Notes page gets a search box (title, summary and text, the pages of things too, with the words around each match marked; Enter opens the first), a Projects / Areas / Resources / Archive filter with counts, and the notes each note sits inside. Jump to (Ctrl+K) finds notes as well. GET /api/v1/notes/search serves both, and find_notes gives agents the words around each match and the note it's inside. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RrY2byt5BHVeBXJUyfwWpb
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RrY2byt5BHVeBXJUyfwWpb
The journey failed now and then (on main too) with a 20 s timeout: an entity is in the graph once something links it twice, which takes import-file's episode as well, and a slow runner can still be reading it. The same wait as in #396, not counted. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RrY2byt5BHVeBXJUyfwWpb
Owner
Author
|
Clicks and keystrokes per feature failed on Generated by Claude Code |
20 of 22 tasks
adeelahmad
pushed a commit
that referenced
this pull request
Oct 15, 2026
Ported from #397: the journey fails now and then on main too with a 20 s timeout while a slow runner is still reading import-file's episode. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzqrXPCMR7aJYyLPqmx41Q
This was referenced Oct 15, 2026
adeelahmad
added a commit
that referenced
this pull request
Oct 15, 2026
* feat(sources): Gmail and Google Workspace as an email sensor A new "gmail" source reads a Gmail or Google Workspace mailbox, by the Gmail API (read only) or by IMAP with XOAUTH2. It signs in as a person with the Google client from Settings › Sign-in (OAuth, refresh token sealed on the source), or as a Workspace service account with domain-wide delegation. Watches follow Gmail's history ids, so a first scan of a big mailbox reads nothing and later scans read only new mail. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzqrXPCMR7aJYyLPqmx41Q * fix(sources): bring Google sign-in back to Sources Sources live at /sources; /sensors/{id} is a different thing with its own ids, so a Gmail source signed in there landed on the wrong page. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzqrXPCMR7aJYyLPqmx41Q * test(clicks): graph-merge waits for the imports' jobs to finish Ported from #397: the journey fails now and then on main too with a 20 s timeout while a slow runner is still reading import-file's episode. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzqrXPCMR7aJYyLPqmx41Q * refactor(sources): Gmail signs in through the shared Google flow, not its own Calendar's Connect with Google (#407) brings the browser consent for Google sources; Gmail joins it in the next pull request. This one keeps the source: a connected account's token, or a Workspace service account, read through the Gmail API or over IMAP. The wording says to connect the Google account again, as Calendar's does. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzqrXPCMR7aJYyLPqmx41Q --------- Co-authored-by: Adeel Ahmad <noreply@anthropic.com>
Merged
16 of 22 tasks
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: a note could not be found. Jump to (⌘K) said "No matches" for a note's title, and the Notes page was one flat list with no search or filter: notes inside other notes lost where they sat, and archived notes mixed with the rest.
After: the Notes page has a search box that finds notes by the words in their title, summary or text (the pages of recordings and entities too), with the words around each match shown and marked; Enter opens the first. A filter shows only Projects, Areas, Resources or Archive, with how many each has. Each note says which notes it is inside ("In Home lab › Pi 5 shopping list"); on a phone the place and date go under the title so the title keeps its width. Jump to finds notes beside recordings, pages and settings.
How:
GET /api/v1/notes/search?q=&ns=&place=&free=reusesnotebook.find(the assistant's and MCP'sfind_notes), which now also returns the note each page is inside and the words around the match in its text (snippet);find_notespasses both on to agents.useDebouncedmoved tolib/hooks/debounce.ts.Motivation and Context
First of the gaps in the notes UI audit (Adeel: "notes ui is very bad and is missing tons of things"). The audit, with before screenshots, is in the project files at
notes-ui/audit.md; the next PRs cover the note page (breadcrumbs, notes inside, layout), delete with undo, and the tree in the sidebar.Steps to reproduce (if appropriate):
Notes → type a word that is only in a note's text → the note shows with the words around it; Enter opens it. Pick Archive → only archived notes. ⌘K → type a note's title → Notes group.
Types of changes
!in the title)Checklist:
make hookschecks it on commit).docs/accordingly.## UnreleasedinCHANGELOG.md.Done questions (AGENTS.md)
GET /api/v1/notes/search; MCP and assistantfind_notesnow givesnippetandinside.make openapi) updated. Local: backend 1085 passed, web 870 passed.🤖 Generated with Claude Code
https://claude.ai/code/session_01RrY2byt5BHVeBXJUyfwWpb
Generated by Claude Code