Skip to content

Commit

Permalink
Social | Migrate Social plugin settings to the new script-data (#40032)
Browse files Browse the repository at this point in the history
* Set up core-data entities for social plugin settings

* Pass the initial settings from backend

* Enhance ConnectionManagement to add disabled prop

* Use the new social plugin settings selector on social admin page

* Use the new social plugin settings selector for publicize toggle

* Update social notes toggle to use the new selector and avoid reloading page

* Add plugin_info to types

* Add changelog

* Update script-data site type

* Update composer.lock

* Fix JS unit tests

* Update composer.lock

* Fix empty settings when no user connection

* Improve type safety for core-data usage

* Update pnpm-lock.yaml

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11718279583

Upstream-Ref: Automattic/jetpack@368eb1d
  • Loading branch information
manzoorwanijk authored and matticbot committed Nov 7, 2024
1 parent 29c0fc7 commit 094503f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@automattic/jetpack-api": "^0.17.16",
"@automattic/jetpack-components": "^0.59.0-alpha",
"@automattic/jetpack-config": "^0.1.26",
"@automattic/jetpack-script-data": "^0.1.3",
"@automattic/jetpack-script-data": "^0.1.4-alpha",
"@wordpress/base-styles": "5.9.0",
"@wordpress/browserslist-config": "6.9.0",
"@wordpress/components": "28.9.0",
Expand Down

0 comments on commit 094503f

Please sign in to comment.