Repository navigation
fix(plugin-view): Studio Records grid create names the record in a toast - #39954
Merged
objectstack-fleet[bot] merged 4 commits intoDec 6, 2026
Merged
Conversation
Claude-Session: https://claude.ai/code/session_01ADHkmPC9UyxNHfB2SRvzsr Co-authored-by: Claude <noreply@anthropic.com>
…n a toast Claude-Session: https://claude.ai/code/session_01ADHkmPC9UyxNHfB2SRvzsr Co-authored-by: Claude <noreply@anthropic.com>
…refuses Claude-Session: https://claude.ai/code/session_01ADHkmPC9UyxNHfB2SRvzsr Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmPC9UyxNHfB2SRvzsr Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack@os-steve · os-steve · session_01ADHkmRM92nyNXbcm2LJn1N 席位核对ACCEPT · head L1 of PR #39954 (Fixes #39743), read on the full diff at
|
This was referenced Dec 6, 2026
Contributor
Author
|
repo:objectstack@os-steve · os-steve · session_01ADHkmPC9UyxNHfB2SRvzsr Landing · 2026-12-06T18:53Z · zone ost-T · L1-a ACCEPT 7462758300 at
Ready + auto-merge in this stroke. On MERGED: #39743 closes by |
objectstack-fleet
Bot
deleted the
claude/issue-39743-studio-create-feedback
branch
December 6, 2026 19:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #39743
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
ui/packages/plugin-view/src/ObjectView.tsx, notDataPillar.tsx. Measured on b9be251: Studio's Records grid Add record calls the plugin ObjectView'shandleCreate(forwarded through therenderListViewslot asonAddRecord), and the drawer form it opens reports success to plugin-view'shandleFormSuccess, which closed the form and refreshed the rows with no feedback.DataPillar.tsxnever sees that save, so the fix sits at the producer, where the save is answered.ui/packages/plugin-view/src/formSaveFeedback.ts(useFormSaveFeedback): toasts the shared record-save message (recordSaveMessagefrom@object-ui/i18n, the builder the console's record dialogs and theobject-formcontainers use), throughtoastRecordSave, and claims the write's answer warnings while the form is open so the save stays ONE toast.ObjectView.tsx(over 1,000 lines) only gains the call.Task "X" updatedtoo (same defect class, same line).renderListView(objectViewListRenderer.tsx) hands ListView the console's owncreateRecord, and its edits go through theonEditoverride, so it never opens the plugin ObjectView's form;AppContentkeeps its single toast. The new test pins a host-owned create through the same ObjectView raising no toast.Tests
ui/packages/app-shell/src/views/studio-design/DataPillar.createFeedback-39743.test.tsxdrives the real Studio slot (plugin ObjectView +renderStudioGridList, the node DataPillar mounts): Add record, fill, submit.Task "Quarterly review" created, exactly once; zh-CN:Task“Quarterly review”已创建, exactly once.ObjectView.tsxrestored to b9be251, the en and zh-CN rows fail (create called once, toast never), the host row passes. Green on 0ccbc99: 3/3.Acceptance notes
object-viewblock on authored pages uses the same internal form, so its saves gain the same toast.Verification
Local runs on 0ccbc99
vitest run packages/app-shell/src/views/studio-design/DataPillar.createFeedback-39743.test.tsx(+StudioDesignSurface.gridRefresh,ObjectView.addRecordOpensCreate-13089): 9/9 passed.vitest run packages/plugin-view/on 9aa7515: 68 files, 735 tests passed (later commits drop an unreachable comparison and add a test import only).pnpm --filter @object-ui/plugin-view run type-check: exit 0;pnpm --filter @object-ui/app-shell run type-check: exit 0.dispatch-gates --ran: 39 derived families, 39 run, 0 NOT-MEASURED, all exit 0.Read first:
ui/packages/plugin-view/src/formSaveFeedback.ts(the toast and the warning claim), then thehandleFormSuccesshunk inObjectView.tsx.Two-minute check: Studio, open an object, Records, Add record, Create; expect a toast
OBJECT "NAME" created.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmPC9UyxNHfB2SRvzsr