Skip to content

Footer calculation menu is offered on read-only package views; the list-view rows lose _packageId so the UI cannot tell them apart #35933

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Found while building #35702 (PR #35919). Part of epic #35547 (list page redo).

What a user sees

On a view that ships inside a read-only package, an admin is offered the footer calculation menu; picking a value is refused by the server (403, "save to the custom package"), the pick rolls back and a toast explains it. It works, but the admin is offered something that cannot succeed.

Why

A dotted view name does not mean read-only: the console's own saved shared views are dotted too (e.g. showcase_product.team_products, stored in the custom package). The reliable signal is the view's package, but the data adapter's listViews drops _packageId from the rows, so the UI cannot see it.

To do

Carry _packageId (or an explicit read-only flag) on list-view rows through the adapter, and offer the calculation menu (and any other view-saving entry, such as view settings save) only on views the admin can save.

Acceptance

  • A package-shipped read-only view shows no calculation menu; a custom shared view and a personal view still do.

Reader: domain:ui (data adapter + list view). Blocked by #35919 merging.

Activity

  1. added
    bug
    pm:retriage
    domain:ui
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue (from pm:retriage); rationale: area:ux · Bug · the footer calculation menu is offered on read-only package views (the pick is refused with 403 and rolled back), because list-view rows lose _packageId; topic #35547 → p2 (UX has no p3) · size S.

  3. added
    pm:queue
    priority:p2
    and removed
    pm:retriage
    on Nov 20, 2026
  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: PM loop · 2026-11-21T01:41Z
    Area: b1-DB
    Session: session_01L6bhgW85kwjGaz7HqsmEuv (area b1-DB, session 2; its os-dev subagent runs under the same session)
    Account: os-sales
    Branch: claude/issue-35933-view-package-gate
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface: ui/packages/data-objectstack/src/index.ts (both listViews flattening paths carry _packageId), the footer calculation menu entry in ui/packages/plugin-list, and the view-settings save entry in ui/packages/app-shell ObjectView, reusing the existing package-writable predicate (isWritablePackage / READ_ONLY_PACKAGE_SCOPES); no new rule. Tests beside each.
    Container & model: S (may read M), mode:subagent, model: opus, effort: medium
    Clause-②: no (provisional: the dev measures it on the built declarations; if the row type is a public surface the claim is amended to yes (widening) and the seat runs the declaration L2)
    Metadata-protocol: none
    Premise: re-read on main 9ed18a50 by the area: holds.
    Basis: card #35933. Under the maintainer's 2026-11-20 22:31Z–22:32Z order (bugs derived from the record-page / list-page epics, p1 and p2 bugs only).
    Resume-from: none
    Fold-or-serial: serial; no fold. Shares ObjectView.tsx and ListView.tsx with in-flight #35918 and #35910, so overlap-check runs before each push. If the dev finds a new writability read is needed or the surface outgrows S, the card goes back to the seat for a card thread. The PR carries Fixes #35933.

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:uxbugdomain:uipm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions