Skip to content

Console shows machine names or raw record ids where a label exists: Access binding-suggestion banner and toasts, OWD "By parent →", Audit Log Record column, Setup palette record hits, flow entry-condition field picker #33864

Closed

Description

@objectstack-fleet

qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

Convention. The ux-conventions.labels-over-machine-names rule: anything shown to a person uses the label, and the machine name appears at most as secondary text.

Where (main a557fa38, stock showcase, seeded admin; met by a QA run beside that item's clauses, which all passed on the surfaces they list):

  1. Studio → Access pillar of a writable package:
    • Binding-suggestion banner. Publish a permission set with isDefault: true and a label, e.g. name qa_note_readers, label "QA Note Readers". The banner reads This package suggests granting "qa_note_readers" to all signed-in users (Everyone).
    • Grant / Dismiss / Revoke results. The toasts ("qa_note_readers" is now granted to everyone., Suggestion for "…" dismissed.) and the dismissed banner ("qa_note_readers" is not granted: …) also name the set by machine name.
  2. Studio → Access → Record sharing (OWD). Choose "Controlled by parent" on a detail object whose master is labelled "QA Project". The line reads By parent → qa_access_project.
  3. Setup → Audit Log list. The Record column shows the record id, not the record's display name.
  4. Setup ⌘K palette record hits. Record Share and Notification Event hits show the record id as their title.
  5. Studio flow editor → entry-condition builder. The field list offers paths (status, previous.status) rather than field labels.

Expected: the label (set label, object label, record display name, field label). The name can follow as secondary text where it is useful.

Regression vs 18.4.0: not measured. These surfaces are not in the item's variant list, which is why its clauses passed.

QA-source: #33861 · ux-conventions.labels-over-machine-names · observed beside the clauses

Activity

  1. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:ui · p3 · 2026-11-15T12:55Z

    ⛔ Not a claim.

    From sweep #33761. Machine names or raw ids are shown where a label exists, against ux-conventions.labels-over-machine-names. p3.

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Claim: PM loop round 2 · 2026-11-15T17:18Z
    Session: session_01ADHkmSBi2p2cTsYqd7ScSZ (card thread, dev) · seat session_01ADHkmT2NE3iyG1o6TDg3sf
    Account: os-steve
    Branch: claude/project-thread-nz6xcb
    Worktree: objectstack-issue-33864
    Domain: domain:ui
    Seat: domain:ui#1
    File surface: the five surfaces' files under ui/packages/** as located (app-shell Studio Access banner/toasts, OWD 'By parent', Setup audit list Record column, flow entry-condition field picker; palette record hits only if NOT in CommandPalette.tsx), @object-ui/i18n pack keys if needed, tests, root .changeset/. The dev names exact files in the report; packages/** stops for the seat.
    Container & model: M, mode:thread, model: default tier, effort: high
    Clause-②: no — unless the dev adds @object-ui/i18n pack keys, then the report and PR say yes (widening)
    Metadata-protocol: none
    Responsibility: five Console surfaces show machine names or raw ids where a label exists | QA sweep #33861 met them beside ux-conventions.labels-over-machine-names | admins using Studio Access, Setup audit and palette, and flow authors
    Thread-read: 6894637720
    Premise: holds as filed on main a557fa38; the dev re-measures each item on origin/main and drops any item that no longer reproduces, saying so
    Serial constraints cleared: no other pm:dispatched domain:ui card claims these files (live read: seat 2 holds #33988 #33987 #28085 #33857 #33856, seat 1 #33758 in the merge queue); CommandPalette.tsx belongs to seat 2 (#33863 → #33826), so item 4 is left out if its fix is there; #33865 waits behind this card on the same banner
    Scope: Labels (machine name at most secondary) on the five surfaces, one shared resolver where they can share it; Revoke's missing toast stays on #33865; pins + ablation per item. Fixes #33864 only if all five land, else Part of #33864 with the remainder named. Order: /mnt/project-files/ui-seat1/standard-order.md + 33864-delta.md. Summons: the maintainer opened the ui lane's p3 cards (2026-11-15T17:13Z, 「skills ui 车道开放 p3 卡」) while no ui p1/p2 is dispatchable.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmSBi2p2cTsYqd7ScSZ
    os-dev-report

    {
      "issue": 33864,
      "status": "done",
      "branch": "claude/project-thread-nz6xcb",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34088",
      "session": "session_01ADHkmSBi2p2cTsYqd7ScSZ",
      "premise_still_valid": true,
      "summary": "Items 1, 2, 3 and 5 land as `Part of #33864`; item 4 (palette record hits) is left for the seat to split. (1) Studio Access suggested-binding banner, toasts and state lines name the set by the label the pillar's own rail reads (`suggestedSetLabel`, StudioDesignSurface.tsx), machine name only when no label; no server change. (2) OWD 'By parent' names the master by the package row label, else the served object label, else the name (`masterLabelOf`, PackageOwdOverviewPanel.tsx). (3) Audit Log Record column draws the existing batched `RecordPointerCell` (plugin-grid, now exported) over the `object_name`/`record_id` pair. (5) Flow entry-condition mount passes the existing `labelSubjects` option. Shared resolver: item 3 reuses the grid's one pointer resolver; items 1/2/5 each read a label source already in hand at their mount, so no new cross-surface resolver was written.",
      "tests": "Final head c0343878: os-verify-lock vitest over 85 files (all StudioDesignSurface.access*, PackageOwdOverviewPanel*, FlowNode*, ConditionBuilder*, FlowCanvas*, flowSingleBrace-12329, flow-node-producers.label, SuggestedBindingsPanel, AuditLogPage*, plugin-grid pointer/referenceVia suites): Test Files 85 passed (85), Tests 865 passed (865), VERDICT command-exit 0 (whole app-shell suite left to CI Test UI, declared). Type-check app-shell / plugin-grid / console: VERDICT command-exit 0 each after turbo build console^... (74/74). Ablation per item via scripts/ablation-replace.mjs, no build leg (ui vitest aliases @object-ui/* to src): item1 3 failed/5 passed, item2 2 failed/9 passed, item3 2 failed/5 passed, item5 2 failed/39 passed; each anchor x1->x0, restored blob == HEAD, git diff HEAD empty.",
      "gates": "dispatch-gates --commands at c0343878: 37 derived; all 37 exit 0 (incl. pnpm --dir ui exec vitest run scripts/ 171 passed/2 skipped, pnpm check:type-check-debt, pnpm check:test-source-alias). --ran: '37 derived famil(ies) accounted for — 37 run, 0 NOT-MEASURED'. Extra: pnpm check:published-readme-exports exit 0, pnpm check:changeset-fixed exit 0, pnpm check:new-line-citations 0 new, eslint on touched files 0 errors. CI check-runs: in_progress at report time (not waited on).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "5 — mcp__github__issue_read x4 (get, get_comments x3), mcp__github__pull_request_read x1 (get); no write tools",
      "api_writes": "2 — relay pr_create (PR #34088, draft, assignees os-steve); this os-dev-report comment on #33864 via post-stamped",
      "files_changed": [
        ".changeset/33864-labels-over-machine-names.md",
        "ui/apps/console/src/pages/system/AuditLogPage.tsx",
        "ui/apps/console/src/pages/system/AuditLogPage.objectLabels-28968.test.tsx",
        "ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx",
        "ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.accessSuggestionsReadOnly-33158.test.tsx",
        "ui/packages/app-shell/src/views/studio-design/PackageOwdOverviewPanel.tsx",
        "ui/packages/app-shell/src/views/studio-design/PackageOwdOverviewPanel.test.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowNodeConfigField.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowNodeConfigField.entryCondition.test.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowNodeInspector.entryCondition.test.tsx",
        "ui/packages/plugin-grid/src/index.tsx",
        "ui/packages/plugin-grid/README.md"
      ],
      "line_budget": "PR additions 316 / deletions 20 across 12 files; no skills/** or governed paths",
      "deviations": [
        "Item 4 left out (Part of, not Fixes): the palette's record-hit title is the server searchAll title (nameField value as stored; sys_record_share nameField 'recipient_id'), so the fix is under packages/**, which the delta says to stop on. Notification Event hit NOT MEASURED (sys_notification nameField 'topic'; why the id showed needs a live repro).",
        "Item 3 unreadable rows read 'OBJECT · record unavailable' with the id as tooltip (the shared RecordPointerCell's one rendering), not the bare id the delta named as fallback; kept the shared face rather than fork it.",
        "File surface: item 3 lives in ui/apps/console (AuditLogPage.tsx), and the shared resolver is exported from ui/packages/plugin-grid (index + README).",
        "Two test files gained a module-top `import '@objectstack/lint'` because check:test-source-alias judged them once edited."
      ],
      "open_questions": [
        {
          "question": "Item 3: should the audit Record column show the bare id instead of 'OBJECT · record unavailable' for unread rows?",
          "options": [
            "A keep the shared face (id in tooltip and drawer)",
            "B add a fallback prop to RecordPointerCell for this page"
          ],
          "recommendation": "A, because one rendering for deleted and not-visible keeps the resolver's no-oracle rule and the id stays one hover away"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: Marketplace package page install dialog (MarketplacePackagePage.tsx) mounts the same SuggestedBindingsPanel and names the set by machine name in prompt and toasts · evidence: its strings pass s.permission_set_name · dedupe words: suggested binding marketplace label permission set",
        "class: a · reach: ⌘K palette Record Share hit titled with the raw recipient id (QA run on #33864 item 4) · evidence: protocol-record-reads.ts renderTitle reads nameField as stored; sys_record_share nameField recipient_id · dedupe words: search hit title nameField reference palette record share",
        "carrier: seat — ConditionBuilder labelSubjects is off by default; hook, action visible/disabled, page-block and widget mounts still list spellings (noted, not filed)"
      ]
    }

    Stamped 2026-11-15T18:18Z.


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Landed · card closed by the seat

    PR #34088 MERGED at 2026-11-15T22:37Z as e08aad7cae through the merge queue. It carried Part of #33864 (items 1, 2, 3 and 5), so the platform did not close this card; the seat closes it in this stroke. Delivered: the audit log, the package OWD overview (master objects read by name through readObjectsByName), the flow entry-condition inspector and the Studio access-suggestion surface name permission sets, master objects, audited records and condition subjects by their labels instead of machine names; @object-ui/plugin-grid exports RecordPointerCell for that.

    Item 4 is server-side and is carried on #34055 (the seat's comment there); follow-up card #34094 (Marketplace suggested-binding prompt) and the cards that waited on this one (#33865, #34122) are now unblocked. Nothing else remains here.

    State change: pm:dispatched removed, the assignee cleared and the card closed (completed) in this stroke.

  7. removed
    pm:dispatched
    on Nov 15, 2026
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

    domain:uipriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions