This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Fix ResizeHandles props in CanvasDesigner - #78
Merged
huangyiirene merged 9 commits intoJan 15, 2026
Merged
huangyiirene merged 9 commits into
huangyiirene merged 9 commits into
Conversation
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix action run issue in GitHub workflow
Fix ResizeHandles props in CanvasDesigner
Jan 15, 2026
- Remove unnecessary React import from App.tsx (jsx: react-jsx handles JSX automatically) - Update main.tsx to use named imports instead of namespace import - Add vite/client types to tsconfig for CSS import support Fixes TS6133 and TS2307 errors that were causing CI build failures Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Contributor
|
✅ All checks passed!
|
huangyiirene
marked this pull request as ready for review
January 15, 2026 10:28
This was referenced Sep 7, 2026
os-warren
pushed a commit
that referenced
this pull request
Sep 9, 2026
…bjectui#8178) `AIFormAssistSchema.formId` / `.objectName` / `.fields` / `.autoFill`, `AIRecommendationsSchema.objectName` / `.maxResults` and `NLQuerySchema.objectName` become `?: never` retirement tombstones (ADR-0049, director decision batch #78, 2026-09-07). The seven designer `inputs` entries that advertised five of those names across the three registrations are gone, the README examples that taught them are rewritten, and the dead `autoFill` destructure is removed. Deletion was not available: all three schemas extend `BaseSchema`, which carries `[key: string]: any`, so a deleted optional member is absorbed silently at any value — the exact silent no-op the retirement ends. The tombstone is what makes the refusal exist, and it is by name. `AIRecommendations` now states in its docblock that it renders every item and that there is no cap, replacing the promise `maxResults` never honoured. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w
os-warren
pushed a commit
that referenced
this pull request
Sep 9, 2026
…ig as `TreeViewConfig` (objectui#8253) `tree` is a host-composition-only view type (objectui#5321 ruling B): on neither authored union, reached only when a host passes a `views` prop. The per-view `tree` block that path reads had no exported type — its only description was the module-local, non-exported `interface TreeConfig` in `ObjectTree.tsx`. The live host is the console, which stores view records and passes them as `views`, so a real consumer wrote this block against nothing and a misspelled `parentFeild` was admitted by the entry's `[key: string]: any`, stored, and never reported. Ruled option (a) on objectui#8253 (decision batch #78, 2026-09-07, maintainer 「同意」): `packages/types` exports the config, the module-local copy becomes an import of it, and there is no second copy. - `types/src/views.ts` declares `TreeViewConfig`; the barrel re-exports it. - `plugin-tree` imports it; its resolver's `ResolvedTreeConfig` is `Pick`ed off the one declaration and only adds requiredness for the two floored keys. - `plugin-view` declares `ObjectViewProps.views[n].tree` as `TreeViewConfig` — a narrowing on a face whose index signature already admitted every spelling. - `titleField` stays declared rather than deleted: the console's create-view dialog does not offer it, but the console's own composition reads it by name and objectui#6557 pins that rung as live behaviour. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 17, 2026
…bjectui#8178) (objectstack-ai#8796) * fix(types,plugin-ai): retire the seven zero-read AI schema members (objectui#8178) `AIFormAssistSchema.formId` / `.objectName` / `.fields` / `.autoFill`, `AIRecommendationsSchema.objectName` / `.maxResults` and `NLQuerySchema.objectName` become `?: never` retirement tombstones (ADR-0049, director decision batch objectstack-ai#78, 2026-09-07). The seven designer `inputs` entries that advertised five of those names across the three registrations are gone, the README examples that taught them are rewritten, and the dead `autoFill` destructure is removed. Deletion was not available: all three schemas extend `BaseSchema`, which carries `[key: string]: any`, so a deleted optional member is absorbed silently at any value — the exact silent no-op the retirement ends. The tombstone is what makes the refusal exist, and it is by name. `AIRecommendations` now states in its docblock that it renders every item and that there is no cap, replacing the promise `maxResults` never honoured. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w * fix(plugin-ai): compile the two objectui#8178 pins under tsc `packages/plugin-ai/src` had no test file before objectui#8178, so its test-type-check coverage was vacuously complete. The two pins that PR added are the first, and no `tsc` invocation read either of them: `node scripts/check-type-check-coverage.mjs` exits 1 on the PR head naming both, and exits 0 on the base b6d07df. That gate also runs unconditionally on `merge_group: checks_requested`, so it reddens the merge queue and not just the PR. Until now the pins ran only under vitest -- the objectui#3009 / objectstack-ai#2911 shape this guard exists to catch, where a test asserts a contract the compiler never checked and then reads as evidence the contract holds. Add `packages/plugin-ai/tsconfig.test.json` and chain it off `type-check`, the convention 36 sibling packages already use. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w --------- Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 17, 2026
…ig as `TreeViewConfig` (objectui#8253) (objectstack-ai#8828) * feat(types,plugin-view,plugin-tree): export the host `tree` view config as `TreeViewConfig` (objectui#8253) `tree` is a host-composition-only view type (objectui#5321 ruling B): on neither authored union, reached only when a host passes a `views` prop. The per-view `tree` block that path reads had no exported type — its only description was the module-local, non-exported `interface TreeConfig` in `ObjectTree.tsx`. The live host is the console, which stores view records and passes them as `views`, so a real consumer wrote this block against nothing and a misspelled `parentFeild` was admitted by the entry's `[key: string]: any`, stored, and never reported. Ruled option (a) on objectui#8253 (decision batch objectstack-ai#78, 2026-09-07, maintainer 「同意」): `packages/types` exports the config, the module-local copy becomes an import of it, and there is no second copy. - `types/src/views.ts` declares `TreeViewConfig`; the barrel re-exports it. - `plugin-tree` imports it; its resolver's `ResolvedTreeConfig` is `Pick`ed off the one declaration and only adds requiredness for the two floored keys. - `plugin-view` declares `ObjectViewProps.views[n].tree` as `TreeViewConfig` — a narrowing on a face whose index signature already admitted every spelling. - `titleField` stays declared rather than deleted: the console's create-view dialog does not offer it, but the console's own composition reads it by name and objectui#6557 pins that rung as live behaviour. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w * fix(tooling): re-key the three ObjectView `@example` ledger rows after the +27-line declaration (objectui#8253) `UNGATED_EXAMPLES` addresses each block by `file:LINE symbol`, so declaring `views[n].tree` in `ObjectViewProps` — 27 lines above the component docblock — moved all three ObjectView rows out from under their keys. `check:doc-examples` reported them as three UNDECLARED FAILURES plus three STALE LEDGER ROWs; the blocks and their reasons are unchanged, only the addresses. Same maintenance objectui#8466 performs on its own row in this ledger. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w * fix(tooling): drop the paid-off `TreeConfig` spec-collision debt row (objectui#8253) `check:spec-symbols` records a per-package DEBT ledger of local declarations that reuse a `@objectstack/spec` export name — "a local declaration under a spec export's name is read by the next agent as the spec's own definition". `@object-ui/plugin-tree` carried one row, `TreeConfig`, and this card's export retires that declaration outright, so the gate now fails the other way: a DEBT entry that no longer collides. Measured on the installed `@objectstack/spec@17.3.0`: `TreeConfig` appears 38 times in its dist, `TreeViewConfig` zero. So the ruling's suggested name is not merely a rename — it is the one that leaves the ledger empty for this package. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w --------- Co-authored-by: Claude <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
TypeScript compilation failed in
CanvasDesigner.tsxbecauseResizeHandleswas called with incorrect props: passing non-existentnodeIdprop, missing requireddirectionsarray, and wrongonResizeStartcallback signature.Changes
ResizeDirectiontype fromResizeHandledirectionsarray based on component resize constraints (width/height)directionsprop instead ofnodeIdtoResizeHandlesonResizeStartcallback to accept bothdirectionandeparametersThis aligns
CanvasDesignerwith the pattern already used inCanvas.tsx.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.