Skip to content

Rich Notes and pictures, Lists first, starter Lists and #tags - #175

Merged
NiallJoeMaher merged 11 commits into
mainfrom
notes-markdown-adr
Nov 23, 2026
Merged

NiallJoeMaher merged 11 commits into
mainfrom
notes-markdown-adr

Conversation

@NiallJoeMaher

@NiallJoeMaher NiallJoeMaher commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Rich Notes and pictures on every surface, and on top of that: Lists are the first place a pluck can go, an account starts with two of them, and a #word you type is a tag.

a new account (sign-up hook)                 an account from before (first read of its Lists)
  Favourites, Ideas  in its language           Favourites, Ideas  unless it has one by that name
  Inbox:  "Nothing is deleted."                sorted under the Lists it uses
  Ideas:  "Ask your AI what you plucked."      nothing added to its library
  (our posts, from the Markdown here,
   nothing fetched but the picture)
        └─ once per account (users.startersAt); deleting them is final
        └─ marked `starter`: never in the weekly email or "have they plucked yet"

a pluck, on any surface
  Lists first (tap on, tap off, New List)  →  tags  →  Kind  →  note
    extension popup · iPhone share sheet · iPhone and iPad Add · Lists tab has a +

"#recipes" typed in a Note or a note        (server: hashTags → tagByWords)
  new word            → the tag goes on (made if new)
  word changed or removed within 10 minutes → its tag comes off; a tag the slip made is dropped
  later, or a tag put on by hand            → never touched by the words
  an AI tool's words, or words shared in    → tag nothing
 packages/db        + claimStarters, markStarters, tagByWords; digest and countItems leave starters out
 apps/web           + library/starters.ts, library/hashtags.ts; Inbox `started`; EmptyInbox without its dead links
 apps/extension     + Lists as chips in the popup (was a select), New list, More
 apps/ios           + Lists row in Add and in the share sheet (Swift), + on the Lists tab
 packages/i18n      + the new strings in ten languages; three unused keys removed
 e2e                + starters.spec.ts; signIn clears an untouched start; the Note test that raced in CI waits first

Earlier in this PR (unchanged): rich Notes on iPhone, iPad and web (ADR 0002), Photo and Camera in Add, drop and paste on the web, Found on, pictures for the person's AI tool, a Note button and a microphone in every input.

Built without a Claude Design board: the format bar, Photo and Camera in Add, and the List rows in the popup, Add and the share sheet.

Evidence

  • Before: End to end was red on this branch: a Note the rich editor cannot keep exactly… asked a rich editor for its value before it had handed over to the plain one. Not a product bug.
    After: pnpm typecheck, pnpm lint, 650 unit tests, 66 Playwright tests on a production build and pnpm design pass locally.
  • New tests, each with two people where there is a query: the starter claim (two requests at once make one set), an account from before (Lists only, its own names respected, its own Lists on top), a new account (posts kept with fetch never called, one archived in Ideas), starters out of the weekly email at 3, 25 and 45 days and back in once used, tagByWords (a slip, a hand-put tag, a hand-removed tag, a tag in the Bin, the 50-tag limit), the tag reader (headings, anchors, colours, code, escapes), and in the browser: a new account's Inbox and Lists, an emptied Inbox after a reload, a #tag typed in the editor showing its chip with no half-typed tag left, and the popup's List chips.
  • iPhone Simulator (Release): builds with the Swift share sheet; the demo account, an account from before, shows Favourites and Ideas after its first Lists read, and the Lists tab has its +.
  • A second, independent review of the diff found twelve things; all that were defects are fixed here (the tag cleanup could take off a hand-put tag; six Lists at most in the popup; a photo note's #tag wiped by a chip; twin Lists for someone who already had "Ideas").
  • Not run by hand: tapping in the Simulator (the Add rows, the share sheet rows, the Lists + prompt), and anything on a phone (docs/ios.md, manual checklist 4, 14 to 19).

Merge Danger

Door: one-way

  • Once people format Notes, their text holds Markdown marks, and the iPhone builds already installed show them raw. The iPhone build goes to TestFlight with this merge.
  • Every existing account gets two Lists on its next visit. They can be deleted, and do not come back.

Blast Radius: accounts

  • Sign-up now does more: two Lists and two Items. It is wrapped so a failure is logged and the account is still made.
  • Every read of someone's Lists does one extra write-that-matches-nothing to check the claim.
  • Every save of a Note or a note reads the Item's tags once more; with a # in the words it also reads the text as it was.
  • The weekly email, get_digest and the welcome email leave out the two posts and an unused starter List.
  • react-native-enriched-markdown is at 1.2.0 with a local patch; re-check on any upgrade.

🤖 Generated with Claude Code

ADR 0002 records that a Note's text stays Markdown and rich editing is a
view over it. The glossary gains Note and Found on, and says an Image or
PDF can be a file with no URL.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pluck Ready Ready Preview Nov 23, 2026 9:39am UTC

Request Review

NiallJoeMaher and others added 6 commits November 22, 2026 00:05
The picture comes as image content after the JSON, so the person's AI tool
looks at it itself; Pluck reads nothing from it. item.picture says attached,
or why not (over 3 MB, or a format AI tools do not read, such as HEIC).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
…tted Notes

- Found on: the page an Image was plucked from, kept from the first pluck
  (CreateItemBody.foundOn), on the Item and in the connector's get_item.
- POST /items/:id/file: the upload is in, so the file is read now and the
  picture shows without waiting for the worker.
- PUT /items/:id/cover?as=picture: the picture itself for an image the
  server could not fetch; the Item becomes a kept Image.
- A Note's title, row and excerpt drop the Markdown marks (plainLine).
- demo-seed: the profile is set with the session, which an API key cannot do.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
- A Note, Todo or Thing is written as rich text (react-native-enriched-markdown):
  Bold, Italic, two headings, bullets and numbers, on a bar over the keyboard.
  The text kept is Markdown, a line a block, as a plain Note always was. The
  line being typed stays in view over the bar and the keyboard.
- A Note the editor cannot read back the same (sameNote) opens as plain text,
  so it is never rewritten.
- Add: Photo (the library, no permission) and Camera, each an Image.
- The share sheet sends a HEIC photo as a JPEG, so the web and an AI tool can show it.
- Found on under a picture, the way back to its page.
- Patch: the editor's headings in Geist's bold face; Geist Italic bundled.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
- The Note editor is the iPhone's, as its web build: the same bar, the same
  Markdown. A Note it cannot keep exactly opens as the plain textarea.
- A picture or a PDF dropped on the page or pasted into the box is plucked:
  the Item at once, the bytes to the bucket, then read without the worker.
- Found on in the reader's head, for an Image plucked from a page.
- next.config aliases react-native to a two-export stand-in; the web app has
  no React Native in it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
…e when the server cannot fetch it

An image behind a sign-in comes back unread: the extension then sends the
picture itself, as the page fetched it or as the tab shows it. Docs for the
whole of rich Notes and pictures: ios.md, architecture.md, mcp.md, ADR 0002.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
Each save handed the saved text back down as the editor's starting value;
it is read once now, so nothing typed since can be replaced by it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
@NiallJoeMaher NiallJoeMaher changed the title Notes are Markdown: the decision record and the glossary words Rich Notes and pictures: the editor, Photo and Camera, drop and paste, Found on, pictures for your AI Nov 22, 2026
NiallJoeMaher and others added 4 commits November 22, 2026 16:04
…tten

Add's Note button opens a blank Note in the rich editor, plucked with its
first words. The Add box, the Note editor's bar and the note on a link each
have a microphone: the iPhone's own speech recognition, kept to the phone,
so what comes out is text and no sound is kept. Add loses its title, gains
a grabber, and Cancel moves clear of what iOS floats over the caret. The
format bar's buttons tick.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
…d speech falls back to Apple

A photo from Add's Photo or Camera now shows in the box before it is plucked, where it can be taken out again and a note written or spoken under it. Pluck it sends each one up and puts the note on each Image.

The iPhone's Add sheet loses Cancel: it goes away by its grabber or a tap outside, and VoiceOver's scrub.

The microphone no longer refuses where the phone cannot recognise the language itself: it goes through Apple, where the keyboard's dictation already sends it. The two permission questions say so in all ten languages.

Fixes the app closing at the microphone question: the photo picker's plugin was taking NSMicrophoneUsageDescription out again.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
An Item's tags were drawn on the iPad row and the iPad reader only. One component now draws them wherever an Item shows: the iPhone row (one line), the reader and a Note, where a tap opens the tag picker. A Note with no tags shows a quiet Tags chip, since the toolbar's Tags is under the keyboard while it is written.

Add shows the most used tags as chips once there is something to pluck, as the share sheet does. They go on after the pluck, beside any a link plucked again already had, and hide with no connection.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
…ry capture

An account starts with two Lists, Favourites and Ideas, in its language.
A new account also gets two of our posts, kept from the Markdown here with
nothing fetched: one in the Inbox, one in Ideas. An account from before
gets the Lists only, the first time its Lists are read: one it already has
by that name is not made again, and the new ones sort under its own. Made
once per account (users.startersAt), and marked so the weekly email, the
digest tool and the welcome email leave them out.

A "#word" typed in a Note or a note is a tag on the Item, read on the
server. The Item remembers which tags its words put on lately: for ten
minutes a word changed or removed takes its tag with it (a Note saves as it
is typed), and a tag a slip made is dropped. A tag put on by hand is never
touched. An AI tool's words tag nothing, nor do words shared in.

Lists come before tags wherever something is plucked: chips in the
extension popup (with New list and More), a row in the iPhone share sheet
and in Add on iPhone and iPad, and a + on the Lists tab.

The web's first run loses its dead sample and Shortcut links, and an Inbox
emptied by triage no longer shows the onboarding again. The Note test that
failed in CI asked the rich editor for a value before it had handed over
to the plain one; it waits first now, and the editor falls back to plain
if its first read fails.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
@NiallJoeMaher NiallJoeMaher changed the title Rich Notes and pictures: the editor, Photo and Camera, drop and paste, Found on, pictures for your AI Rich Notes and pictures, Lists first, starter Lists and #tags Nov 23, 2026
@NiallJoeMaher
NiallJoeMaher merged commit edb869e into main Nov 23, 2026
6 checks passed
@NiallJoeMaher
NiallJoeMaher deleted the notes-markdown-adr branch November 23, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant