6606 Commits

Author SHA1 Message Date
Maxime Castres
dfc4d17eb4
feat(admin): add promoting EE features in CE projects by default (#18179)
* Add: promoting EE features in CE projects by default

* Add: pages

* Update: first review modifications

* Update: integrate locked features pages

* Update: rename pages + update links to the website

* Update: append config to default files

* Update: implement flags logic

* Update: implement promoteEnterpriseFeatures flag

* Update: revamp variable + add doc

* Update: add documentation

* Delete: ContentTypes.d.ts file
2023-10-23 17:20:59 +01:00
Madhuri Sandbhor
cfd8d171ac
feat(blocks): add stable release badge (#18484)
* feat: added stable release badge

* refactor: NewBadge component added

* fix: removed comments for blocks stable release

---------

Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
2023-10-23 17:23:48 +02:00
Rémi de Juvigny
aad59f0299
chore(deps): update design-system to 1.13.0 (#18538) 2023-10-23 16:43:26 +02:00
Simone
c3ed61e2a8
fix(blocks): fix weird behaviour when try to delete content inside a list (dropdown option empty) (#18521)
* handle delete on lists

* remove schema changes

* remove console log

* check if focus is at the beginning of a line

* remove unused component

* fix lift node issue

* fix setNodes on empty list item

* fix issue on list items

* fix modifiers weird behaviour

* check focus at beginning of a child element

* fix weird behaviour

* add unit test

* add unit tests
2023-10-23 16:14:27 +02:00
Gustav Hansen
24d524e6ae
Merge pull request #18536 from strapi/chore/useContentTypes-ts
chore(admin): convert useContentTypes to TS
2023-10-23 14:05:29 +02:00
Rémi de Juvigny
80f07cb16a
fix(blocks): prevent creating images inside a list (#18496)
* Fix converting list items to images

* Remove unused import

* Add media library test

* Update packages/core/admin/admin/src/content-manager/components/BlocksEditor/Toolbar/index.js

Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>

* Extract mock image variable

---------

Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
2023-10-23 13:51:50 +02:00
Gustav Hansen
34a498b183 chore(admin): convert useContentTypes to TS 2023-10-23 13:07:18 +02:00
Madhuri Sandbhor
79065ed330
fix(blocks): Select without border and disable styles (#18492)
* fix: select without border and disable styles

* fix: changes for disable style

* style: optimization

* style: divider added after the select DD
2023-10-23 12:50:47 +02:00
Gustav Hansen
34eb88a04c chore(admin): convert LanguageProvider mock file to TS 2023-10-23 10:17:02 +02:00
Rémi de Juvigny
fe057a59ea
feature(admin): sync theme with system theme (#18502)
* Sync with system theme feature

* Use newer SingleSelect component

* Remove log

* Feedback fixes
2023-10-23 09:28:51 +02:00
Gustav Hansen
c7672e5d5a
Merge pull request #18452 from strapi/chore/utils-admin-ts
chore(admin): convert utils to TS
2023-10-19 15:25:37 +02:00
Gustav Hansen
5dc153dcb7 chore(admin): convert utils to TS
Co-authored-by: Josh Ellis <josh.ellis@strapi.io>
2023-10-19 13:58:54 +01:00
Gustav Hansen
b9d72cb234
chore(admin): convert UseCasePage to TS (#18477) 2023-10-19 13:53:40 +01:00
Mark Kaylor
2c8028e0a8 Merge branch 'main' of github.com:strapi/strapi into releases/4.14.5 2023-10-18 17:15:57 +02:00
Mark Kaylor
a0400e4a0f v4.14.5 2023-10-18 17:02:10 +02:00
Josh
d4dddebe84
refactor(admin): convert rest of components to TS (#18473)
* refactor(admin): convert rest of components to TS

* chore(admin): integrate redux types to admin components

* chore: type network requests

* test: fix unit tests based on changes

* chore: use smaller batch of permissions for RBACProvider test
2023-10-18 11:22:34 +01:00
Gustav Hansen
f6451336d5
Merge pull request #18482 from strapi/chore/convert-not-found-page-ts
chore(admin): convert NotFoundPage to TS
2023-10-18 09:43:22 +02:00
Gustav Hansen
556bbc0a0c
Merge pull request #18478 from strapi/chore/internalerrorpage-ts
chore(admin): convert InternalErrorPage to TS
2023-10-18 09:43:01 +02:00
Gustav Hansen
ea88534785
Merge pull request #18476 from strapi/chore/apiTokenPermissions-ts
chore(admin): convert ApiTokenPermissions to TS
2023-10-18 09:42:03 +02:00
Alexandre BODIN
e3b3a8b2d5
Merge pull request #18102 from strapi/tests/drop16 2023-10-18 09:16:58 +02:00
Gustav Hansen
d5b202e715 chore(admin): convert NotFoundPage to TS 2023-10-17 18:03:34 +02:00
Gustav Hansen
43adeff22f chore(admin): replace deprecated HP link-button with DS variant 2023-10-17 17:49:40 +02:00
Simone
5326a28d03
[Blocks editor] Fix - Change delete and edit buttons style inside the Link Popover (#18421)
* fix edit and delete buttons style in the link Popover

* change the implementation to use button like for the modifiers

* remove unused component

* fix the z index issue with the tootips

* fix some style on buttons

* fix typo

* fix review comments
2023-10-17 17:40:14 +02:00
Ben Irvin
8d7478ff12
Merge branch 'main' into tests/drop16 2023-10-17 15:58:43 +02:00
Gustav Hansen
0940652b40 chore(admin): convert InternalErrorPage to TS 2023-10-17 14:23:36 +02:00
Ben Irvin
a824b06b11
Merge pull request #18436 from strapi/chore/pack-up-strapi-core 2023-10-17 14:08:41 +02:00
Ben Irvin
f2fb21ce62
Merge branch 'main' into tests/drop16 2023-10-17 14:07:54 +02:00
Gustav Hansen
069a1d0f8f chore(admin): convert ApiTokenPermissions to TS 2023-10-17 13:54:07 +02:00
Gustav Hansen
26ef626a0d
Merge pull request #18472 from strapi/chore/admin-misc-ts
chore(admin): move and combine various constants into a single TS file
2023-10-17 13:03:19 +02:00
Gustav Hansen
75c4f9b49d
chore(admin): convert layouts to TS (#18456)
* chore(admin): convert layouts to TS

* chore(admin): update snapshot tests
2023-10-17 11:10:47 +01:00
Gustav Hansen
71091e52fc chore(admin): move and combine various constants into a single TS file 2023-10-17 12:00:29 +02:00
Alexandre BODIN
96399072a3
Merge branch 'main' into chore/pack-up-strapi-core 2023-10-17 11:49:00 +02:00
Josh
f8586324c5 test(admin): fix broken test with Body.CheckboxDataCell 2023-10-17 10:13:42 +01:00
Josh
a54c9b085b chore: pr amends 2023-10-17 09:26:11 +01:00
Josh
255e71f513 chore: fix failing tests 2023-10-17 09:19:06 +01:00
Josh
be1eaed5d7 chore: remove direct imports to reselect 2023-10-17 09:19:06 +01:00
Josh
04436917c7 refactor: remove calls to redux 2023-10-17 09:19:06 +01:00
Josh
57aef2ac2b feat(admin): implement redux-toolkit 2023-10-17 09:19:06 +01:00
Josh
4fcaf0f227
chore(admin): convert GuidedTour to TS (#18461) 2023-10-17 09:05:10 +01:00
Alexandre Bodin
d7d7fd6da5 Merge branch 'main' into chore/pack-up-strapi-core 2023-10-17 09:45:17 +02:00
Erik Montes
b7e526b616
fix(content manager): action buttons not triggering and checkbox causing scroll (#18182)
* fix: content manager action buttons not triggering

* fix: directly nests Td as Tr child to avoid checkbox triggering scroll #17942

* fix: pass correct id as key
2023-10-17 08:38:07 +01:00
Sora Morimoto
73e59e6e2c
chore: run nx repair to correct nx configuration (#18446)
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2023-10-17 08:21:17 +01:00
Simone
43e5946f34
[Blocks editor] Fix - When a code block is selected we want to disable the modifier buttons and the link button (#18458)
* disable modifiers and link buttons on code block

* merge the two unit tests

* fix review comment
2023-10-16 17:24:14 +02:00
Josh
846bad5941
refactor(strapi): plugin:build now uses pack-up underneath (#18453)
* refactor(strapi): plugin:build now uses pack-up underneath

* chore(email): use tsconfig in bundles for packup

* chore: fix ts check
2023-10-16 16:22:15 +01:00
Madhuri Sandbhor
1d10103fc6
blocks input wrapper updated with ref (#18449) 2023-10-16 14:29:32 +02:00
Madhuri Sandbhor
961ef01864
style: updated toolbar items gap (#18455) 2023-10-16 14:16:02 +02:00
Josh
054cea409d
chore(admin): convert more admin components (#18433)
* chore(admin): convert LanguageProvider to ts

* chore(admin): convert more contexts

* chore(helper-plugin): produce declaration maps

* fix(admin): LANGUAGE_LOCAL_STORAGE_KEY export

* chore(admin): convert useMenu

* chore(admin): convert LeftMenu to TS

* test(helper-plugin): fix utils

* chore: fix tests
2023-10-16 11:05:12 +01:00
Simone
c7b5014253
[Blocks editor] Fix- The first time you click on the List option or button the list is not created (#18375)
* fix click twice to create list

* add fix

* fix the conversion of text with modifiers

* fix the issue with the lists and add unit tests

* add more meaningful comments

* change the comments to give a description of the general purpose of the two cases we have in toggleList

* fix review comments
2023-10-16 10:10:50 +02:00
Alexandre Bodin
477ebe1b30 chore(@strapi/strapi): build strapi core with pack-up 2023-10-16 09:19:56 +02:00
Josh
976b90dd92
chore(deps): update design-system to 1.12.2 (#18438) 2023-10-13 17:24:06 +01:00