From c0187c478fcaecfd502de650f34d1c16c7a2b532 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 05:53:11 +0000 Subject: [PATCH] docs(plugin-detail): a types list without comment beside the default composer is refused The "Feed kinds with no producer" passage said authoring `types: ['approval']` is legal, typechecks and builds. Since the spec now refuses a feed `types` list that leaves out 'comment' while `showCommentInput` is not false, say what the platform does: refused as component-props-invalid at properties.showCommentInput (properties.feed.showCommentInput on record:chatter / record:discussion), with the two fixes. The `types: ['task']` example in the task-item paragraph becomes "a types list that names task". Co-authored-by: Claude Claude-Session: https://claude.ai/code/session_01ADHkmPJxG4vBVaLCBWLcWJ --- .../docs/frontend/plugins/plugin-detail.mdx | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/content/docs/frontend/plugins/plugin-detail.mdx b/content/docs/frontend/plugins/plugin-detail.mdx index 7760b524267..851175fdf7e 100644 --- a/content/docs/frontend/plugins/plugin-detail.mdx +++ b/content/docs/frontend/plugins/plugin-detail.mdx @@ -289,8 +289,8 @@ on the record writes the record it logged first (an event, a `sys_email` row) and points at it from the activity row through `source_object` / `source_id` (ADR-0052). A `task` item that carries that pointer shows whatever `showCompleted` says, and it is the same item the timeline gives a **View -source** link. It stays a `task` item, so `types: ['task']` and -`filterMode: 'tasks_only'` still list it. A `completed` row with neither the +source** link. It stays a `task` item, so a `types` list that names `task` +and `filterMode: 'tasks_only'` still list it. A `completed` row with neither the marker nor a pointer is hidden by default. That includes a finished task, every row a runtime from before the marker serves, a row an app inserts itself without a pointer, and a milestone row served to a reader who may not read a @@ -371,10 +371,21 @@ edited (`is_edited` on the row). The other eight — `email`, `call`, `note`, `file`, `record_create`, `record_delete`, `approval`, `sharing` — have no producer on any ObjectUI -surface. Authoring `types: ['approval']` is legal, typechecks, builds, and -renders a **permanently empty** timeline. Since objectui#5877 it also emits one -`console.warn` per distinct kind, so the emptiness is diagnosable instead of -looking like "a working feature with no data yet". +surface. A `types` list of only such kinds renders a **permanently empty** +timeline. Since objectui#5877 it also emits one `console.warn` per distinct +kind, so the emptiness is diagnosable instead of looking like "a working +feature with no data yet". + +Beside the default composer such a list is refused before it ever renders. +`types: ['approval']` leaves out `'comment'` while `showCommentInput` defaults +to `true`, so `os lint`, `os validate`, `os build`, the page save door and the +console's schema mirror report it at error as `component-props-invalid` at +`properties.showCommentInput` (`properties.feed.showCommentInput` on +`record:chatter` / `record:discussion`). Add `'comment'` to `types` when the +block should take comments, or set `showCommentInput: false` when it should +stay comment-free; `types: ['approval']` with `showCommentInput: false` parses +and renders the empty timeline above. A page already stored with the shape +still loads; its next save is refused. The diagnostic separates two reasons a kind has no producer, because reporting a decision as a defect is how a warning channel gets ignored: