* 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
* feat(content-releases): Add new scheduling service
* feat(content-releases): add scheduledAt to releases contentType and request
* fix unit tests
* change release type
* first implementation details page
* refactor code based on comments received
* move the countDays function inside the ReleaseDetails page
* fix unit tests for the Details page
* add padding bottom heading
* fix type errors
* integrate new fields to the Details page
* fix types
* change the way we handle the timepassed since release creation
* fix unit test
* fix review comments
* unit test control table content
* fix review comments
* remove mocking useParams
* refactor provideTags and invalidateTags
* improves in rtk tags and createdBy type
* fix last review comments
* increase warning timeout to solve issues with unit tests
* add AnErrorOccured content if we have errors
* fix type error
* fix condition
* remove new line
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
* feat(content-releases): delete a release endpoint
* feat(content-releases): delete actions when deleting a release
* feat(content-releases): apply mark's feedback
* feat(content-releases): use transaction for delete a release
* first draft implementation Releases page
* fix some comments
* refactor releases page and its logic
* add a more readable comment
* fix rtk transformResponse return type
* add unit test changing tab
* add unit test with mixed content
* fix type response error
* remove log
* fix review comments
* fix review comments
* reduce releases page unit test code
* test AddReleaseDialog
* remove useless mocked data and fix comments syntax
* refactor releases filters
* remove empty line
* add TODO
* feature(content-releases): Add update release service/endpoint
* chore(Content-releases): create update release contract
* chore(content-releases): Add right type to params id
* draft implementation details header
* implementation details ui with mock data
* fix unit tests
* fix fernando comments
* update pages structure
* first raw implementation store with rtk
* refactor(releases): redux toolkit query work
* rename releases page
* merge feature/content-releases
* test(releases): setup test harness for working with the admin app (#18817)
* test(releases): setup test harness for working with the admin app
* chore: remove file that shouldn't be here
* rename releases page
* merge "content-releases/release-details-redirect-after-creation"
* test(releases): setup test harness for working with the admin app
* rename releases page
* merge "content-releases/release-details-redirect-after-creation"
---------
Co-authored-by: Simone Taeggi <startae14@gmail.com>
* fix Fernando's review comments
---------
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>