Skip to content

app-shell: dead references to the retired package-less Studio scope — emptyListHint has no setter, and two DraftChangesPanel comments describe it #38785

Todo

Description

@objectstack-fleet

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Filed as a finding by seat repo:objectstack#3. It comes from zone o3-U's close-out of card #38620 (PR #38783), flagged by L1-b. Read on main at 8a7e65b4. Not triaged and not claimed.

Class: c (dead code and stale comments) · Grade: p3 candidate · Reach: none at runtime; it misleads the next author.

What

The package-less scope (~org) retired with PR #38598 (0124851b, #38150 PR-B2). Three places still describe it:

  • emptyListHint has no setter. It is declared in ui/packages/app-shell/src/views/metadata-admin/metadataAreaHost.ts (lines 60–64, "objectstack#36903 — … the package-less scope's flow list says how a packaged flow is changed instead (ADR-0146 D11). Absent elsewhere.") and read in ResourceListPage.tsx (around line 858, hintedEmpty, and line 1010). No host sets it now.
  • DraftChangesPanel.tsx, around lines 1455–1458. The include prop's doc says "Studio's package-less scope passes its own predicate (package-less FLOW drafts, objectui#11553)…".
  • DraftChangesPanel.tsx, around lines 1822–1824. The backfillControl comment says "the package-less scope publishes by reference, a door with no backfill".

Ask

  • Remove the emptyListHint declaration and both reads; the empty list then falls back to the type's own hint.
  • Say who passes include now. If nobody does, consider removing the prop.
  • Drop the package-less-scope reference from the backfill comment.
  • No behaviour change is expected: confirm it with the existing list and draft-panel tests.

Likely lane: domain:ui, area:ux. Related: #38620, #38150, #36903, PR #38598.

Activity

  1. added
    finding
    on Nov 30, 2026
  2. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: first-touch · Task · p3 · pm:queue · domain:ui · area:ux · finding removed.
    Grading: area:ux · Task (dead code and stale comments) · Cosmetic · reach: none at runtime, it only misleads the next author · evidence: read on main at 8a7e65b4, L1-b of PR #38783 (#38620 close-out).

  3. added
    domain:ui
    pm:queue
    and removed
    finding
    on Nov 30, 2026
  4. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CbFgiyGToVRBFwedwF

    Claim: PM loop round 1 · 2026-12-03T14:29Z
    Session: session_01Utp6CbHNxjZcHJuqartB (card thread of zone ux-1203, session session_01Utp6CbFgiyGToVRBFwedwF)
    Account: os-bill
    Branch: claude/project-thread-k69ail
    Worktree: objectstack-k69ail
    Domain: domain:ui (+ one domain:spec text file, card item 7)
    Seat: repo:objectstack@os-bill
    Area: ux-1203
    File surface: ui/packages/app-shell/src/views/metadata-admin/view-variant-model.ts, ui/packages/app-shell/src/views/metadata-admin/inspectors/ViewVariantInspector.tsx (+ its form test, formViewType-30046), ui/packages/app-shell/src/views/metadata-admin/view-schema.ts, ui/packages/app-shell/src/views/metadata-admin/view-schema.test.ts, ui/packages/app-shell/src/views/metadata-admin/spec-derivation-13459.test.ts, ui/packages/app-shell/src/views/ViewConfigPanel.tsx, ui/packages/app-shell/src/views/metadata-admin/previews/form-preview.ts, ui/packages/app-shell/src/views/metadata-admin/previews/dataPreviews.i18n-10862-s3.test.tsx (comment), ui/packages/app-shell/src/utils/recordFormNavigation.ts, ui/packages/app-shell/src/utils/__tests__/formViewChrome-26843.test.ts, ui/packages/i18n/src/namespaces/studio/en.ts, ui/packages/i18n/src/namespaces/studio/zh.ts, packages/spec/src/migrations/entries/semantic/19.internal-record-forms-not-loaded.ts, ui/packages/app-shell/src/views/metadata-admin/metadataAreaHost.ts, ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx, ui/packages/app-shell/src/views/metadata-admin/DraftChangesPanel.tsx, ui/packages/layout/src/NavigationRenderer.tsx (TSDoc only), ui/packages/app-shell/src/hooks/useNavTargetLabel.ts, ui/packages/app-shell/src/hooks/useNavTargetIcon.ts (+ a new pin test beside it), and patch changesets for @object-ui/app-shell, @object-ui/layout, @objectstack/spec. Removing a studio i18n key is allowed only where nothing reads it; stop on any other breach and say so in the report.
    Container & model: S, mode:thread, model: default, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: Studio and console still carry form-view leftovers after the protocol-19 form switch (#39003), a dead package-less Studio scope hint (#38785), and an unstated nav-row resolver memo rule with the same stale-first-render race in the icon and colour resolvers (#38859); app-shell and layout (objectui); Studio authors, today.
    Thread-read: 7283258246
    Premise: holds at origin/main 850d240 per the card thread's read; #39003 item 5 is the removal of a dead arm, not a re-point, so no product question.
    Pre-claim lane: domain:ui p3; folded into #39003's PR (same card thread and branch), Fixes #38785.
    Pre-claim deps: none.
    Prior rulings read: none on these cards.
    Serial constraints cleared: check-handover.mjs --inflight --card=39003 → OVERLAP by directory only (packages/spec/src/migrations/entries/semantic/) with #39346, #39282 (cloud#5) and #38174; the claimed file 19.internal-record-forms-not-loaded.ts is none of theirs. The thread runs overlap-check.mjs before each push and queues per file only on a textual conflict (Notify: serial).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 3, 2026
  6. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CbFgiyGToVRBFwedwF

    Paused · 2026-12-03T14:52Z
    Bill paused all p3 work at 2026-12-03T14:46Z. The folded work for #39003 + #38785 + #38859 is done in one commit and kept on branch claude/project-thread-k69ail at e18991ce (base origin/main 850d240; 34 files, +348/−1231; 18 targeted test files / 357 tests green; app-shell and layout build green). No PR yet, and the claims stand.
    Resume from that branch. Scope beyond the claimed surface, for the claim amendment: familyKey="list" was dropped from 6 inspector test files; requiredInGatedSection.ts and its two tests were deleted, with the engine.inspector.view.gatedRequired.* strings (only a view-held form reached them); FormViewDefinition was dropped from app-shell utils/index.ts. A follow-up card is owed: the gated-required Save gate has no equivalent on the form item yet.

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

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipm:dispatchedpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions