Fix editing of scheduled post date minds#4790
Ticket(s) / Related Merge Requests
Summary of Changes
Fixes the editing of the date of a scheduled post.
Testing Considerations
-
I can make a non-scheduled post and on refresh the post is not scheduled. -
I can edit the text of a non-scheduled post and on refresh the post is not scheduled, and the text is updated. -
I can make a scheduled post and on refresh the post is scheduled. -
I can change the date of a scheduled post, and on refresh the scheduled date it updated. -
I can change the date AND text of a scheduled post, and on refresh the scheduled date and text are updated. -
I can change the text of a scheduled post, and on refresh the text is updated, but the scheduled date is not.
Deployment Considerations
Standard deployment.
Regression Scope
Scheduled post and post editing.
Platform Affected (web, mobile, etc)
Web.
Developer Testing Completed
Manual, unit (phpspec).
Screenshots / Screen Recording
I can make a non-scheduled post and on refresh the post is not scheduled.
simplescreenrecorder-2024-08-21_15.21.43
I can edit the text of a non-scheduled post and on refresh the post is not scheduled, and the text is updated.
simplescreenrecorder-2024-08-21_15.22.08
I can make a scheduled post and on refresh the post is scheduled.
simplescreenrecorder-2024-08-21_15.22.29
I can change the date of a scheduled post, and on refresh the scheduled date it updated.
simplescreenrecorder-2024-08-21_15.22.53
I can change the date AND text of a scheduled post, and on refresh the scheduled date and text are updated.
simplescreenrecorder-2024-08-21_15.23.19
I can change the text of a scheduled post, and on refresh the text is updated, but the scheduled date is not.
simplescreenrecorder-2024-08-21_15.23.47
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out
Edited by Ben