liquidweb / wme

3 stars 1 forks source link

Feature: wp admin colors refactor #200

Closed defunctl closed 1 year ago

defunctl commented 1 year ago

Ticket: https://moderntribe.atlassian.net/browse/SITE-150

This adds the following features:

  1. Adds a Service Provider implementation that works with the StellarWP container.
  2. Tracks if a user has logged in for the first time (this tracks the state as of now, I can add additional logic/a cli command to set all existing users to have logged in, if needed).
  3. If this is considered their first log in, set their admin color scheme.
  4. Bugfix from https://github.com/moderntribe/wme/pull/201 to make e2e tests pass.

QA

  1. Pull down this branch.
  2. Log in to the dashboard, and if your current color scheme isn't already set to the sitebuilder theme, it will be.
  3. Future log in's after that initial one will no longer change the color scheme, if the user changed away from our theme after the fact.

image

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: 1d8b7c9cde8900249d9c5fb7732d7d36935de318

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR