Skip to content

feat(onboarding): tone down starter-sites listing banners#479

Merged
ineagu merged 2 commits into
developmentfrom
feat/onboarding-tone-down-banners
Jun 22, 2026
Merged

feat(onboarding): tone down starter-sites listing banners#479
ineagu merged 2 commits into
developmentfrom
feat/onboarding-tone-down-banners

Conversation

@ineagu

@ineagu ineagu commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Tones down two intrusive banners on the onboarding "Choose a design" step.

1. The "80+ new starter sites" promo notice → removed, replaced with a subtle subtitle

The full-width brand-color promo block (added in #465) was too in-your-face. Removed it and kept the social proof as a quiet, always-visible subtitle under the heading:

Choose a design
Nearly 200 starter sites for every niche — fresh designs added regularly.

Removed: the OnboardingPromoNotice component + its SCSS, the SiteList mount, the style.scss import, and the dismiss AJAX handler / show-logic / localization in Admin.php, plus the e2e dismiss test.

2. The premium-upsell toast → compact + sharper copy

The bottom-right toast was a chunky 70px box. Made it compact (smaller padding/font, capped width ~340px, smaller logo, no fixed height) and rewrote the copy with a clearer CTA:

  • Before: "Unlock Access to all premium templates with Neve Business plan. Get Started."
  • After: "Unlock every premium template with Neve Business. Upgrade"

How to test

  1. yarn && yarn build (onboarding bundle; build/ is gitignored).
  2. Open Neve onboarding (≥992px). The "80+" block is gone; a muted subtitle sits under "Choose a design".
  3. As a non-Business user, the corner upsell toast is smaller with the new copy.

Note

should_show_business_agency_promo_text() + the onboardingShowProNoticeText localization only varied the removed notice's text — they're now unused. Left in place (with their unit tests) to keep this PR focused; can be pruned in a follow-up.

Copy/number for the subtitle ("Nearly 200… ") is easy to tweak — say the word.

Two banners on the "Choose a design" step were too intrusive.

1. Remove the full-width "80+ new starter sites" promo notice (added in
   #465) and keep the social proof as a quiet subtitle under the heading:
   "Nearly 200 starter sites for every niche — fresh designs added regularly."
   Removes the OnboardingPromoNotice component + SCSS, the SiteList mount,
   the style import, and the dismiss AJAX handler / show-logic / localization
   in Admin.php, plus the e2e dismiss test.

2. Make the premium-upsell toast compact (smaller padding/font, capped width,
   smaller logo, no fixed 70px height) and sharpen the copy:
   "Unlock every premium template with Neve Business. Upgrade"
   (was "Unlock Access to all premium templates with Neve Business plan.
   Get Started.").

Note: should_show_business_agency_promo_text() + the onboardingShowProNoticeText
localization are now unused (they only varied the removed notice's text); left
in place with their unit tests and can be pruned in a follow-up.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QrGf4K9upxDKhRPVCztoLs
@ineagu ineagu added enhancement Request to improve or optimize an existing feature or functionality in the project small (1-3h) This label is used for issues that can be completed within 3 hours or less. labels Jun 22, 2026
@pirate-bot

pirate-bot commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Plugin build for 7f00186 is ready 🛎️!

Applies the workflow-decided implementations for the two onboarding notices,
verified in a local wp-env Neve onboarding instance.

- Subtitle: copy -> "Nearly 200 starter sites across every niche, with dozens
  added recently." (truthful, evergreen). Fix a WCAG AA contrast failure:
  $secondary-text #848484 (~3.5:1) -> mix(...) ~#6E6D6D (~4.6:1); subtle
  weight-only emphasis on the count, plus a small-screen scale step.
- Upsell toast: two-line copy ("Unlock every premium template" /
  "Included with Neve Business. <See plans>"), white card, Neve mark scaled
  to 24px, role=status + accessible (type=button, aria-label) dismiss,
  focus-visible rings, reduced-motion, mobile full-width strip.
- Logo: add viewBox="0 0 40 40" to SVG.logo so it scales instead of cropping
  when constrained below 40px (fixes the clipped mark in the toast).
- phpcs: re-align the const block after the promo-notice constant removal.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QrGf4K9upxDKhRPVCztoLs
@ineagu ineagu requested a review from HardeepAsrani June 22, 2026 15:21
@HardeepAsrani HardeepAsrani changed the base branch from master to development June 22, 2026 15:22
@HardeepAsrani HardeepAsrani added the pr-checklist-skip Allow this Pull Request to skip checklist. label Jun 22, 2026
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Jun 22, 2026
@ineagu ineagu merged commit 17e3e13 into development Jun 22, 2026
7 of 9 checks passed
@ineagu ineagu deleted the feat/onboarding-tone-down-banners branch June 22, 2026 15:31
@pirate-bot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Request to improve or optimize an existing feature or functionality in the project pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist. released Indicate that an issue has been resolved and released in a particular version of the product. small (1-3h) This label is used for issues that can be completed within 3 hours or less.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants