-
Notifications
You must be signed in to change notification settings - Fork 804
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/trunk' into add/react-data-sync-…
…client/react-query-devtools
- Loading branch information
Showing
117 changed files
with
2,119 additions
and
1,212 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
4 changes: 4 additions & 0 deletions
4
.../publicize-components/changelog/update-social-move-initial-state-from-social-to-publicize
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: changed | ||
|
||
Move initial state from Social plugin to publicize package |
4 changes: 4 additions & 0 deletions
4
...-packages/publicize-components/changelog/update-social-store-to-replace-get-site-selector
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: changed | ||
|
||
Replace getSite selector with getEntityRecord to avoid redundant API calls |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
20 changes: 2 additions & 18 deletions
20
projects/js-packages/publicize-components/src/social-store/selectors/index.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,13 @@ | ||
import { store as coreStore } from '@wordpress/core-data'; | ||
import { createRegistrySelector } from '@wordpress/data'; | ||
import * as connectionDataSelectors from './connection-data'; | ||
import * as pricingPageSelectors from './pricing-page'; | ||
import * as shareStatusSelectors from './share-status'; | ||
import * as sigSelectors from './social-image-generator'; | ||
import * as socialNoteSelectors from './social-notes'; | ||
import * as socialPluginSelectors from './social-plugin-settings'; | ||
import * as utmSelectors from './utm-settings'; | ||
|
||
/** | ||
* Returns whether the site settings are being saved. | ||
*/ | ||
export const isSavingSiteSettings = createRegistrySelector( select => () => { | ||
return select( coreStore ).isSavingEntityRecord( 'root', 'site', undefined ); | ||
} ); | ||
import * as socialSettingsSelectors from './social-settings'; | ||
|
||
const selectors = { | ||
...connectionDataSelectors, | ||
...shareStatusSelectors, | ||
isSavingSiteSettings, | ||
...sigSelectors, | ||
...utmSelectors, | ||
...socialNoteSelectors, | ||
...pricingPageSelectors, | ||
...socialPluginSelectors, | ||
...socialSettingsSelectors, | ||
}; | ||
|
||
export default selectors; |
19 changes: 0 additions & 19 deletions
19
projects/js-packages/publicize-components/src/social-store/selectors/pricing-page.ts
This file was deleted.
Oops, something went wrong.
This file contains 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
17 changes: 0 additions & 17 deletions
17
...cts/js-packages/publicize-components/src/social-store/selectors/social-image-generator.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.