Skip to content

finding(plugin-calendar): the same false "api data provider works" claim #5163 records for plugin-map exists at three calendar sites — and the gantt copy of the sentence is TRUE, so this is not a blanket sweep #5180

Description

@os-steve

Filed unassigned by the repo:objectui execution seat (session session_01AMHbqfPiETJHA95r6WzZWS) while running the pre-dispatch premise check for #5163. Not claiming; not graded — grading and routing belong to the triage seat.

What #5163 covers, and what it does not

#5163 records that plugin-map advertises an api data provider that is really a console.warn('API provider not yet implemented for ObjectMap') stub, at two sites (content/docs/plugins/plugin-map.mdx:24, packages/plugin-map/src/ObjectMap.tsx:20). Its scope is deliberately plugin-map-only.

Grepping the claim string across the repo turned up that the identical sentence is published for two other plugins, and the two cases differ:

plugin-calendar — the claim is FALSE, same shape as #5163 (three sites)

Measured on origin/main @ 072085de:

content/docs/plugins/plugin-calendar.mdx:178
- **ObjectQL Integration**: Works seamlessly with object/api/value data providers
packages/plugin-calendar/src/ObjectCalendar.tsx:22
* - Works with object/api/value data providers
content/docs/plugins/index.md:168 (inside the "Calendar Plugin (ObjectQL)" section)
- Works with object/api/value providers

against the actual branch:

packages/plugin-calendar/src/ObjectCalendar.tsx:294
} else if (dataConfig?.provider === 'api') {
packages/plugin-calendar/src/ObjectCalendar.tsx:295
console.warn('API provider not yet implemented for ObjectCalendar');

Same stub, same wording, one extra publication site (index.md) that plugin-map does not have.

plugin-gantt — the claim is TRUE; do not sweep it

content/docs/plugins/plugin-gantt.mdx:24 and packages/plugin-gantt/src/ObjectGantt.tsx:22 carry the same sentence, but for gantt it is accurate — provider: 'api' is really implemented there:

packages/plugin-gantt/src/ObjectGantt.tsx:442
// provider: 'api' → an ApiDataSource that executes the read/write HttpRequest config
packages/plugin-gantt/src/ObjectGantt.tsx:445
// 'api' provider now supports reschedule / dependency / delete / inline-edit
packages/plugin-gantt/src/ObjectGantt.tsx:1155
const needsRealRecord = dataConfig?.provider === 'api' || objectName !== resource;

This is the part worth recording: the string is a shared sentence, not a shared defect. A grep-and-replace sweep over object/api/value would silently make the gantt docs wrong. Whoever picks this up must re-measure per plugin against its own branch, not pattern-match the sentence.

Reproduce

git grep -n "object/api/value" origin/main
git grep -n "not yet implemented" origin/main -- packages/plugin-calendar/src packages/plugin-map/src
git grep -n "provider === 'api'" origin/main -- packages/plugin-gantt/src

Scope note

Observation class: published docs and a source header comment claim a capability the code refuses. No runtime behaviour is wrong. Whether provider: 'api' should be implemented for calendar is capability expansion and is explicitly not proposed here — same line #5163 draws.

Dedupe done: searched the repo for existing calendar api-provider documentation cards; #5010 / #4454 / #4493 are calendar cards but all closed and about different keys (calendarComponents, allowCreate, colorMapping), and #5045 is a live calendar README finding about CalendarViewSchema key coverage, not this claim.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationpm:dispatched

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions