Stéphane Monnot
Stéphane Monnot
Good idea ! Actually, the differents status are hard coded, maybe need a little refactoring. Why not a `markAs` method with a parameter ? Personally I prefer it, I don't...
@hootlex I think `$post->markNotForChildren()` (status = not_for_children), like the `markPending` method ( See [call magic method](http://php.net/manual/en/language.oop5.overloading.php#object.call) ).
Maybe status are better in database (eloquent model), because: - we could use eloquent relationships with others tables - if one day I want to remove a status, I will...
Yes, I agree, that's a bit overkill. As a first step, we should use config files.
Good idea ! @hootlex, what do you think ?
I think this would be better to sort outside the component, in javascript on client side before passing props to Timeline component or on server side.
Sorry for the delay. You can propose a PR if you want.
Yes you can. I will add Licence file soon. Sorry for the inconvenience.