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

Support User: Highlight Masterbar when active #2975

Merged
merged 4 commits into from
Feb 4, 2016

Conversation

jordwest
Copy link
Contributor

@jordwest jordwest commented Feb 2, 2016

When activating support user mode, the Masterbar is highlighted to remind you that you're not in a normal mode and could make changes that you didn't mean to.

Normal

support_user_normal

Support user active

support_user_active

@jordwest jordwest added [Status] In Progress [Feature Group] Support All things related to WordPress.com customer support. labels Feb 2, 2016
@jordwest jordwest self-assigned this Feb 2, 2016
@jordwest jordwest changed the title Add/support user/masterbar highlight Support User: Highlight Masterbar when active Feb 2, 2016
@jordwest jordwest force-pushed the add/support-user/masterbar-highlight branch from 105b1b3 to 4bf9a9c Compare February 2, 2016 04:21
@jordwest jordwest force-pushed the add/support-user/masterbar-highlight branch from 4bf9a9c to adea312 Compare February 2, 2016 05:21
@@ -9,6 +9,16 @@ import {
SUPPORT_USER_RESTORE,
} from 'state/action-types';

export function isSupportUser( state = false, action ) {
Copy link
Member

Choose a reason for hiding this comment

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

Should this be a selector instead?

@folletto
Copy link
Contributor

folletto commented Feb 2, 2016

It's in-progress, but just a drive by with a couple of notes on the current state:

  1. The shadow of the masterbar should match
  2. The "New" icon should turn orange too

@dllh
Copy link
Member

dllh commented Feb 3, 2016

I tested this a bit and it worked well in terms of highlighting the masterbar. I did see some js errors and some rendering weirdness, but we think that's unrelated to this set of changes, and we're going to track it separately. If we can get the other feedback addressed and ping for another review once fixes are in, I'd love to get this landed in short order.

@jordwest jordwest force-pushed the add/support-user/masterbar-highlight branch from 47ee5f8 to 95cec5e Compare February 3, 2016 04:55
@jordwest
Copy link
Contributor Author

jordwest commented Feb 3, 2016

@folletto: Good points, I've made those changes in 95cec5e:
screen shot 2016-02-03 at 2 58 49 pm

@jordwest jordwest added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. and removed [Status] In Progress labels Feb 3, 2016
@@ -145,6 +152,7 @@ export default connect(
const { isLoading, section, hasSidebar, chunkName } = state.ui;
return {
isLoading,
isSupportUser: isSupportUser( state ),
Copy link
Member

Choose a reason for hiding this comment

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

This looks much better to me, thanks.

@gwwar
Copy link
Contributor

gwwar commented Feb 4, 2016

🚢 tested on Chrome, FF, Safari.

@gwwar gwwar added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Feb 4, 2016
jordwest added a commit that referenced this pull request Feb 4, 2016
…ighlight

Support User: Highlight Masterbar when active
@jordwest jordwest merged commit 3e6815d into master Feb 4, 2016
@mtias mtias deleted the add/support-user/masterbar-highlight branch February 5, 2016 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Support All things related to WordPress.com customer support.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants