33133 Commits

Author SHA1 Message Date
Josh
f478957b4d
fix(workflow): re-add build step for linting because it's required (#18489) 2023-10-18 10:45:55 +01:00
Boegie19
965da42615
combined all CI improvement (#18383)
* cache yarn build

* fixes typescript using new mono build

* fixning mono build action

* add a no build option for generate-app

* test 3 shards instead of 2.

* shard up to 4

* try 2 for shards

* migrated last build to action

* try 6 shards

* removed build from lint

* remove build from lint

* fix required tests

* fixes/ shard decrease to 5

* remove last node 16 test

* changed no:build to no-build

* removed old build
2023-10-18 10:24:23 +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
196e5410dd use node 20 lts for nvmrc 2023-10-17 16:47:49 +02:00
Ben Irvin
79f24e9f2b update pack-up node versions 2023-10-17 16:38:34 +02:00
Ben Irvin
3fab19a9a4 update engines 2023-10-17 16:29:28 +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
Gustav Hansen
7c56d94b0c
Merge pull request #18451 from strapi/refactor/redux-toolkit
chore(admin): implement redux-toolkit
2023-10-17 11:42:04 +02:00
Josh
f8586324c5 test(admin): fix broken test with Body.CheckboxDataCell 2023-10-17 10:13:42 +01:00
Josh
2ae466660e chore: add types/generated to examples to stop checking them in 2023-10-17 09:27:24 +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
Sora Morimoto
91cf4ee737
chore(deps): update yarn to v3.6.4 (#18447)
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2023-10-16 16:52:52 +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
Josh
25d1ceaa44
feat(pack-up): enable config via nodeAPI & allow bundles to have own tsconfig (#18440)
* feat: add ability to pass config & have tsconfig per bundle

* feat: use node:module builtinModules for node stuff

* chore: remove builtins from externals
2023-10-16 08:55:43 +01:00
Alexandre Bodin
477ebe1b30 chore(@strapi/strapi): build strapi core with pack-up 2023-10-16 09:19:56 +02:00
Josh
8632eeaf18
chore(data-transfer): packup (#18423) 2023-10-13 18:15:38 +01:00
Josh
976b90dd92
chore(deps): update design-system to 1.12.2 (#18438) 2023-10-13 17:24:06 +01:00
Gustav Hansen
6a6fd147a1
Merge pull request #18367 from strapi/chore/useAdminRolePermissions-ts
chore: convert useAdminRolePermissions to TS
2023-10-13 17:04:57 +02:00
Gustav Hansen
92c8a1b444 chore: convert useAdminRolePermissions to TS 2023-10-13 16:36:25 +02:00
Simone
e8f3e176cf
[Blocks editor] Fix - Click on a Modifier when the editor selection is null crashes the app (#18426)
* fix modifier click crashes app

* fix comments
2023-10-13 16:22:09 +02:00
Rémi de Juvigny
d1b7c31a0b
fix(blocks): prevent carrying over modifiers when creating empty blocks (#18413)
* Reset modifiers when creating a new paragraph

* Handle list items

* Rename variable and comments

* Add test case

* Handle quote blocks

---------

Co-authored-by: Simone <startae14@gmail.com>
2023-10-13 16:02:33 +02:00
Madhuri Sandbhor
a3d88f6f1d
[Blocks Editor] Fix layout shift (#18337)
* layout shift issue fixed by overriding editor scrollSelectionIntoView()

* updated handleScrollSelectionIntoView

* replaced scrollIntoView with scrollBy()

* added margin to the editor wrapper to prevent from writing to the bottom of the editor
2023-10-13 10:57:37 +02:00
Josh
cb9e2d00a9
fix(admin): use tsconfig.build to build & alias helper-plugin in dev mode (#18431) 2023-10-13 08:33:22 +01:00