722 Commits

Author SHA1 Message Date
Gustav Hansen
932664a61f Settings: Allow stages to be added even if the workflow doesn't have any yet 2023-02-03 14:21:32 +01:00
Gustav Hansen
3db0779f8f Settings: Fix and extend page tests 2023-02-03 14:07:19 +01:00
Gustav Hansen
05aad3ade0 useReviewWorkflows: extend testsuite 2023-02-03 13:13:50 +01:00
Simone Taeggi
ea15154849 squash and merge all the code related to the axios migration to use useFetchClient and getFetchClient in the admin 2023-02-03 10:41:34 +01:00
ivanThePleasant
a0144c1565 WIP 2023-02-03 10:20:55 +02:00
Gustav Hansen
f1113915c8 useReviewWorkflows: Fix test data mocks 2023-02-02 22:32:34 +01:00
Gustav Hansen
4a3c80e954 Settings: Split responsibilities for redux and formik 2023-02-02 22:28:12 +01:00
Gustav Hansen
4f25ac6ddf ReviewWorkflows: Cleanup page component 2023-02-02 22:06:17 +01:00
Gustav Hansen
da8c690a84 useReviewWorkflows: Separate query refetching from mutation 2023-02-02 22:05:46 +01:00
Gustav Hansen
8cdee7f4cb Settings: Make ReviewWorkflows reducer more concise 2023-02-02 21:49:55 +01:00
Gustav Hansen
561981d366 Settings: Extend useReviewWorkflows tests 2023-02-02 21:43:13 +01:00
Gustav Hansen
324c764efe Settings: Remove useReviewWorkflows mock data 2023-02-02 21:36:27 +01:00
Gustav Hansen
5efc518736 Settings: Refactor ReviewWorkflows reducer and isDirty flag 2023-02-02 21:29:31 +01:00
Gustav Hansen
58fcb0d046 Settings: Simplify ReviewWorkflows reducer 2023-02-02 20:54:59 +01:00
Gustav Hansen
04aedce0f0 Settings: Add workflow management (add, remove, update stages) 2023-02-02 20:49:57 +01:00
Nathan Pichon
73b2873e02
Merge branch 'feature/review-workflow' into feature/review-worflow/default-workflow 2023-02-02 11:33:59 +01:00
nathan-pichon
dc671f61ce
test(review-workflow): add unit test for review workflows service 2023-02-02 11:30:06 +01:00
nathan-pichon
4f756d166d
refactor(review-workflow): use services in rw bootstrap 2023-02-02 10:16:59 +01:00
Gustav Hansen
eb135b8a3b Chore: Make review workflow page-title plural 2023-02-01 12:37:17 +01:00
Mark Kaylor
cab6d7817e Remove is and is not null operators form user 2023-02-01 11:15:40 +01:00
nathan-pichon
ee2b6afc57
test(review-workflow): filters in stages requests 2023-02-01 09:40:32 +01:00
nathan-pichon
545b565782
fix(review-workflow): filters in stages requests 2023-01-31 20:16:53 +01:00
Mark Kaylor
0b4f2572ba Fix spaces in translations 2023-01-31 17:51:44 +01:00
nathan-pichon
80d1695b30
fix(review-workflow): bootstrap 4 stages for default wf 2023-01-31 17:23:05 +01:00
nathan-pichon
6f43611c4a
Merge branch 'feature/review-workflow' into feature/review-worflow/default-workflow
# Conflicts:
#	packages/core/admin/ee/server/bootstrap.js
2023-01-31 17:16:39 +01:00
Gustav Hansen
643cb8a8de CTB: Add checkbox to toggle review workflows for a content-type 2023-01-31 17:11:02 +01:00
Nathan Pichon
61199c036f
Merge pull request #15594 from strapi/feature/review-worflow/workflow-stage
feat(review-workflow): Stages
2023-01-31 17:01:27 +01:00
nathan-pichon
335cb1639c
test(review-workflow): add one more stage to tests 2023-01-31 15:30:19 +01:00
nathan-pichon
37f427e581
chore(review-workflow): rename findOne in findById 2023-01-31 15:24:11 +01:00
Nathan Pichon
81146dc5c7
fix(review-workflow): use workflowId instead of id 2023-01-31 15:18:56 +01:00
Gustav Hansen
6779e145a5 Chore: Remove merge conflict file 2023-01-31 14:59:41 +01:00
nathan-pichon
cde11ac12a
Merge branch 'feature/review-workflow' into feature/review-worflow/workflow-stage 2023-01-31 14:41:58 +01:00
nathan-pichon
3b0e809e06
fix(review-workflow): content types shouldn't be visible 2023-01-31 14:08:54 +01:00
Mark Kaylor
9dc89bb2f6 Add models to publish actions 2023-01-31 14:00:39 +01:00
Gustav Hansen
6583f4021a useReviewWorkflows: Enable skipped tests 2023-01-31 13:49:38 +01:00
Gustav Hansen
73975255ea Chore: Simplify setWorkflows action 2023-01-31 13:09:14 +01:00
Gustav Hansen
622946aec9 Remove mock data and use real API instead 2023-01-31 13:04:47 +01:00
Gustav Hansen
d8b26d94da Add tests for ReviewWorkflowsPage 2023-01-31 12:59:37 +01:00
Gustav Hansen
8710caf581 Chore: Add reducer test for code branch without workflow data 2023-01-31 12:59:37 +01:00
Gustav Hansen
699a35a53d Chore: Make store data-structure more flexible and split client from server 2023-01-31 12:59:37 +01:00
Gustav Hansen
ab3bcf46b6 Chore: Skip useReviewWorkflows() tests for now 2023-01-31 12:59:37 +01:00
Gustav Hansen
1ad0a97fb1 Chore: Fix outdated reducer test 2023-01-31 12:59:37 +01:00
Gustav Hansen
0086b0e163 Chore: Fix workflow status access 2023-01-31 12:59:37 +01:00
Gustav Hansen
d7b18b9ece Chore: Simplify selector access across the page 2023-01-31 12:59:37 +01:00
Gustav Hansen
9cf1567604 Chore: Replace uid with id in useReviewWorkflows hook 2023-01-31 12:59:37 +01:00
Gustav Hansen
c0f8140516 Settings: Add review workflow actions unit tests 2023-01-31 12:59:37 +01:00
Gustav Hansen
fd0861efab Settings: Simplify review workflow redux setup 2023-01-31 12:59:37 +01:00
Gustav Hansen
f4a773ebc6 Chore: Add reducer tests 2023-01-31 12:59:37 +01:00
Gustav Hansen
2aa3804787 Chore: Add component tests for Stages and Stage 2023-01-31 12:59:37 +01:00
Gustav Hansen
0e122dc344 Settings: Connect Review Workflow UI, data loader and redux 2023-01-31 12:59:37 +01:00