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
[WIP] Scheduled statuses #404
Conversation
@@ -12,7 +12,8 @@ | |||
"Sortable": "~1.0.0", | |||
"animate-sass": "~0.6.2", | |||
"moment": "~2.8.4", | |||
"livestampjs": "~1.1.2" | |||
"livestampjs": "~1.1.2", | |||
"bootstrap-datepicker": "1.3.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be ~1.3.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember doing this after realising I'd forgotten - but I know why now. The tilde character in OSX is a modifier and if you don't provide a character to modify the ~ will disappear.
I'm wondering if we should actually split the scheduled statuses into a different page? The reason for this is that scheduled statuses wouldn't likely have a status - you'd use them for maintenance etc. The other way is when a |
CC @cachethq/owners |
@@ -48,7 +48,7 @@ public function showIndex() | |||
|
|||
foreach (range(0, $incidentDays) as $i) { | |||
$date = $startDate->copy()->subDays($i); | |||
$incidents = Incident::whereBetween('created_at', [ | |||
$incidents = Incident::notScheduled()->whereBetween('created_at', [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will disappear the status once the published date is today, we need a way to put it back to the normal flow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use the published_at
date on the where here.
594b583
to
ca158cf
Compare
Also, we should offer scheduled incidents at a certain time. |
04d2f03
to
4a0920c
Compare
Rebased. |
I'm going to move scheduled statuses into a new form, rather than dirtying the existing one. |
@GrahamCampbell what's going on with your Markdown package? |
I told you this already. You need to clear out your composer cache. It's using a version that doesn't even exist. |
I did. |
Did you run these commands?
NB, composer update doesn't cut it because composer is stupid. |
b180f37
to
766d40d
Compare
I rebased |
b8e97d1
to
da1c78f
Compare
da1c78f
to
5d9860e
Compare
Rebased. |
fc83116
to
857822e
Compare
I've messed up a rebase here and lost a few things from |
publish_at
date doesn't get stored.publish_at
as they docreated_at
- optional?