-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update/at a glance unify connection ctas (#39585)
* Unify connection notices on At A Glance * changelog * Fix nudges on settings page * Fix tests
- Loading branch information
1 parent
db84164
commit a6f01b4
Showing
9 changed files
with
149 additions
and
73 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
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
27 changes: 27 additions & 0 deletions
27
projects/plugins/jetpack/_inc/client/components/connect-button/test/fixtures.js
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,27 @@ | ||
/** | ||
* Build an object that can be used as a Redux store initial state. | ||
* | ||
* @return {object} – initial Redux state | ||
*/ | ||
export function buildInitialState() { | ||
return { | ||
jetpack: { | ||
initialState: { | ||
userData: { | ||
currentUser: { | ||
permissions: { | ||
manage_modules: true, | ||
}, | ||
}, | ||
}, | ||
}, | ||
connection: { | ||
user: { | ||
currentUser: { | ||
isConnected: true, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}; | ||
} |
4 changes: 4 additions & 0 deletions
4
projects/plugins/jetpack/changelog/update-at-a-glance-unify-connection-ctas
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: other | ||
|
||
Unify connection related CTAs on At A Glance |
Oops, something went wrong.