Order cycle section feature branch
- As a: shopper
- On page: shopfront
- I want to be able to do: see when I need to select an order cycle or when there is a closing time for orders, but don't bug me with any detail on this unless this is the case.

OPEN OC
NO OPEN OC
Testing
Note: for each test, the design should look the same as the screenshots above.
NOTE: This functionality is being implemented on the existing design. Also, some of this functionality will already exist, you need to check to make sure it works as described and the copy displayed is the same as in the new design above.
_Mobile Closed Message_

_Tablet Closed Message_

_Desktop Closed Message_

Design details are kept in our Zeplin account: https://app.zeplin.io/project/59532764a6c78ff3c534b372/dashboard
-->
@Matt-Yorkley and @mkllnk I'm adding a note here as a just in case - I'm not sure this issue is needed as I think that all OC changes will be delivered in #4574. Once you get your heads around this part of the changes you can let me know if that's the case :)
@yukoosawa wanted to confirm the TBD bits I have above (I saw designs you'd done for this last time we chatted but they're not in zeplin and so I didn't want to assume anything) - you want the OC/shopfront generic closed grey box to display on the Home and Shop tabs (underneath the tabs, above the home tab copy) for desktop, tablet, and mobile, yes?
- [ ] When the OC doesn't close, don't display the closing copy (is this even possible?)
@yukoosawa just a heads up - there is ALWAYS an end date for an order cycle, a never-ending OC isn't built into the system yet. So, I'm removing this from scope for the mobile work and it can be considered as a separate need to be prioritised.
The OC closed message here includes the "Please wait until the next OC opens..." that is removed in #5216 if the enterprise has configured a closed message.
Basically 5216 defines that if there is text in the light gray area, the dark gray area will be shorter. If the darker gray area stays as per design there will be no text in the lighter gray area. In terms of design it will look quite different, isnt it?
closed shop WITHOUT enterprise closed message

closed shop WITH enterprise closed message

in the first case maybe we could do:

I'm agnostic, don't mind. Is possible your suggestion could confuse enterprise as looks like they have control over the text? But probably not. Either for me
@luisramos0 I think it's a good idea to have both the default closed message or the optional shopfront closed message displaying in the light grey area. Definitely. Please go ahead with that :)
re
Is it not already done?

regarding
is this not already done? (screenshot as is in prod today, PR #5262 will restyle the closed message, but the OC selector is already not there)

Doing this for private shops is represented in #4529.
so, I believe all that is missing here to close this issue is:

please correct me if I am wrong, thanks!
@luisramos0 so both the points in No OC open are done as part of #5262?
no, I think "When the order cycle is closed, remove dropdown and show closed message" is already in prod.
But the new styling of the closed message hasn't been implemented. That's what I'm assuming is in #5262, correct?
the new styling of the closed message is in #5262, it's in code review.
Great, then you are correct @luisramos0 馃帀

Tested, a few things:
NO OPEN OC
OPEN OC
Notes: https://docs.google.com/document/d/1wC42pMcgAAzqnVWBFW_Dm0MrTo5MOosZr_bBwjb56Wk/edit?usp=sharing
We still need PR #5262 before closing this issue.
Hey @daniellemoorhead thanks for testing!
I dont understand your doubt in the second point on NO OPEN OC, that was exactly the request in the description and it's accordingly designed in zeplin. I hope this is correct because it took some time to do. It's easy to revert though :-)
re point on OPEN OC, that's done and tested by you a few hours ago in #5348
so, the only point missing here is:
"the grey closed bar doesn't span the entire window on desktop (works fine on tablet and desktop)"
design:

what we have so far, only happens on screens larger than 1200px:

I cant expand the background color horizontally... see last screenshot on previous comment :point_up:
I'll ask for help on slack, basically:
@daniellemoorhead can we merge the PR as is and keep this issue open until we fix this thing? Merging the PR now will avoid conflicts.
@luisramos0 yes, I think merging is ok because the experience is still better than what we have now.
@yukoosawa and I will do a design sweep on the OC section in the coming week, so any tweaks required can happen as part of that.
Go right ahead and merge it!

thanks @daniellemoorhead
@sigmundpetersen I think we should use this issue to track the missing bit, right?
This issue is the last in the OC epic #4572 so when we close this issue we can close the epic.
Yep sure, I was just looking at the PR description saying it closes this.
But see now there were some more missing bits 馃憤
I think we close this @luisramos0, I'm doing a design sweep with @yukoosawa on the weekend for this epic and if anything comes up I'll be creating a new issue for it. So for now we close this one, because we'll be reviewing them all anyway :)
In terms of epic, leave it open for that design sweep work. I'll close it once a) the design sweep is finished, and then I'll move it to test ready so that b) we test that we achieved solving the problem.
ah, awesome :tada: