Skip to content

feat: latest from upstream#47

Merged
field123 merged 108 commits into
masterfrom
feat/latest-from-upstream
Nov 19, 2025
Merged

feat: latest from upstream#47
field123 merged 108 commits into
masterfrom
feat/latest-from-upstream

Conversation

@field123
Copy link
Copy Markdown
Collaborator

Latest changes from upstream plasmic repository

sampullman and others added 30 commits October 7, 2025 10:43
* feat: add graphql base package as hostless

* feat: show hidden hostless packages if admin

Reverted InsertPanel changes here, just add a TODO for UI to indicate custom
function UI is already installed

GitOrigin-RevId: a1f07484fc4503a59edd7005fa0e9e8a37875689
* refactor: added border property parsing and added tests in css.ts

* refactor: moved border parsing code from css to css/border, and used css-tree and exsisting utils instaed of checking with regex for width and color

* refactor: moved borderShortHandKeys to parseShorthandProperties in shared/css

* chore: type fix

* chore: deleted border.spec and moved tests to html-parser.spec

* fix: added border none check when adding default width in parseBorderValue

* refactor: added border styles to button in landing-page.html

* chore: updated html-parser snapshot and added border snapshot tests in html-parser-spec

* fix: type fix

* refactor: moved parseBorderShorthand to shared/css and refactored requested changes, added border 0 test case

* refactor: moved border utils from css-tree-utils to shared/border

* fix: replace mistype width with color

* refactor: border test moved to shared/css/border.spec.ts from web-importer/html-parser.sepc.ts

* refactor: refactored naming in border.spc.ts

* refactor: added types for parseBorderShorthand

* refactor: moved border parseHtmlToWebImporterTree test to html-parser.spec into one combined test

* refactor: moved test from html-parser to border.spec, only mixed property test reamined for border in html-parser to test overide properties

GitOrigin-RevId: e1a1ade49846fb07be2dec32d167114cdade0b68
* chore: allow % for gap

* refactor: refactored allowed units for FlexContainerControls and columns-section

* refactor: allowed all lengthCssUnits to gap in FlexContainerControls

GitOrigin-RevId: 3f1df7775de3420aeddc9a8d931c6da15f8c4c7e
GitOrigin-RevId: 1ba1e8fe9d43e89de1330423762474d36372bfec
… in design tab (#1741)

* fix(html-import): background value having tokens to be translated to color

* fix(bg-styles): consider single var reference for background to be color instead of image url

* chore: remove unused util

GitOrigin-RevId: f49ba68f78dc068ad710e9259a194878ec7f7e8f
GitOrigin-RevId: b6fdb5d353ccd5dd071d4b9115fd6cbff34e21cd
* project access test

* interactions-variants tests

* image-slots test

* Added more tests

* Fixed pipeline errors & added another batch of tests

* Adressed comments

* Fixed dev flag helper methods

* Pipeline fixes for hostless-cms & text-slots

* Pipeline fixes for text-slots test

* Pipeline fixes for failing & flaky tests

* Pipeline fixes for tests

* Fix for test-slots test

* Text-slots test fix

* Updated text-slots to fix frame focus issues

* Updated 2nd frame locator for text-slots test

* Added migrated cypress tests to ignorelist

* Fix for text-slots test

GitOrigin-RevId: cae926ea8154396649a5f031710686bc1d0eac1a
* fix: Plexus Select shows warnings

* fix: Listbox

* remove withObservedValues

* test: storybook test for this error

* refactor: renaming

* fix: focus change handler

GitOrigin-RevId: 5cff6592d564ca0a5de497c49c241530b15fc13a
 - @plasmicpkgs/react-aria@0.0.154

GitOrigin-RevId: 0ab826e4da59d14b0f8754c60c0a1910bd04834e
GitOrigin-RevId: 55d037aa903b49cba782331dba53ecd13e8fef9e
GitOrigin-RevId: 26063a6ce5d32aeda50c7dd7446bc2b2387e92e4
…ctions (#1765)

* fix: Registered/Imported token folders should not have group actions

* refactor: feedback

GitOrigin-RevId: 16b13ae8e0cc484c59f92dad5104d50cba276223
…ed to remove table (#1767)

GitOrigin-RevId: e15814d26a00a0cf03bfb8c0a3c1402e991cd5db
* fix: added dropdown-container--bordered class to XMultiSelect in MixinSection and hidden control if select is visible

* refactor: removed add button and preselect section will be always expanded if selected or if preset already exsists

GitOrigin-RevId: ee3825b1db69bb6f35160314fb727261a15f48bc
GitOrigin-RevId: 585e097f9b793ea657bde1d8fb58aac1ab8bfc05
- use console for non-production logging
- merge logging contexts
- log context separately
- indicate log level
- don't show undefined if no payload

GitOrigin-RevId: b05baa3f4bd7146b4b9887034e6067f6d1aab516
* fix: Folder click bug in Tokens Panel

* fix: registered token folders

* fix: feedback

GitOrigin-RevId: fc86e7bcf62244a1ff4ca8fc93bae6b256393f4d
* chore(animations): added requested changes from animations features pr

* chore(animation-sequence): show visibility section only for animation sequences

GitOrigin-RevId: 4b095009d5a0c079ddc51f87ec20718fcd4bb198
- Added `startTransaction`, what you should use for wrapping database queries in transactions now.
- Rewrite `withNext` to use `startTransaction` inside.
- Removed `withNext` for all route handlers that do NOT write to the DB.
- Rewrite `maybeTriggerPaywall`, which used to rely on `rejectTransaction`. Now callers are expected to call `rollbackTransaction` manually.
- Refactored usages of `maybeTriggerPaywall` and use `startTransaction` for them.
- Added tests for `startTransaction` to ensure it won't break if we accidentally nest transactions.

GitOrigin-RevId: 465ad20a763908fe6f56b1a442b7321f530a7d5a
…ant if … (#1760)

* fix: Style Token cannot use base override within a screen variant if that screen variant is imported

* fix: token indicator popover

* refactor: feedback

* feedback + fix CI

GitOrigin-RevId: ba2f77bc212767e717934be2dccbbf15d202ba86
…emoved (#1773)

GitOrigin-RevId: 077be0edff14055398040186c83f459fdbd948f2
…569)

* feature(plasmicpkgs): add new package cookie-consent

https://linear.app/plasmic/issue/PLA-12387/example-how-to-add-a-cookie-banner

GitOrigin-RevId: 50eaf6d3ea5300e755d9d3d368543d7b1db6825f
 - @plasmicpkgs/vanilla-cookieconsent@0.0.4

GitOrigin-RevId: aed54ca6b4ade8457b545b79647fff611ded221b
* chore: copilot showCopilotOverrideControls devflag added

* chore: data bindings project synced with new design and onChange added to admin overrides

* feat: copilotModelOverride and copilotSystemPromptOverride added to override copilot prompts

* chore: plasmic sync after publishing version

* refactor: named uiSystemPrompt to UI_SYSTEM_PROMPT

* refactor: requested changes

* refactor: removed unused isProvider

GitOrigin-RevId: 97b4a462c9f2c9e9ec22ff90b6d1573da5c0ddc8
GitOrigin-RevId: bcae6e7864ecfdfdab0dd56dc9c7b6ead83cae14
GitOrigin-RevId: 36c4bc05373c43f0bb9bc8456ceb33ebdca6d843
GitOrigin-RevId: ea3c65e617bfbf5037d34883b1cb1765d0ac1176
* refactor: split plasmicpkgs/plasmic-wordpress custom functions

* refactor: adjust wordpress package split

* refactor: clean up wordpress function unit tests

mend

* fix: minor wordpress integration improvements

* test: add plasmic-wordpress loader test

* fix: add README to plasmicpkgs/wordpress

Remove unnecessary dev package and accidental playwright report

* fix: wordpress package private export

* feat: add wordpress hostless package

* fix: improve typing in wordpress unit test

* fix: revert wordpress canvas-packages

GitOrigin-RevId: efdcf812d006bca618eccb9f2e81846079ffdb34
 - @plasmicpkgs/plasmic-wordpress@0.0.150
 - @plasmicpkgs/wordpress@0.0.2

GitOrigin-RevId: 271df799332249e475d73cb1414b5174c32bb0b8
GitOrigin-RevId: 6989fe8ce5819a8edd4b19ac3aafb56697498581
asimkhan73301 and others added 24 commits November 4, 2025 17:58
* fix(animations): add support for atomic,ordered,unordered merging logic for nullable arrays

* fix(animations): remove unnecessary isNullable check

* chore(branching): added test case for setting null animations

* fix(animations): remove explicit array type atomic merging

GitOrigin-RevId: 285a4f6d622a6bbbc2caa112f3ed23e3ffae1319
* feat: paste styles from copied element

* refactor: improve copied tpl style extraction

* feat: paste mixins from copied element

* feat: include mixins in original style copy/paste feature

* fix: avoid double pasting mixin styles

* refactor: address pr comment and general refactor

* fix: deduplicate mixins when styles are pasted

* fix: variant style copy bug

* fix: reuse copyStyle and fix bug in cmp style paste

* fix: make mixin paste work as expected

GitOrigin-RevId: ab6d0befab01d51a29848ba5980b3535093b8182
* feat: add contentful custom functions plasmicpkg

* fix: contentful circular reference detection

* e2e: add contentful loader test data

* fix: contentful loader test improvements

* fix: contentful query circular reference and disable loader test

GitOrigin-RevId: 6e7e64281d57000856f24e27c5bd1100822cb283
 - @plasmicpkgs/contentful@0.0.2
 - @plasmicpkgs/plasmic-contentful@0.0.171

GitOrigin-RevId: ae56da24d04738bd064d262fb78205d5162e4ab2
GitOrigin-RevId: dad0c9053074a5d9df29f002a14a9c923b6a7435
* chore(animations): plasmic sync changes for icons

* chore(animations): change icon to keyframes icon in left pane panel

GitOrigin-RevId: 845903cc11941193516f7c2541881aab9ee9bade
* feat: split plasmic-cms functions to cms

* feat: add namespace and displayname to cms functions

GitOrigin-RevId: 90343f43bcd8326cd1050b56eabda755ec779260
 - @plasmicpkgs/cms@0.0.2

GitOrigin-RevId: 321143c8400191ade22323400503db285443416b
- Update getCmsTableByIdentifier to filter out archived rows. This method is used by operations that return published data.
- Also updated the method to consistency return the oldest table, in case there are multiple tables with the same identifier. Currently we do not enforce table identifier uniqueness.

GitOrigin-RevId: 99fc6e326c827c954f5158347843adf0a35ac624
* refactor: created versions-tab directory

* refactor: RevisionsList, VersionsList and utils added

* feat: revert revisions functionality added

* refactor: project synced with plasmic synced

* feat: additional revisions changes

* refactor: project synced with plasmic sync

* chore: plasmic sync

* refactor: added functionality to VersionListItem and used VersionListItem in RevisionsList and VersionsList

* chore: plasmic sync

* refactor: RevisionsList and VersionsList selected and other edge cases added

* fix: added revisionId in switchToArena

* refactor: improved code, added revert diff to published versions, added loading

* chore: plasmic sync

* chore: cleaned unused images and fix ci issue

* fix: removed revisions key from LEFT_TAB_CONTENT_CREATOR_DEFAULT

* refactor: requested changes and improvements

* refactor: branchRevision in project location fix

* refactor: merged revision and pkg version state and common methods in studio ctx

* refactor: removed useRevisionDiffs and used useAsyncStrict instead

* refactor: Optimize revisions fetching: only fetch when tab visible and fetch incrementally

* fix: fixed publishVersion util function for cypress test for new UI

* refactor: updated selector for publishVersion after rebasing with master

* refactor: requested changes

* fix: filter createdAtGt fix in listProjectRevisions

* refactor: moved projectId filter outside conditionalWhereClause in getProjectRevision

* refactor: added  WithContextMenu to versionsList

* fix: missing tailing double quotes in revision for revision, removed quotes

* refactor: unmount version tab on close

* refactor: requested changes, removed manual revision refetch on  every change and used data from sockets on update

* refctor: revert icon aligned

* refactor: added 50 limit to Fe and added useMemo to revisions list in RevisionList

* refactor: added missing ApiUser import in RevisionsList

* refactor: requested changes

* refactor: refresh revsion on ProjectRevisionError to avoud duplicates

* refactor: refresh revisions on socket when published and removed explicit refresh revisions on publish

GitOrigin-RevId: b7de4298a3c6860cc1573461bd6152720563e8b5
GitOrigin-RevId: 814bc617e63e802f0e07686a53bf0639e9447de7
* [PLA-12452] e2e comment multiplayer test

test: add team for multiplayer test and refactoring

test: fix main multiplayer text and remove others

* test: add multiplayer cursor e2e test

add data-test-id for PlayerCursor

* fix: address PR comments and refactor

* refactor: improve playwright test stability

* fix: attempt to stabilize some playwright tests

GitOrigin-RevId: 97fb11f9f72be9e440b7c4e5334981481b152ad3
* fix(transform): add preserve-3d transform-style only if 3rd axis is changed

* chore(transforms): updated aria code component snapshot test

* chore(transforms): added unit test for has3dComponent

GitOrigin-RevId: 167571797980c07284e4ae9865626860ae213bd5
* sync [PlasmicKit] Continuous Deployment to latest
* hide unused "Send data?" field

GitOrigin-RevId: cd02ce9019dadaac270d08a98943932ec9583fe6
GitOrigin-RevId: ca4a0c5de9098df69ca0ffa4dbcecd7247f56ffe
… (#1859)

* feat(animations-preset): plasmic changes for adding import plasmic preset button in LeftPane project

* feat(animations-preset): add import preset animations logic

* feat(animations-preset): plasmic sync changes

GitOrigin-RevId: e415daa9d72d38da6410fc83b9cfd366618cb0d3
GitOrigin-RevId: 7ad0ba3c660f05c28404b147bed1786bcd6c2eb3
* fix: filtered and validated token on allowed units passed from DimTokenSelector

* refactor: removed token override for GeneralTokenEditModal and added LengthUnit type to checkAllowedUnits

* chore: added test for checkAllowedUnits

GitOrigin-RevId: 4f2dd0ec5ea56afac62705df0e5809cef3618ff3
* fix: improve sidebarmodal ui and refactoring

* refactor: replace sidebarmodal genId with useId

* refactor: switch from custom reducer to useReduce

GitOrigin-RevId: 77958a7a37460040386711f56be4f530b76841ac
…hes with breakpoints (#1869)

* refactor: changed ArenaFrameRow.cols arrayType from ordered to atomic to let the user decide when there's a conflict

* refactor: change ArenaFrameRow.cols to unordered with mergeKey frame.uuid, fix ordering and variants after merge

GitOrigin-RevId: 3a1e43d60ca4fdc3d46f20a094911945bf70554d
* fix: imported token overrides flakiness fix and refactor

* test: playwright devflags refactor to address flakiness

* test: global setup for playwright devflags

* fix: major playwright test refactor

* test: further playwright test stability improvements

* fix: consolidate playwright test setup and remove some waits

* fix: reenable host-app.spec.ts and further refactoring

* test: fix types and improve studio helpers

* test: more cleanup and further refinement of waits

* test: fix more locators and timeouts

GitOrigin-RevId: b7604b31bd3c9a5dcccec40b58329b54937cf296
@field123 field123 requested a review from Copilot November 19, 2025 16:39
@field123 field123 merged commit 5a67045 into master Nov 19, 2025
1 check passed
@field123 field123 review requested due to automatic review settings March 23, 2026 21:09
field123 added a commit that referenced this pull request Mar 27, 2026
…pe correction, arg validation

- $state. prefix stripping: buildActionArgs updateVariable strips accidental
  $state. prefix from variable arg to prevent $state.$state.x double-prefix (#47)
- Bare scope variable auto-correction: createAttrExpr detects props.x/state.x/ctx.x
  after $ stripping and re-adds the $ prefix with a warning (#31)
- $expr: rejection: createAttrExpr explicitly rejects $expr: prefix with clear
  error pointing to $expression or {{expression}} syntax (#54)
- customFunction arg validation: warns on unknown arg keys (#49)
- Event variable documentation: interaction.add tool description now documents
  that customFunction code has access to event, $state, $props, $ctx, $steps (#48)
- buildActionArgs returns { nameArgs, warnings } for warning propagation
field123 added a commit that referenced this pull request Mar 27, 2026
…on safety (#198)

* fix(plasmic-mcp): component removal state cleanup, implicit state visibility, cascade delete

- node.remove fallback path: call removeImplicitStatesAfterRemovingTplNode
  from @/wab/shared/core/states before manual splice for TplComponent nodes
  without parent pointers (#55)
- list-states: add includeImplicit parameter to expose implicit states
  created by TplComponent instances and variant groups (#56)
- component.delete with force: cascade-remove all TplComponent instances
  referencing the deleted component via TplQuery tryRemove({ deep: true })
  before calling TplMgr.removeComponent (#58)

* fix(plasmic-mcp): interaction & expression DX — prefix stripping, scope correction, arg validation

- $state. prefix stripping: buildActionArgs updateVariable strips accidental
  $state. prefix from variable arg to prevent $state.$state.x double-prefix (#47)
- Bare scope variable auto-correction: createAttrExpr detects props.x/state.x/ctx.x
  after $ stripping and re-adds the $ prefix with a warning (#31)
- $expr: rejection: createAttrExpr explicitly rejects $expr: prefix with clear
  error pointing to $expression or {{expression}} syntax (#54)
- customFunction arg validation: warns on unknown arg keys (#49)
- Event variable documentation: interaction.add tool description now documents
  that customFunction code has access to event, $state, $props, $ctx, $steps (#48)
- buildActionArgs returns { nameArgs, warnings } for warning propagation
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.

9 participants