fix(ux): allow for empty message upon episode publication and warn user on submit

- clarify distiction between the announcement post and the show notes
- change "note" occurences in UI by "post"
- show warning message explaining why the podcaster should fill the message area
- the podcaster
can choose to publish the episode with an empty message anyways
- redirect user to episode
dashboard with error message when episode publication pages are inaccessible instead of showing a
404 error
- add a cancel publication button in publish-edit form when episode is scheduled

closes #129
This commit is contained in:
Yassine Doghri 2021-06-22 17:59:33 +00:00
commit 33d01b8d4f
No known key found for this signature in database
GPG key ID: 3E7F89498B960C9F
12 changed files with 300 additions and 140 deletions

View file

@ -81,7 +81,7 @@ class StatusModel extends UuidModel
*/
protected $validationRules = [
'actor_id' => 'required',
'message_html' => 'required_without[reblog_of_id]|max_length[500]',
'message_html' => 'max_length[500]',
];
/**