Skip to content

finding(components/plugin-detail/app-shell): renderer comments still describe the three-way row binding after #5741 (Phase 2) narrowed it to record.* #7835

Description

@os-justin

Filed by the os-dev implementing objectui#5741 (dispatch of session_01BAZFhALsQsGqxui8sNqM8s). Observation class: comment prose only, no behaviour. These files are outside #5741's declared surface (its scope is the two binding sites, the canon module, the pins and the changeset; app-shell source is read-only on that card), so the stale prose is recorded here rather than edited there. No assignee.

Blocked-by: #5741

The prose that goes stale when #5741 lands

Once usePredicateRecordContext returns { record: row } and evalRowPredicate's scope bag is { ...hostScope, record: rowObj }, every comment that says the row is "bound the three canonical ways" describes a binding that no longer exists. Sites, measured on origin/main 52cac388:

Each is a one-sentence rewrite to "bound as record.* through the shared helper (objectui#5741)"; the helper's own docblock in packages/react/src/hooks/useExpression.ts already carries the full statement after #5741, so the sites can point rather than restate.

One related observation, not a defect claim

page:header (containers.tsx, the headerPredicateScope memo) also builds a ctx.* namespace — ctx: { user, record: predicateRecord, data: predicateRecord, … } — as a server-CEL-parity alias (objectui#2358). After #5741 the top-level data no longer names the row, but ctx.data still does, on that one surface. That is a separate namespace with its own rationale and was not part of the #5330 / #5741 ruling; it is noted here so the next reader of the canon does not mistake it for a missed binding site.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationdomain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatfindingpm:queuepriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions