Skip to content

docs: thumbnails on bookmarks and entities, and tag, favorite and on-off mapping choices - #1335

Merged
aicayzer merged 3 commits into
mainfrom
docs/thumbnails-mapping-choices
Dec 3, 2026
Merged

aicayzer merged 3 commits into
mainfrom
docs/thumbnails-mapping-choices

Conversation

@aicayzer

@aicayzer aicayzer commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documents withmarfa/marfa#3830: thumbnails on bookmarks and entities, a plugin shipping a kind turned off, and the tag and favorite choices on a connector's mapping. Merge this once the Marfa release carrying withmarfa/marfa#3830 is out. August agreed on 3 December 2026 that this work edits the docs directly rather than filing docs issues.

Changes

  • Field kinds: a thumbnail is a small copy (about 256 px on the long side, a few kilobytes, 16 KiB cap), held inline with its item, with the full picture kept in image_url or the file. Four shipped types carry one: core.file.image, core.media, core.bookmark and core.entity, inherited by subtypes.
  • Upgrade: a second thumbnail on a type below core.bookmark or core.entity is listed under conflicts on GET /types, and the type and its items keep working.
  • New page, Choose what a connector does with tags, favorites and pictures: the tags and favorite choices, the field rules and their refusal paths, turning a picture or file kind on or off, and that a change removes no tag already on an item.
  • Map a connector: a kind can be turned on or off with enabled, and the page links to the new page. It holds the page's word limit.
  • Plugin format: a connector kind's tags and favorite, and enabled in default_mapping.
  • Final review fixes of feat(server): thumbnails on bookmarks and entities, and tag and on-off choices on connector mappings marfa#3830 (head 55a7a92a4): a save that leaves out fields drops the tags field from any default fill, the plugin's own included, while one that names it is refused; a later plugin version that changes a kind's default leaves a saved entry as it was; a restore leaves out a stored tags or favorite the plugin no longer declares and a stored kind it no longer brings (Move your data with an archive); a subtype's own text field named thumbnail is not read as a thumbnail.
  • Raised three page limits with reasons: Field kinds (1000 to 1100), Plugin format (800 to 850) and Move your data with an archive (770 to 790).
  • Synced from the pull request's branch, taking only its own changes: openapi.json and the generated Catalog (the thumbnail row on the bookmark and entity pages). The final head changes neither file against the first sync, so both stand.

Testing

  • On the final head 6fe81de, run locally: pnpm test (963 passed), pnpm build, pnpm build:status, pnpm types:check and all five .github/scripts/*.test.sh with init.defaultBranch=master, all passing. Docs-only change, merged without waiting on CI as the docs rule allows. Marfa v0.0.123, which carries feat(server): thumbnails on bookmarks and entities, and tag and on-off choices on connector mappings marfa#3830, is published.

  • pnpm test (963 passed), pnpm build, pnpm build:status and pnpm types:check pass, the builds through heavy-run.

  • Every .github/scripts/*.test.sh passes.

  • Every name, field, rule and refusal path was read against the final head's conformance/spec/plugins.md, conformance/spec/archive.md, conformance/spec/types.md, openapi.json and shipped types. The YAML examples were not run against a build of the pull request.

Notes for reviewers

  • Marfa's pull request is unreleased, so the generated files come from its branch, which is behind main. Only its own changes were taken (unrelated differences in housekeeping.md and two openapi.json descriptions were left out). contract-index.json is left for the release sync.
  • No connector declares tags or favorite yet (the kit and plugins follow), so the examples use <plugin> and a bookmark and picture kind. The page makes no claim about how the kit merges tags.
  • The connector kit reference, the connector build guides and the pages about particular connectors are untouched, as session 291 owns them. They can link to the new page at /use/choose-tags-favorites-and-pictures.

Checklist

@aicayzer aicayzer left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: ready to merge

Summary. Documents Marfa v0.0.123's thumbnails on bookmarks and entities, kinds a plugin ships off, and the per-kind tags and favorite mapping choices; every name, value, default and refusal path matches the released contract.

First draft: 4/5. No wrong name or path; the reviewer cut claims the contract does not make and corrected one line in 6fe81de.

Checked.

  • True: members, defaults and refusal paths on the new how-to, Plugin format, Export and restore, Upgrade and Field kinds, against plugins.md, types.md, the archive chapter and openapi.json at v0.0.123.
  • Structure: the new page is a how-to, linked from Map a connector and listed in its section; the raised word limits each carry one table row or sentence.

Found.

  • Pictures on or off. The page said a picture kind on attaches files and off keeps addresses; no contract statement says that, since it is the connector kit's behavior. Cut in 6fe81de. True
  • Thumbnail size. A size target on the Field kinds reference page was advice the contract does not give. Cut in 6fe81de. True
  • Conflict wording. Field kinds hid that a subtype's other thumbnail is listed as a conflict. Corrected in 6fe81de. True
  • Connector kit reference. "Until one is saved, every kind is on" is no longer true now that a default can turn a kind off; that page is outside this change and is being updated with the connector pages. True

Quick fixes. 4 applied by the reviewer.


Reviewed by withmarfa-reviewer on Claude Sonnet. This review may contain mistakes.

@aicayzer
aicayzer marked this pull request as ready for review December 3, 2026 19:45
@aicayzer
aicayzer merged commit 95f15b1 into main Dec 3, 2026
10 of 17 checks passed
@aicayzer
aicayzer deleted the docs/thumbnails-mapping-choices branch December 3, 2026 19:47
aicayzer added a commit that referenced this pull request Dec 3, 2026
…#1343)

* docs(use): cover thumbnails and tag, favorite and on-off mapping choices

Carries the pages of #1335 onto the v0.0.123 sync.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M1cykEXmHcUA98uBECNLhN

* docs: cover v0.0.123 item dates on import and export, and drop release caveats

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M1cykEXmHcUA98uBECNLhN

* docs: make the date, mapping and restore passages easier to follow

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M1cykEXmHcUA98uBECNLhN

---------

Co-authored-by: Claude <[email protected]>
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