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 744373a commit 8e811f1
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 81 deletions.
56 changes: 28 additions & 28 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"validate": "pnpm exec validate-es build/"
},
"dependencies": {
"@automattic/jetpack-script-data": "^0.1.3",
"@automattic/jetpack-script-data": "^0.1.4-alpha",
"react": "18.3.1"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 8e811f1

Please sign in to comment.