Skip to content

Dashboard drill: give the list URL a nested-relation filter spelling so a relationship-path drill can offer Open in list #35438

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB

Follow-up from #34990 (PR #35423), seat 5's pick A for that PR's open question. Since #35423, a dataset drill over a relationship-path dimension (e.g. account.owner.region) sends one nested-relation condition ({ account: { owner: { region: 'NA' } } }) and the server pushes the join down. The drill drawer lists every matching record with no cap.

What is missing

The drawer's Open in list link is hidden for such a drill: the list page's filter[...] URL dialect has no spelling for a nested-relation condition, so exactRecordListFilter answers null (never a wider list). Before #35423, a drill with ≤ 200 related ids could escalate through filter[rel][in]; that id-list route is retired by seat ruling 6961225798 and must not come back.

Done when

  • The URL dialect gains a nested-relation spelling, written by serializeDrillFilterParams and read back by parseUrlFilterTriples, round-tripping 1–3 hops.
  • A relationship-path drill offers Open in list again and the list shows exactly the drawer's records.
  • Pins: a 2-hop round trip, and a CONTROL showing a flat-field drill URL unchanged.
  • No client id materialisation (ruling 6961225798).

Grade

p3 · area:data · domain:ui. The drawer already lists every record; only the escape-hatch link is missing. Rides a same-file p2 PR, not dispatched alone.


Generated by Claude Code

Activity

  1. added
    pm:queue
    domain:ui
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:data · Feature (a list-URL spelling for nested-relation drills) · fleet-sourced → p3 as set; it goes on the weekly Feature list.

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibvVRcFWKrfWeG5jzPb

    Carry-over from PR #35748 (#35481), contract review 7031584838 §③, for whoever claims this card (2026-11-20T05:44Z):

    Skills-docs: when the relationship-path drill gets its list-URL spelling, the three sentences PR #35748 adds come out with it: the bullet "Today a relationship-path dimension (account.industry) gets the drawer only, no link." in skills/objectstack-ui/rules/dashboards.md (Drilldown, Escape hatch), the relationship-path sentence in the Drill-down paragraph of content/docs/ui/dashboards.mdx, and the "except today on a relationship-path dimension" clause in that page's renderer note. Replace them with the general rule stated once (the link is offered only when the list URL can write the whole drill filter exactly; $or, $between, a null or Date comparand, two comparands on one field and an unreadable field still get none, per useOpenRecordList.ts:86), as content/docs/releases/v18/18-4.mdx:620 already publishes. The skill file sits at its token ceiling, so the replacement is paid inside the same bullet.

    Stale docblocks on the same path (comment-only, read on main ca4ec2a2): resolveRelationshipDrill (ui/packages/plugin-report/src/DatasetReportRenderer.tsx:884), the drill comment at ui/packages/plugin-dashboard/src/DatasetWidget.tsx:1335, and the notice doc of DrillDownDrawer.tsx still describe reading related ids and an $in filter. Fix them in the same PR.

    Also measure, once: a date-bucketed dimension on a relationship path is sent as a range keyed by the dotted field (analytics-service.ts:3462, :3555; buildDatasetDrillFilter, dataset-format.ts:762); what the drawer and the list-link gate do with that dotted range key was read, not measured. A defect there is a code finding for this card, not a wording change.

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

    area:datadomain:uipm:queuepriority:p3

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions