* added first draft for releases scheduling
* update: scheduled date is made Date or nullable, tests updated for scheduling fields
* fix: pass scheduled date null on edit unchecking the option
* fix: dirty check added for disabling save button
* timezone hook added to generate list of timezone options
* update: timezone added in payload to save in DB
* update: removed grouping and sorting of timezones, keeping simple UTC+/-HH:00 <timezone> format
* fix: removing unnecessary code
* update: creating new release should show schedule by default
* minor change
* tests: queryByRole replaced with getByRole query
* update: use date-fns format functions instead of manually formattingdates, future flag added on front for Scheduling till beta release, test cases updated
* fix: comment added
* minor change
* fix: reverting merging change
* fix: scheduledAt and timezone types updated to be null instead of undefined to keep it consistent
* fix: converted utc to zoned time to update correct time on editing the release
* fix: handled validation on submit, always enable submit, timezone list updated based on selected date
* update: default timezone set, tests updated
* update: selecting date during DST updates the timezone selected and list, TS errors fixed
* fix: timezone display value updated
* fix: e2e tests
* update: e2e added for scheduling info
* fix: minor change
* fix: schema validation reverted, tests updated for findBy
* fix(content-manager): check if the editor ref is already in place and avoid to create a new one on drag
* fix(content-manager): codemirror cleanup on re rendering and change the way we select the temp key value
resolves#17858resolves#18939resolves#18701resolves#17858closes#18532
Co-Authored-By: Jasper Hartong <47074382+jasperhartong@users.noreply.github.com>
---------
Co-authored-by: Jasper Hartong <47074382+jasperhartong@users.noreply.github.com>
* feat(content-releases): first draft implementation PurchaseContentReleases
* feat(content-releases): remove useless custom icon
* feat(content-releases): fix typo and remove useless destructuring
* feat(content-releases): add Icon as children and ignore the ts error
* feat(content-releases): use badgeContent to show lock icon
* feat(content-releases): change the typescript comment to avoid type errors
* docs(content-releases): add frontend docs
* docs(content-releases): change some content based on review' comments
* docs(content-releases): rewrite some parts and change file names
* docs(content-releases): small fix