Skip to content

docs(plugin-detail): two record:activity statements are stale — unmapped rows are no longer dropped, and the second hand-written table copy is gone #6932

Description

@claude

Found while implementing #5877 (the unproduced-feed-kind diagnostic), which reads the same section. Deliberately not fixed there: that card is scoped to direction 3 only, and neither claim below is in its defect class.

Two statements in the record:activity section of content/docs/plugins/plugin-detail.mdx were true when written and are false on main today. Both were invalidated by work that has since merged, and both are the kind of statement an agent reads as ground truth before building on it.

1. "A row whose type is in neither list is dropped"

content/docs/plugins/plugin-detail.mdx, in the paragraph after the activity-type map:

A row whose type is in neither list is dropped and logs one console.warn naming the type

It is no longer dropped. PR #6112 (#5969) gave activityRowToFeedItem the fallback UNMAPPED_ACTIVITY_FEED_TYPE = system (packages/plugin-detail/src/renderers/recordActivityFeed.ts:162), so an author-extended sys_activity.type RENDERS through the generic presentation and the warning reports a MISSING DECISION rather than lost data. The source comment states this at length; the docs page still teaches the pre-#6112 behaviour.

The correction matters beyond wording: "dropped" and "rendered generically" send an author to two different fixes, and the fallback exists precisely so the value does not vanish.

2. The callout about a second, hand-written copy of the table

Immediately below it:

The console own record page maps these rows with a second, hand-written copy of the table, so the two surfaces agree on everything except scheduled, which that page still drops. Tracked in objectui#5878.

The copy is gone. #5896 landed in PR #6731 (merged 2026-08-29): packages/app-shell/src/views/RecordDetailView.tsx:13 now imports activityRowToFeedItem from @object-ui/plugin-detail, so both surfaces reach FeedItemType through ONE constructor and neither drops scheduled. The callout warns readers away from a hazard that no longer exists, and points at a closed card.

Suggested shape

A docs-only PR replacing both passages, ideally with a pin so the pair cannot drift again — the same file already carries a map transcription that has to be kept in step with ACTIVITY_TYPE_TO_FEED_TYPE, and check:doc-types does not read prose.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationdomain:devxobjectui devx stream: fix lands on .github/, scripts/ or release pipeline — devx lane cross-repopriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions