29859 Commits

Author SHA1 Message Date
Fernando Chávez
af744b9d4e
Merge pull request #16586 from strapi/bulk-publish/entries-status
[Bulk Publish] Show publish/unpublish button sbased on entries publishedAt status
2023-05-10 10:17:47 +02:00
Fernando Chavez
a8b779f3bc fix duplicate import 2023-05-10 09:19:29 +02:00
Fernando Chavez
1cac18e26a add comments to BulkActionsBar components 2023-05-10 09:19:29 +02:00
Fernando Chavez
a61b3cc902 change some variables names on BulkACtionsBar 2023-05-10 09:19:29 +02:00
Fernando Chavez
41a69b07e2 show publish/unpublish button based on entries publisedAt status 2023-05-10 09:19:29 +02:00
markkaylor
5339398718
Merge pull request #16595 from strapi/bulk-publish/publish-actions
Add bulk publish and unpublish actions
2023-05-09 16:31:28 +02:00
Mark Kaylor
2a4b3514fa Refactor to common function 2023-05-09 13:58:14 +02:00
Mark Kaylor
fe730f581a Keep selected entries on error 2023-05-09 10:55:20 +02:00
Mark Kaylor
5ddfd14236 Publish/unpublish a mix of draft and published states 2023-05-09 09:54:53 +02:00
Mark Kaylor
4ddac20ac9 Test publish/unpublish events are emitted 2023-05-05 17:25:38 +02:00
Mark Kaylor
a8b0dcdf48 Move clearSelectedEntries last to avoid memory leak warning 2023-05-05 10:50:22 +02:00
Mark Kaylor
b37993cea7 Improve comments 2023-05-05 10:07:33 +02:00
Mark Kaylor
71ae8a9396 Refactor to use separate mutations + mutateAsync 2023-05-04 17:46:17 +02:00
Mark Kaylor
278a797873 Rename handleConfirmDeleteAll to handleBulkDelete to match the others and backend actions 2023-05-04 16:41:23 +02:00
Mark Kaylor
cac8feb45c Revert common func 2023-05-04 16:37:50 +02:00
Mark Kaylor
7eaadf31db Add space 2023-05-04 15:52:31 +02:00
Mark Kaylor
552e9c8850 Test correct text is visible instead of using function call 2023-05-04 15:50:50 +02:00
Mark Kaylor
1bffc6b541 Refactor useMutation callback and handle state in the mutate callbacks 2023-05-04 15:11:31 +02:00
Mark Kaylor
3e4b3e46e3 Fix incorrect policies 2023-05-04 10:38:35 +02:00
Mark Kaylor
f2e769cd69 Refactor to check permissions on entities before passing to updateMany 2023-05-04 10:38:09 +02:00
Mark Kaylor
119b88a1b1 Add bulk publish and unpublish 2023-05-03 12:17:26 +02:00
Rémi de Juvigny
1347bb4f26
Merge pull request #16559 from strapi/bulk-publish/modals
Add bulk publish and unpublish modals
2023-05-03 11:41:16 +02:00
Rémi de Juvigny
cbad4fadbc Move handle toggle modal 2023-05-03 11:04:14 +02:00
Rémi de Juvigny
7d26539c5a Move bulk confirm modal to same file 2023-05-03 10:53:33 +02:00
Rémi de Juvigny
1d283eb98e Mark feedback 2023-05-03 10:49:45 +02:00
Rémi de Juvigny
bd4011e1a8 Move confirm all dialogs to bulk actions bar file 2023-05-02 17:28:32 +02:00
Rémi de Juvigny
aa797ddd00 Merge remote-tracking branch 'origin/feature/bulk-publish' into bulk-publish/modals 2023-05-02 16:55:50 +02:00
Rémi de Juvigny
2f480c7ab9 Remove testId 2023-05-02 16:20:32 +02:00
Rémi de Juvigny
6895240a6f Remove extra wrappers 2023-05-02 15:43:32 +02:00
Rémi de Juvigny
55cddced4e Use common state var for all 3 modals 2023-05-02 14:25:03 +02:00
Rémi de Juvigny
e0e1982870 Add ConfirmBulkActionDialog abstraction 2023-05-02 14:11:01 +02:00
Mark Kaylor
ac4848039c Fix test 2023-05-02 09:57:37 +02:00
Mark Kaylor
28716e311e Move import causing lint error 2023-05-02 09:57:37 +02:00
Fernando Chavez
06d2aefe7e add test file for BulkActionsBar new component 2023-05-02 09:57:37 +02:00
Mark Kaylor
7c9c2d13d7 Move validation and handler to page level 2023-05-02 09:57:37 +02:00
Mark Kaylor
e254aa5093 Validate selected entries for bulk publish 2023-05-02 09:57:37 +02:00
Fernando Chavez
f67642c741 fix lint error 2023-05-02 09:57:37 +02:00
Fernando Chavez
13629d27e9 fix names on proptypes of new bulk actions bar component 2023-05-02 09:57:37 +02:00
Fernando Chavez
747625f64a change cloneElement for a render function on helper-plugin's dynamicTable 2023-05-02 09:57:37 +02:00
Fernando Chavez
cb873f9d13 add canPublish to conditions to show the bulk buttons 2023-05-02 09:57:37 +02:00
Fernando Chavez
7fcfb9f9a8 Send the canPublish permissions to the DynamicTable on content manager 2023-05-02 09:57:37 +02:00
Fernando Chavez
dfced8d998 Add a new bulkActionsBar prop to DynamicTable from helper-plugins and changes to the table on content manager to have the new bulk publish buttons 2023-05-02 09:57:36 +02:00
Jean-Sébastien Herbaux
cd5e791448
Merge pull request #16516 from strapi/ts-support-2/automatic-type-generation 2023-05-02 09:45:07 +02:00
Josh
b728ee36e7
Merge pull request #16576 from strapi/dependabot/npm_and_yarn/core-js-3.30.1 2023-05-02 08:21:02 +01:00
Josh
2ce938337d
Merge pull request #16578 from strapi/dependabot/npm_and_yarn/react-intl-6.4.1 2023-05-02 08:20:36 +01:00
dependabot[bot]
6ed2132d3a
Bump react-intl from 6.3.2 to 6.4.1
Bumps [react-intl](https://github.com/formatjs/formatjs) from 6.3.2 to 6.4.1.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/compare/react-intl@6.3.2...react-intl@6.4.1)

---
updated-dependencies:
- dependency-name: react-intl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-30 23:56:52 +00:00
dependabot[bot]
2d5c81787c
Bump core-js from 3.28.0 to 3.30.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.28.0 to 3.30.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.30.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-30 23:54:43 +00:00
DMehaffy
83d394f47f
Merge pull request #16567 from strapi/fix/ssoDomain
Fix typo in config path for SSO domain
2023-04-28 16:52:20 -07:00
Ben Irvin
be0708f55b
Merge pull request #16556 from strapi/chore/update-typescript-eslint-packages 2023-04-28 19:00:16 +02:00
derrickmehaffy
2382e26b97 fix typo in config path for SSO domain 2023-04-28 09:42:28 -07:00