docs: document tag autocomplete patches in CLAUDE.md
Deploy Indiekit Server / deploy (push) Successful in 1m12s

This commit is contained in:
Sven
2026-04-09 21:39:13 +02:00
parent 98ad34b595
commit 5ea9276070
+3 -1
View File
@@ -43,7 +43,7 @@ const NEW_SNIPPET = `replacement text ${MARKER}`;
### Rules
- Include **both** candidate paths: `node_modules/@rmdes/...` and `node_modules/@indiekit/indiekit/node_modules/@rmdes/...`
- Include **both** candidate paths: `node_modules/@rmdes/...` and `node_modules/@indiekit/indiekit/node_modules/@rmdes/...` (for `@indiekit/frontend` use `node_modules/@indiekit/frontend/...` and `node_modules/@indiekit/indiekit/node_modules/@indiekit/frontend/...`)
- Escape template literals: `` \` `` and `\${}`
- Append new AP patches **after** `patch-ap-federation-bridge-base-url` in both `postinstall` and `serve`
- `patch-microsub-reader-ap-dispatch` is `serve`-only — check both scripts for microsub patches
@@ -184,6 +184,8 @@ npm install git+https://gitea.giersig.eu/svemagie/indiekit-endpoint-activitypub
| Mastodon client (Phanpy, etc.) gets 401 on all authenticated endpoints ~10 min after login | OAuth access token inherited the auth code's 10-min `expiresAt` — fixed by `patch-ap-oauth-token-expiry-fix` (`$unset: { expiresAt }` during code exchange) |
| "OAuth callback failed. Missing parameters." | `state` parameter not echoed — fixed in fork (`b54146c`) |
| AP object 410 / Tombstone | Post was deleted — correct, served by FEP-4f05 |
| Tag autocomplete shows no suggestions | `publication.categories` is not configured — `patch-micropub-category-from-posts` overrides `q=category` to query MongoDB `posts.distinct("properties.category")` instead |
| Tag autocomplete dropdown not appearing while typing | `patch-tag-input-autocomplete` wires a `<datalist>` to the tag input; check that both patches applied (run them manually with `node scripts/patch-*.mjs`) |
---