Skip to content

Two console writes give no feedback: Revoke on a granted binding suggestion (Studio Access) and creating a package in Studio #33865

Closed

Description

@objectstack-fleet

qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

Convention. The ux-conventions.write-feedback rule: every write the console performs answers with feedback that names its subject (a toast or equivalent).

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

  1. Revoke on a binding suggestion.
    • Steps: in Studio → Access of a writable package, publish an isDefault: true permission set, press Grant on the suggestion banner, then press Revoke.
    • The write lands: POST /api/v1/security/suggested-bindings/<id>/dismiss answers 200, and the suggestion reads dismissed.
    • No toast appears. The only change is the banner's text flipping to "…" is not granted: the suggestion was dismissed or revoked. with Reconsider.
    • Grant and Dismiss on the same banner each show a toast.
  2. Studio package create.
    • Creating a new package in Studio succeeds, but no toast names the new package.
    • The runner saw no inline confirmation either.

A third case was seen and is not filed here: import Undo marks its history row Undone and shows no toast. The row change may be its intended feedback.

Expected: a toast naming the subject, the way Grant ("…" is now granted to everyone.) and Dismiss (Suggestion for "…" dismissed.) already do.

Regression vs 18.4.0: not measured.

QA-source: #33861 · ux-conventions.write-feedback · 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:54Z

    ⛔ Not a claim.

    From sweep #33761. Two console writes give no feedback (Revoke on a binding suggestion; creating a package in Studio), against ux-conventions.write-feedback. p3.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p2 (was p3) · area:ux · UX · UX × not every user every time · 「Two console writes give no feedback: Revoke on a granted binding suggestion (Studio Access) and creating a …」; UX has no p3 (15:07Z 「和 cloud 对齐」)

  4. added
    priority:p2
    and removed on Nov 18, 2026
  5. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY

    Claim: area ux-1 round 4 · 2026-11-19T03:40Z
    Session: session_01Utp6CbSphdunq2aJq7ktuY
    Account: os-bill
    Branch: claude/issue-33865-write-feedback-toasts
    Worktree: objectstack-issue-33865
    Domain: domain:ui
    Seat: repo:objectstack#5 · area ux-1 (lease:ux-1)
    File surface: item 2 — ui/packages/app-shell/src/views/metadata-admin/PackageFormDialog.tsx (and studio-design/PackageSwitcher.tsx only if the create callback lives there); item 1 — ui/packages/app-shell/src/components/SuggestedBindingsPanel.tsx / views/studio-design/StudioDesignSurface.tsx only if the live reading still shows no Revoke toast; their tests; an i18n catalogue line if a new sentence is needed; root .changeset/. packages/** read-only.
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: Studio package create gives no toast naming the new package (PackageFormDialog.tsx has no toast on create); Revoke on a granted suggestion reportedly gave none | Grant and Dismiss already toast; SuggestedBindingsPanel act() calls revokedToast on origin/main | every Studio author who creates a package, every admin who revokes a granted suggestion
    Thread-read: 6984930612
    Premise: item 2 holds (origin/main: no toast in PackageFormDialog.tsx); item 1 corrected-pending: SuggestedBindingsPanel.tsx l.149 toasts revokedToast for both mounts since #31657 (and #35273's pin sees it fire after Grant → Revoke), against the QA run's live observation at a557fa38. The dev's first step is a live or harness reading of Studio Access Grant → Revoke; if the toast fires, item 1 is reported as already fixed with the evidence, not edited.
    Pre-claim lane: ui/packages/app-shell/** → domain:ui, area ux-1 (lease table).
    Pre-claim deps: serial after #34094 (same banner) → PR #35273 merged 0c047d0c08.
    Prior rulings read: ux-conventions.write-feedback governs; no ADR rules on these toasts; thread: triage 6894632072, regrade 6984930612; no conflict.
    Serial constraints cleared: no other ux-1 PR touches these files; the dev runs overlap-check before the first push.
    Scope: item 2 toast names the new package by its label; item 1 per the reading above; pins + CONTROL + ablation. Fixes #33865.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  7. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
    os-dev-report

    {
      "issue": 33865,
      "status": "done",
      "branch": "claude/issue-33865-write-feedback-toasts",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35326",
      "session": "session_01Utp6CbSphdunq2aJq7ktuY",
      "premise_still_valid": true,
      "summary": "Item 2 (package create): PackageFormDialog now answers a successful create with toast.success naming the new package by its display name, through the new studio catalogue key engine.packages.create.created (en 'Created package “NAME”.', zh '已创建软件包「NAME」。'). The catalogue carries only en and zh. The dialog is the only create path, so Studio New app, the Studio package switcher and the Packages page all get the toast; refusals and edit saves are unchanged. Item 1 (Revoke): already fixed. SuggestedBindingsPanel act() toasts strings.revokedToast and the Studio mount passes engine.studio.access.suggestRevokedToast. That code was already on the QA commit a557fa38 (merge-base --is-ancestor 8c9260f79c a557fa38 → exit 0), and a harness reading of the real Studio AccessPillar (Grant → Revoke) shows the toast firing and naming the set by its label. No code change for item 1. No Studio pin covered Revoke, so one was added to the existing Studio harness file. Not explained: why the QA run's live session saw no toast at a557fa38. The PR body records this as an acceptance note.",
      "tests": "At merged head ce0f6ea227, under the lock: pnpm --filter @object-ui/app-shell exec vitest run --root ../.. --maxWorkers=2 on all 14 PackageFormDialog* files plus StudioDesignSurface.accessSuggestionsReadOnly-33158, SuggestedBindingsPanel and MarketplacePackagePage.installedSuggestions-33158 → Test Files 17 passed (17), Tests 180 passed (180), VERDICT command-exit 0. New pins: Studio Grant→Revoke toasts suggestRevokedToast('CRM user') as the second toast.success and the row reads dismissed with Reconsider; CONTROL: a refused Revoke (409) toasts the server message and not the revoked sentence. PackageFormDialog: a create toasts the created sentence once with 'New App' and not the id; zh sentence; CONTROL: a 409 create toasts nothing; CONTROL: an edit save does not toast. Ablations through ablation-replace.mjs (src resolves through the ui vitest alias, so no rebuild): (1) PackageFormDialog toast.success( → void Array.of(, landed (blob fd0aefbaa840 → ebd89e3b4a6f) → 2 failed | 9 passed (both toast pins red, both CONTROLs green), restored to the HEAD blob with git diff HEAD empty; a first try with 'void (' was a syntax error ('no tests'), void, declared. (2) SuggestedBindingsPanel revoke ternary → 'strings.dismissedToast(s) /* ablated */', landed (85a24a3bc2ff → 5bdf68afec12) → 1 failed | 9 passed (Revoke pin red, CONTROL green), restored; a first try whose replacement was a substring of the anchor was refused by the tool before any test ran (no-op), declared.",
      "gates": "Local: dispatch-gates --commands (repo objectstack-ai/objectstack at b37957ef64): 38 families, all exit 0. check:test-source-alias was exit 1 first (an edited test reaches dynamic @objectstack/formula and @objectstack/lint loads) and exit 0 after the module-top imports in c758722c83. pnpm --dir ui exec vitest run scripts/ → 171 files passed, VERDICT 0. --ran reconciliation: '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED (a DERIVED zero)'. At e42d8d25d7 the gates that read the test file ran again: test-source-alias, cross-package-test-inputs, nul-bytes, tier-file-adoption, undeclared-dep-imports, all exit 0. Type-check: pnpm --filter @object-ui/i18n run type-check && pnpm --filter @object-ui/app-shell run type-check → VERDICT 0 (needed the ui dep closure built first; the first try was exit 2 on stale ui core dist, TS6305). tsc -p tsconfig.test.json --listFiles lists both edited test files. overlap-check: merges cleanly with origin/main, VERDICT clean. Merged origin/main once before opening the PR, then re-ran the 17 targeted files: green. CI on head ce0f6ea227 at report time: 17 in_progress, 5 skipped, 0 failed. Full app-shell suite and test:repo were not run locally; both are left to CI by the dispatch order.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay writes: pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft, with the assignee leg POST /issues/35326/assignees) and this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/33865/comments); plus git push to the branch (not REST)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed: same rule ux-conventions.write-feedback, the inspector ObjectPicker 'declare dependency' edit (PackageFormDialog mode=edit, onSaved closes it) shows no feedback. Read from source only, no public-door measurement, so it is not a filing class. Dedupe words: write-feedback, ObjectPicker, declare dependency, package edit toast"]
    }
  8. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY

    Close-out · 2026-11-19T05:36Z: PR #35326 merged as a0b4ecfd02 (ACCEPT 7000437291, landing 7000445488); the card closed on merge. pm:dispatched removed.

    • Item 1 (Revoke): already toasted on main and on the QA commit a557fa38 (8c9260f79c is an ancestor); the Studio harness shows the revoked sentence naming the set. Pinned, no code change. Why the QA run saw none stays unexplained.
    • Item 2 (package create): fixed in PackageFormDialog, the one create path.
  9. removed
    pm:dispatched
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions