Skip to content

Allow patterns as point-and-click body selections - #12455

Closed
pierremtb wants to merge 23 commits into
mainfrom
pierremtb/issue12446-can-select-but-can-not-pass-ui-validation-on-subtracting-pattern
Closed

Allow patterns as point-and-click body selections#12455
pierremtb wants to merge 23 commits into
mainfrom
pierremtb/issue12446-can-select-but-can-not-pass-ui-validation-on-subtracting-pattern

Conversation

@pierremtb

@pierremtb pierremtb commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Fixes #12446.

Complements #12812: that PR resolves whole-pattern expressions in the codemod; this PR allows patterns through command-bar body validation and preserves pattern-copy identity through point-and-click and edit flows.

Builds on the clone artifact-graph support from #12473, which is now merged.

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
modeling-app Ready Ready Preview Aug 12, 2026 2:08pm

Request Review

@pierremtb
pierremtb changed the base branch from main to pierremtb/adhoc/no-cloned-body July 17, 2026 00:06
Base automatically changed from pierremtb/adhoc/no-cloned-body to main August 7, 2026 15:09
…pass-ui-validation-on-subtracting-pattern

# Conflicts:
#	rust/kcl-lib/src/execution/artifact.rs
#	rust/kcl-lib/src/execution/artifact/mermaid_tests.rs
#	rust/kcl-lib/src/execution/artifact/tests.rs
#	rust/kcl-lib/src/execution/mod.rs
#	rust/kcl-lib/src/execution/state.rs
#	rust/kcl-lib/src/std/clone.rs
#	rust/kcl-lib/src/std/mirror.rs
#	rust/kcl-lib/src/std/patterns.rs
#	src/components/CommandBar/CommandBarSelectionMixedInput.tsx
#	src/lang/queryAst.ts
#	src/lang/std/artifactGraph.test.ts
#	src/lang/std/artifactGraph.ts
@pierremtb pierremtb changed the title Codex: Fix P&C subtracting whole pattern Allow patterns as point-and-click body selections Aug 7, 2026
…pass-ui-validation-on-subtracting-pattern

# Conflicts:
#	src/lang/std/artifactGraph.test.ts
@codspeed-hq

codspeed-hq Bot commented Aug 12, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 126 untouched benchmarks
⏩ 151 skipped benchmarks1


Comparing pierremtb/issue12446-can-select-but-can-not-pass-ui-validation-on-subtracting-pattern (111439a) with main (67693c4)2

Open in CodSpeed

Footnotes

  1. 151 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on main (a66d90f) during the generation of this report, so 67693c4 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@pierremtb

Copy link
Copy Markdown
Contributor Author

Not needed, the issue is now closed on main.

@pierremtb pierremtb closed this Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can select but can not pass UI validation on subtracting pattern

1 participant