-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Launch Bar: Implement new design of the front-end launch bar. #56769
Comments
@ollierozdarz @ianstewart a couple of questions:
Does that seem reasonable? Also, the one redeeming quality of the original version is that it clearly tells the user that their site is not launched – that's not at all obvious in the new version (particularly for a new user that doesn't really know what that means). Should we have a short description, or other treatment to make it more understandable? |
@kwight nice work! That sums it up perfectly. While we're not telling the user their site isn't launched in a paragraph, I'm happy to ride it out to see what a different providing these options make. I think it's too early to push launching so heavily (as we've been doing) in this bar, so I'm happy if we capitalize on that later in the flow (i.e. through Launchpad or My Home). |
Made good progress on this this week and it's just about done. WIP diff is up at D68102-code. Remaining work is to implement the icons and the somewhat fiddly work around whether to display/link to edit post vs page. |
Diff is now ready for review at D68102-code. I left a question for @ollierozdarz on Slack regarding the bar's behavior post-launch, to wit:
|
(Per conversation with Kirk - going to do further work around this, setting up a blog sticker feature flag and doing some other cleanup around Tracks events and other code modernizations.) (Also Ollie has affirmed the behavior mentioned above for already-launched Coming Soon sites.) |
@ollierozdarz For the |
@kwight, I've dropped a screenshot below. I'm don't think we should try to emulate what's in the Editor (your screenshot) since that looks a little off to me. For the launch bar updates, I've given it a 20px margin to the left and right of the launch banner, then 6px between the chevron and label. Note: I also considered matching the admin bar above, but it's far too tight. |
Order or work:
The nonce fixing can happen at any point after step 2. |
1 - D68351-code I have also added a diff at D68364-code which addresses 3 and 5 simultaneously, as it seemed easiest to do them both at the same time. (This is not ready for testing until D68102 is merged. I can also update it so 3 and 5 are separate commits if we would prefer.) Once that is approved, the way should be clear for 4 and 6 to be completed. I can start working on Tracks stuff, since @kwight, you said you were going to do the dismissal behavior. @andres-blanco is going to work on fixing nonce checking and other PHP linting errors once D68102 is merged as well. |
@ianstewart @ollierozdarz How would we like to handle dismissal? As it is right now, the dismissal only lasts for the current page load, because it's not persisted in any way. Would you like to keep it that way (seems kinda pointless to me), or we could dismiss it for a week, or month maybe? |
The nonce checks flagged by the linter are all checks to return early; we don't need to add any nonce behaviour in this case. |
My 2c on dismissal would be to have it persistent in some way. I'm not fussy on how long - but a week seems reasonable. If we're reminding users weekly that launching is a good idea - that seems reasonable. |
Because this now houses some really handy actions, I'd say something along the lines of dismissal only lasts for their current session (if that's an option?). |
What's your definition of a session? Cookie options are the following as defined in MDN:
We could just leave it as-is: persist only for the current page load (this just always feels like the worst option to me – refresh the page, it's back again). I'm happy to do whatever others think is best, but let's decide today so that we have time to do it before next week's testing and launch. |
@ollierozdarz The chevron was fixed in D68431-code. 👍 |
Leave as-is is great for launch. Improving it can be a separate issue. Not sure about other time lengths for session. 2–4 hours? Not longer than 12. |
I've gone ahead and opened a task/checklist for testing the launch bar across our recommended themes: I'm figuring we can hold off on this until the work is finalised? |
Oh, I'd say sooner is better (it's 98% there already) – go for it! |
This was deployed to Simple sites today. The last remaining tasks to close this umbrella issue are:
|
Have tested this across all our recommended themes - with only thing to note. Not even really a bug - just an oddity in the way the fixed menu of Rockfield is managed. |
This was deployed to Atomic sites today, wrapping up the project. ✨ |
Blogger Flow v1: Launch Bar on Front-End
This is iteration 5 in production of Blogger Flow v1. 👏
As part of the Blogger Experience pod, @ollierozdarz has tweaked the design for the front-end launch bar.
The My Home link is technically a duplication of the My Sites button, but may assist users getting to where they need to be.
Details
Project Thread: pdgK6S-78-p2
Figma designs
This is iteration 5: pdgK6S-78-p2 /#launch-bar
User Facing Specs (also verify against specs in the Project Thread):
x
) will remain the same.Dev Checklist
List out tech tasks and/or PRs that will fulfill the criteria above
wp-content/blog-plugins/launch-banner/
. D68364-codeanchor-fm-dev
sticker and blog RC integration). D68351-codePersist the dismissal choice. D68402-codeAdd nonce checks. Launch Bar: Implement new design of the front-end launch bar. #56769 (comment)wpcomsh
code. See: pdgK6S-ck-p2button
property). D68473-codeRelated
Blogger Experience Goals: p9Jlb4-2Sr-p2
Blogger Flow v1: p9Jlb4-31T-p2
Figma designs
The text was updated successfully, but these errors were encountered: