9 Commits

Author SHA1 Message Date
Josh
e98c3e2020
fix(admin): reset all redux toolkit cache on logout (#20318)
* fix(admin): reset all redux toolkit cache on logout

* chore: refactor API to use one createApi call from redux/toolkit

* chore: fix e2e suite

* chore: spelling error

Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>

* chore: remove rogue import

---------

Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2024-05-20 14:43:30 +01:00
Josh
e11b6f2e96
chore(helper-plugin)!: move RBAC / remove auth / remove usePersistentState (#19847)
* chore(helper-plugin)!: move useRBAC

* chore: get tests working

* chore!: remove auth

* chore!: remove usePersistentState

* fix: refactor building admin package so it shares modules with different entries

* fix: session vs local
2024-03-20 11:39:59 +00:00
Marc Roig
5004c4cc5a
feat: disabled dp with content releases (#19756)
* feat: disabled dp with content releases

* chore: export admin test setup (#19794)

* fix: export admin store config

* fix: pr feedback

* fix: move default config fallback

* chore: wip place everything on sub path

* chore: tweak tsconfig to sort build out

* chore: user admin server setup for content-releases

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>

* chore: fix tests with permissions

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-19 12:36:48 +01:00
Josh
95674865d9
chore(helper-plugin)!: move Notifications & AppInfo to admin (#19831)
* chore(helper-plugin)!: move Notifications to admin

* chore(helper-plugin)!: move AppInfo to admin
2024-03-18 21:07:24 +00:00
Josh
82aa22ff29
chore!: remove CheckPermissions component (#19793) 2024-03-18 08:17:42 +00:00
Ben Irvin
44f19b3d2f
chore: fixes for flaky tests 2024-02-02 10:49:02 +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
9f5e68ce57
chore(content-releases): refactor rtk with type contracts (#18867) 2023-11-23 11:15:29 +01:00
Simone
f9fb2e7c49
feat(content-releases): Redirect to /content-releases/:releaseId onCreate and add header on details page (#18720)
* 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>
2023-11-17 16:59:01 +01:00