Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themes: sheet Support logic changes to include Jetpack #11263

Closed
folletto opened this issue Feb 8, 2017 · 1 comment
Closed

Themes: sheet Support logic changes to include Jetpack #11263

folletto opened this issue Feb 8, 2017 · 1 comment
Assignees
Labels
[Feature Group] Appearance & Themes Features related to the appearance of sites. [Type] Enhancement

Comments

@folletto
Copy link
Contributor

folletto commented Feb 8, 2017

The blocks in "Support" should follow this logic:

  1. Contact us — shown only if “Paid” and “Not Jetpack”
  2. Theme forum (Premium) — shown only if “Premium theme”
  3. Theme forum (general) — shown only if “.com theme” and “not Premium theme”
  4. CSS Support — shown only if “.com theme”

/ht @annezazuu @andrewspittle @jeherve @rachelsquirrel

@folletto
Copy link
Contributor Author

Done in #11294.

For future reference, we did some minor clarifications to the logic:

  • If isCurrentUserPaid and not isJetpack → show "Contact us"
  • If the theme has forumUrl and:
    • isPremium → theme shop forum
    • not isPremium → volunteer and staff forum
  • If the theme isWpcomTheme → show "CSS Support" (both for .com and JP sites)

Also we added:

  • If the user is isLoggedIn but none of the conditions above → show "Unsupported"
  • If the user is not isLoggedIn → show "Have a question"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Appearance & Themes Features related to the appearance of sites. [Type] Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant