Conversation
JITM: first commit - adding css comment
…tyles JITMS: cleaning up some spaces and indents within the original jitm styles
JITM: importing some scss partials into the JITM scss file
JITMS: migrating proper styles from dops-components to jetpack. Since they live outside of react, I still need to clean and streamline the styles specifically for these new JITMs though.
JITM: beginning to clean up some of the new JITMS styles
JITM: adding dismiss ability to new banners
JITMS: converting applicable PXs into REMs (margins, padding, etc)
|
@jeffgolenski don't worry about actually updating the individual markup for each type of JITM. Your examples will work great and I'll just merge this into my new JITM branch. |
|
@withinboredom Sounds good. now that I've cleared out the other priorities from last week I'll be continuing a long with this. I've got a little more code to clean up and some styles to add for a 3rd banner style and then we'll be gold. |
JITMs: updating one of the current JITMs to new styling
JITMs: removing a sample JITM
|
@jessefriedman @richardmuscat Can you take a look at the example images above and let me know if you have any questions? They're very flexible and still very subtle.. most importantly, they adapt to the content on the fly (As described above) and are based on the calypso banners. Give me the thumbs up and I'll replace all the old JITM style code to match these. Then @withinboredom can do his thing. |
|
They look excellent As for the border color on the left, did you have ideas on what those colors could mean? Or were you just showing examples? As for the fixed width button even super short cta's can translate to long text, how will these compensate? Have you tested them in tight quarters like the left hand side of the media uploader? |
My thoughts here were just to bring over the functionality of the calypso banners. If we decide we want to swap the colors we can... but we need to keep in mind that specific colors are related to plan upgrade nudges... so if we're staying away from those type of JITMS I recommend sticking with the green border.
Long text is fine, provided its one word. If the CTA buttons are multiple words then we can't control line break—and nor should we be mico-managing the design like that... the jitms and buttons within them will still function just fine either way.
Still doing some testing. Will report back tomorrow. Just wanted to make sure everyone was okay with the visual direction here. |
|
Great Jeff, in that case these are gtg from me. Great job. |
JITMs: adding new styles to VP jitm after a post is made
JITMS: styling new woo JITM
|
Revised woo JITM: |
|
Alright @withinboredom - I think we're good to go on my end here. All the styling is setup. Once you employ your new method of triggering these JITMs I can do some more testing and cleanup if need be. |
|
@dereksmart I tweaked the format of the JITMS for a few existing jitms. Can you give the code a once-over and make sure I didn't screw up any of the tracks data you put in? |
|
@avivapinchas @MarinaWoo the styling has changed on the JITMs, perhaps a copy change is warranted as well? (See #7117 (comment)) The new styling looks to allow for a bolder title with text underneath. What should the WCS JITMs say differently, if anything? Here's a backup one, for reference: #7117 (comment) |
|
I'd edit to:
|
|
@jeffgolenski do you mind if I sneak in a copy change for our JITM here? |
|
@jeffstieler have at it jeffrey! |
|
It looks like there's more than styling tweaks here (I'm seeing some different tracking code as well) - I'm going to hold off on making the copy changes until I have more time to grok everything that's been changed in the JITMs. 👍 |
|
@jeffgolenski the |
Precisely. Unless we make a huge push to load gridicons everywhere. It's a very similar |
|
Looks great. Tracks are still sending correctly. @withinboredom you can incorporate tracks into the following PR with these data attributes in a link element: Code that tracks it is here |
|
Implemented in #7058 |





Adding 2 new JITM styles and cleaning up the original JITM
To do:
Current JITM style example:

New JITM style examples:

*Work well on mobile
Important to note that the CTA buttons have a max width in order to be easier to predict and control how they'll be displayed on various screen sizes—which can bump the button text to two lines if its long. We should try and re-word some of the JITMS so the button is one word and most of the verbs are in the description.
TO TEST:
yousite.com/wp-admin/update-core.phpwhere the sample JITMs sit ** Ensure VaultPress is deactivated to see these particular JITMsyoursite.com/wp-admin/edit.php?post_type=shop_orderwhen woo commerce is installed.** If you've dismissed JITMs in the past and no longer see them, you'll need to reset your JITM options. Do so by SSH'ing into your sandbox and clearing them with
cd public_htmland thenwp jetpack options delete hide_jitm