Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backup: provide additional disconnect info in backup plugin (#21421)
* Add initial structure to the disconnection dialog component to handle multiple steps and accept more props * Update disconnect step with output for connected plugins, add component to show connected plugins and Jetpack benefit information * Add content and styling to disconnect flow, intial handling for survey * Updated condition for when no connectedPlugins are provided, small style fix * Break out smaller components, add initialization for tracks * Update lock file after merging master * Fix filtering for connected plugins output, update comments * Design improvements, move control for opening DisconnectDialog outside the component * Update styles to use color variables, update JS unit tests * Update projects/js-packages/connection/components/disconnect-dialog/index.jsx Remove translation on default context prop in DisconnectDialog Co-authored-by: Jeremy Herve <[email protected]> * Update projects/js-packages/connection/components/disconnect-dialog/steps/step-disconnect.jsx Fix punctuation in support link Co-authored-by: Jeremy Herve <[email protected]> * Refactor CSS and documentation, small updates and fixes * Add changelog file for decorative card in components package * Update JS props docs for ConnectionStatusCard * Bump versions of connection and components packages * Cascading version bump * Small style fix for buttons in disconnectdialog component * Improve mobile styling for disconnect modal * Package version bump * Remove the assetBaseUrl prop for images, this is handled via the webpack config now * Update to use jetpack-config package to get the current plugin slug * Remove currentPlugin from propTypes of ConnectionStatusCard * Move logic to load the consumer_slug from the jetpackConfig to the DisconnectDialog component instead of passing through ConnectionStatusCard * Update projects/js-packages/connection/components/disconnect-card/index.jsx Co-authored-by: leogermani <[email protected]> * Fix propTypes and add story (#21680) * fix propTypes and add story * add the unlink story * use oneOf as proptype of icon * Update survey submission method * Disable the submit button when waiting on response from survey submission * Add context prop to ConnectCard component and improve analytics events * Package version bump * Version bump for components in licensing package * [not verified] Un-prettify JS file that does not need to be a part of this feature * Small adjustment in pnpm-lock file after pnpm-install * Update promise handling for survey submission and other feedback points * Upodate references to rna styles in scss to use base styles package * Use maxlength instead of max on custom survey response input * Remove unused assetBase prop from ConnectionStatusCard component * Pass connectedSiteId as a prop to the ConnectionStatusCard component * [not verified] Add connected plugins to initial JSX state, include analytics scripts, reconfigure inclusion of connected plugins in initial state * [not verified] Pass assetBaseUrl to the ConnectionStatusCard to be used for images in disconnect flow * [not verified] Remove the assetBaseUrl prop passed to the ConnectionCard component * [not verified] Added jetpackConfig to webpack file for the backups plugin, remove passed prop for currentPlugin * [not verified] Add context prop to the useConnection component for ConnectionCard * [not verified] Fix phpcs errors not caught in rebase conflicts * Load site ID in initial react state for the ConnectionStatusCard * [not verified] Add initial structure to the disconnection dialog component to handle multiple steps and accept more props * [not verified] Update disconnect step with output for connected plugins, add component to show connected plugins and Jetpack benefit information * Add content and styling to disconnect flow, intial handling for survey * [not verified] Updated condition for when no connectedPlugins are provided, small style fix * [not verified] Break out smaller components, add initialization for tracks * Update lock file after merging master * [not verified] Fix filtering for connected plugins output, update comments * Design improvements, move control for opening DisconnectDialog outside the component * Update styles to use color variables, update JS unit tests * [not verified] Update projects/js-packages/connection/components/disconnect-dialog/index.jsx Remove translation on default context prop in DisconnectDialog Co-authored-by: Jeremy Herve <[email protected]> * [not verified] Update projects/js-packages/connection/components/disconnect-dialog/steps/step-disconnect.jsx Fix punctuation in support link Co-authored-by: Jeremy Herve <[email protected]> * [not verified] Refactor CSS and documentation, small updates and fixes * [not verified] Add changelog file for decorative card in components package * [not verified] Update JS props docs for ConnectionStatusCard * Cascading version bump * [not verified] Small style fix for buttons in disconnectdialog component * [not verified] Improve mobile styling for disconnect modal * Package version bump * [not verified] Remove the assetBaseUrl prop for images, this is handled via the webpack config now * Update to use jetpack-config package to get the current plugin slug * [not verified] Remove currentPlugin from propTypes of ConnectionStatusCard * Move logic to load the consumer_slug from the jetpackConfig to the DisconnectDialog component instead of passing through ConnectionStatusCard * [not verified] Update projects/js-packages/connection/components/disconnect-card/index.jsx Co-authored-by: leogermani <[email protected]> * [not verified] Fix propTypes and add story (#21680) * fix propTypes and add story * add the unlink story * use oneOf as proptype of icon * [not verified] Update survey submission method * [not verified] Disable the submit button when waiting on response from survey submission * [not verified] Add context prop to ConnectCard component and improve analytics events * Package version bump * Version bump for components in licensing package * [not verified] Un-prettify JS file that does not need to be a part of this feature * [not verified] Update promise handling for survey submission and other feedback points * [not verified] Upodate references to rna styles in scss to use base styles package * [not verified] Use maxlength instead of max on custom survey response input * [not verified] Remove unused assetBase prop from ConnectionStatusCard component * [not verified] Pass connectedSiteId as a prop to the ConnectionStatusCard component * Fix package versions * [not verified] Jetpack: improve plugin disconnection flow (#20914) Co-authored-by: Ian Ramos <[email protected]> * Fix package versions * Add changelog entry * Undo some prettier changes to files that do not need to be a part of this PR * [not verified] Second attempt to undo some prettier changes for jetpack files that do not need to be part of this PR * Remove call to wp_set_script_translations that is handled by the assets utility * Remove duplicate webpack config key Co-authored-by: Jeremy Herve <[email protected]> Co-authored-by: leogermani <[email protected]> Co-authored-by: Ian Ramos <[email protected]> Co-authored-by: Samiff <[email protected]>
- Loading branch information