Repository navigation
fix(console): call the object designer's folded tabs More, and keep the flow add-node palette inside the window - #39450
Conversation
… Advanced The folded trigger holds the panels that do not fit; read as Advanced it looked like a settings menu. Claude-Session: https://claude.ai/code/session_016WV4d1cnRvyiAqrarmDhZV Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1cnRvyiAqrarmDhZV Co-authored-by: Claude <noreply@anthropic.com>
…the flow palette height Claude-Session: https://claude.ai/code/session_016WV4d1cnRvyiAqrarmDhZV Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV Final head for L1 · 2026-12-04T01:52Z · zone em-admin |
|
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR 2026-12-04T02:04Z · L1-a verdict: ACCEPT at head 席位核对Checklist verdict. Shape: open, draft, base Sentence reads, against the diff.
Body note, not blocking. The Acceptance note "No changeset in this PR yet … Gates. 47 success, 17 expected skip, 0 failed, 0 pending on Pointer for #39409: |
|
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV Landing · 2026-12-04T02:05Z · zone em-admin |
Requested by Elon · project thread
Fixes #39409 — items 3 (object tab overflow reads 更多, not 高级) and 4 (flow node palette no longer clipped) land here. The maintainer ruled items 1 and 2 into their own cards: #39474 (cross-object recycle-bin overview) and #39475 (export on by default).
Refs #39474
Refs #39475
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
DataPillar.tsx; its string key moves fromengine.studio.data.tab.advanced(Advanced / 高级) toengine.studio.data.tab.more(More / 更多) in thestudionamespace (en, zh — the only two it carries). The fold rule, the two width bands and the trigger keeping its own name whichever panel is open are unchanged; the prose that quoted the old name (dataTabsFold.ts, two comments inDataPillar.tsx, the two pins that read the label) now quotes the new one. Test ids (data-tabs-advanced*) are kept so no other suite moves.NodePalette(inflow-canvas-parts.tsx, the one palette every "+" inFlowCanvas.tsxopens) is now a flex column capped at Radix's--radix-popover-content-available-height, withcollisionPadding8; the command root and list carrymin-h-0, so the list is what shrinks and scrolls. Before, the panel's height was the list's56vhplus the search row regardless of the room on the side it opened to, so a "+" with too little room drew the search box and first rows outside the window.Tests
NodePalette.test.tsxgains a top-leveldescribe(the component's shared harness): the panel carries every class ofPALETTE_FITS_VIEWPORT, Radix really sets the variable the cap reads, and the cmdk root and list carrymin-h-0.DataPillar.advancedKeepsName-11794.test.tsxandDataPillar.flatTabs-12450.test.tsxread the trigger's label through the new key.scripts/ablation-replace.mjs, mutation landed by blob hash and restored to HEAD): droppingPALETTE_FITS_VIEWPORTfrom the panel's classes turns the new pin red (expected [ 'z-50', … ] to include 'flex', 1 failed / 12 passed); restored, 13 / 13 pass.Acceptance notes
GET/DELETEon the object'srecycle-binpath, restore and purge under it); there is no cross-object list and no per-object count (the list answers a page andhasMore, no total). Per-object counts or an "all deleted records" view need a new server read; reported to the seat, not built. No UI-only default was added: without counts any default object is a guess.ListViewbuilds that door only when the view declaresexportOptions. A view with noexportOptions(any view nobody configured) offers no export anywhere, so there is nothing elsewhere to point to. Whether an unconfigured list view should offer export by default is a product decision on the renderer's reading of an absent key, reported to the seat, not built here..changeset/39409-ops-pages-overflow-palette.mdlanded in the last commit (d954f9894c);Check Changesetis green.layout/as the claim guessed: the overflow is the Studio object designer's tab row. Item 4's popover lives inflow-canvas-parts.tsx, the parts file besideFlowCanvas.tsx.Read first
ui/packages/app-shell/src/views/metadata-admin/previews/flow-canvas-parts.tsx— theNodePalettepanel: the height cap andcollisionPadding(riskiest: every add-node "+" opens it).ui/packages/app-shell/src/views/studio-design/DataPillar.tsx— the folded trigger reads the new key.ui/packages/i18n/src/namespaces/studio/en.ts/zh.ts— the renamed key and its two values.Verification
Measured placement of the palette (console preview gallery, flow designer, headless Chromium)
The driver opens every "+" inside the window and reads the panel's box. Before = this branch with
flow-canvas-parts.tsxrestored to the merge base; after = this branch.Two-minute check:
cd ui/apps/console && pnpm exec vite --port PORT --strictPort, open/preview-gallery.html?only=flowin a short window (about 1280 x 600), click the insert "+" on the top edge of the canvas: the palette opens fully inside the window and its list scrolls.Generated by Claude Code