10 Commits

Author SHA1 Message Date
Fernando Chávez
bb1abb3cc9
feat(content-releases): Using useDocument for validations (#19222)
* feat(content-releases): introducing useDocument

* improve useDocument

* change useDocument to return a validate fn

* apply feedback

* apply josh feedback

* populate entries and sanitize them

* set strapi/admin version to 4.19.0
2024-01-17 15:13:55 +01:00
Fernando Chávez
cf88e1ba2e
enhancement(content-releases): add new status column to Release Details (#19154)
* enhancement(content-releases): add new status column to Release Details page

* fix lint & ts errors
2024-01-09 08:58:32 +01:00
markkaylor
29255bc953
feat(content-releases): group release actions by property (#19097)
* feat(content-releases): group release actions by property

* fix: remi feedback

* feat: sort findMany actions

* chore(content-releases): group by UI for content releases (#19133)

* feat(content-releases): group by UI for content releases

* apply remi's and josh's feedback

* remove unnecessary types

---------

Co-authored-by: Fernando Chávez <fernando.chavez@strapi.io>
2024-01-04 10:18:21 +01:00
Simone
9b5e69d822
feat(content-releases): Release Details page (#19026)
* 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>
2023-12-13 15:59:37 +01:00
markkaylor
5bfbd8c659
refactor(content-releases): update findMany actions (#19006) 2023-12-12 10:43:39 +01:00
markkaylor
f803c8a5b6
feat(content-releases): add delete release action endpoint (#18943) 2023-12-05 11:00:29 +01:00
markkaylor
76f8b2fb15
feat(content-releases): add endpoint to update a release action (#18946) 2023-12-04 14:14:00 +01:00
Fernando Chávez
9b4c03b10b
chore(content-releases): Add entries to content-releases' actions (#18918)
* chore(content-releases): add entries to content releases actions

* chore(content-releases): add entries relation to findMany content-release's actions

* chore(content-releases): improve findOne with actions code

* chore(Content-releases): remi feedback

* chore(content-releases): fix getReleaseActions response type

* chore(content-releases): change findOne and findActions endpoints

* chore(content-releases): fix error in release's tests

* chore(content-releases): use queryBuilder from strapi.db

* chore(content-releases): use queryBuilder from strapi.db
2023-12-04 10:10:51 +01:00
markkaylor
9f5e68ce57
chore(content-releases): refactor rtk with type contracts (#18867) 2023-11-23 11:15:29 +01:00
markkaylor
30e8a6321d
feat(content-releases): add findOne endpoint (#18821) 2023-11-21 09:18:12 +01:00