Skip to content

Feature/gphwpp 4432 move jetpack and login to core - #920

Open
peperuda-dev wants to merge 16 commits into
developfrom
feature/GPHWPP-4432-move-jetpack-and-login-to-core
Open

peperuda-dev wants to merge 16 commits into
developfrom
feature/GPHWPP-4432-move-jetpack-and-login-to-core

Conversation

@peperuda-dev

@peperuda-dev peperuda-dev commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Description

Checklist

  • Acceptance Criteria are fulfilled (or there is no ticket)
  • tests added if necessary
  • docs added if necessary

Screenshots / Recordings

If the ui was changed by PR please provide a screenshot

manual testing

  • done / trivial change (docs, ...)
  • requested
    Please replace this line with instructions on how to test your changes

Reviewer checklist

  • if requested manual testing done
  • sufficient tests
  • sufficient docs
  • general Code Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the login branding/tracking and Jetpack backup coupon flow functionality from the ionos-essentials plugin into the ionos-core mu-plugin, while adding guards in ionos-essentials to avoid double-loading when ionos-core provides the same features.

Changes:

  • Add ionos-core login module (PHP enqueue + header branding, plus JS tracking + CSS styling) and an accompanying Playwright E2E test.
  • Add ionos-core Jetpack flow module (admin flow + assets + README) and load it from ionos-core.php.
  • Add “already loaded” guards to ionos-essentials login + Jetpack flow modules.

Reviewed changes

Copilot reviewed 10 out of 18 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
packages/wp-plugin/ionos-essentials/ionos-essentials/inc/login/index.php Adds guard to skip if core already loaded; adjusts tenant-logo URL generation.
packages/wp-plugin/ionos-essentials/ionos-essentials/inc/jetpack-flow/index.php Adds guard to skip if core already loaded.
packages/wp-mu-plugin/ionos-core/ionos-core/src/login/index.js New login JS to track SSO clicks via REST endpoint.
packages/wp-mu-plugin/ionos-core/ionos-core/src/login/index.css New login CSS for header/logo styling.
packages/wp-mu-plugin/ionos-core/ionos-core/login/index.php New login PHP to enqueue assets and inject branded header.
packages/wp-mu-plugin/ionos-core/ionos-core/login/tests/e2e/login.spec.js New Playwright E2E test for login branding and console errors.
packages/wp-mu-plugin/ionos-core/ionos-core/login/assets/tenant-logos/*.svg Adds tenant logo assets for login header branding.
packages/wp-mu-plugin/ionos-core/ionos-core/jetpack-flow/index.php New Jetpack backup coupon flow implementation in core.
packages/wp-mu-plugin/ionos-core/ionos-core/jetpack-flow/assets/flow.css New styling for the Jetpack flow admin UI.
packages/wp-mu-plugin/ionos-core/ionos-core/jetpack-flow/assets/jetpack-logo.svg Adds Jetpack logo asset used by the flow UI.
packages/wp-mu-plugin/ionos-core/ionos-core/jetpack-flow/README.md Adds developer documentation for the Jetpack flow.
packages/wp-mu-plugin/ionos-core/ionos-core.php Defines core plugin constants, adds _is_plugin_active(), and loads jetpack-flow/login modules.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/wp-mu-plugin/ionos-core/ionos-core/login/index.php Outdated
Comment thread packages/wp-mu-plugin/ionos-core/ionos-core/src/login/index.js
Comment thread packages/wp-mu-plugin/ionos-core/ionos-core/jetpack-flow/index.php Outdated
Comment thread packages/wp-mu-plugin/ionos-core/ionos-core/jetpack-flow/index.php
Comment thread packages/wp-mu-plugin/ionos-core/ionos-core/jetpack-flow/index.php Outdated
Comment thread packages/wp-mu-plugin/ionos-core/ionos-core.php
peperuda-dev and others added 12 commits August 20, 2026 11:01
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
if (! function_exists('delete_plugins')) {
require_once ABSPATH . 'wp-admin/includes/plugin.php';
}
\delete_plugins([ESSENTIALS_PLUGIN]);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is definitely not the wanted behavior.
https://hosting-jira.1and1.org/browse/GPHWPP-4429 would be solved by deleting assistant, but please not essentials as it's supposed to work next to core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants