-
Notifications
You must be signed in to change notification settings - Fork 834
Uses the banner component to display an upgrade notice. #6189
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
Conversation
@MichaelArestad the checkbox style in the screenshot above don't match Calypso. Is that because @zinigor is not a Mac user? Checkboxes are styled appropriately on my system. |
@rickybanister I don't know. Do all checkboxes in JP look like that @zinigor? |
@rickybanister @MichaelArestad the checkboxes look like that in Firefox for iOS |
I guess our Calypso form styles target webkit only? |
@rickybanister I don't think so. Some browsers don't let these things get styled too much. Looks like we are prefixed for moz, webkit, and modern browsers. |
Okay. Let's workshop the copy and the number of banners. List of things to promote by section: Writing
Security
Traffic
Banner copyPremium videoPremium video will be the easiest to deal with since it's the only upgrade available in the Writing section. I'm not thrilled with the subtitle, so suggestions super welcome. This will be a banner related to the Premium plan. It will be attached to the Media group at the bottom. Title: Add premium video |
CC @ashleighaxios for copy suggestions as we move forward with these. |
Security sectionWhen on the free plan, something like this maybe: When on the personal plan, remove the line about antispam. When on Premium or above, don't show it at all. This is up for discussion since one could upgrade from premium to business, but I'm not sure we should show a banner at that level |
Another thing to consider: we can make these dismissible. Should we? |
I'm not sure dismissible helps in the same ways that the JITMs disappeared and we had no sensible way of bringing them back. I'm happy to open up the debate though. For reference, the banners on .com are not dismissible. One other thought, we should make the banners color-coded to the plans they represent. Each plan has a color: |
@rickybanister I don't have a great solution for that since in both combo banners, they aren't all really in one plan. For example, you can get antispam in the personal, but have to get premium to get the rest. I lean toward making it look like premium. I doubt the user will know or care since the only visual difference is the pen and a border. |
Fixed the GUI tests that were throwing an error
and then not running due to a missing property
Opened a PR to fix issues found while |
The banners included in this PR should not be visible when the site is in dev mode because they pass a not connected site as parameter and go to a URL like Even if they're visible, maybe they should have a different link. |
@eliorivero: It wasn't intentional in the sense that I wasn't aware of it but we should keep the link with this modification: Point the link towards the same URL but without the
we just do
|
@MichaelArestad and @rickybanister -- these are looking cool but we need to add a call to action of some sort. A button or a link: |
@richardmuscat The whole thing is a button/link and the first line in each one is a CTA |
Can you rebase this so we can test this without the build failing/warnings? |
2215d6a
to
169fcbd
Compare
@MichaelArestad I've rebased this |
@MichaelArestad Yes but it doesn't _look_ like a button/link/CTA.
It needs to look like there's something to click on so that people are attracted to it and think to click on it. Otherwise there's not much point to the whole component :-)
Richard
… On 20 Feb 2017, at 14:55, Michael Arestad ***@***.***> wrote:
@richardmuscat The whole thing is a button/link and the first line in each one is a CTA
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@richardmuscat that component has been working pretty well as is in Calypso. There is a CTA. It's already a flash of blue with a fancy image in a sea of white cards. We can add a button in the next iteration or a future PR. I want to get this thing in as is first (assuming I can get this to build properly). |
There are some display bugs on the Banner component, but that's unrelated to this PR. This looks good to go as a first pass. |
Uses the new banner component introduced in the dops-component companion PR to display a POC notice that is only shown to users with a free plan.
Update:
I have rebased the PR, fixed lint errors in the current code. The banners now look like this:
VideoPress

Backups and Scan

Traffic

To test
After this line add the following:
planClass = 'is-premium-plan';
planClass = 'is-business-plan';
planClass = 'is-personal-plan';