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
Josh
59e1102df5
chore: packup cli packages ( #18425 )
2023-10-13 08:27:15 +01:00
Erik Montes
9d17146542
docs(readme): update tests that need passing for accepting contributions ( #18302 )
2023-10-13 08:14:43 +01:00
Alexandre BODIN
1f93615e0c
Merge pull request #18428 from strapi/chore/cleanup-npmignore
2023-10-12 20:03:49 +02:00
Alexandre Bodin
4224ebc0b0
Merge branch 'main' into chore/cleanup-npmignore
2023-10-12 18:34:51 +02:00
Alexandre Bodin
ec3447cb26
chore: use npmignore to remove declaration maps from packaging
2023-10-12 18:25:01 +02:00
Jamie Howard
a9552a70bf
[Email] Migrate to typescript ( #18136 )
...
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-10-12 17:10:45 +01:00
Josh
0b13b1b50a
chore: convert other packages to pack-up ( #18339 )
...
* chore: convert logger to pack-up
* chore: convert generators to TS
* chore: convert generators/app
* chore: convert core/types
* chore: preserve modules for `generators/app`
2023-10-12 15:01:25 +01:00
Josh
293219f39f
chore(admin): convert more components to TS ( #18420 )
...
* chore(admin): convert ConfigurationProvider
* chore: convert PluginsInitializer
* fix(admin): imports with ConfigurationsProvider
* chore: convert NpsSurvey to TS
* chore: PR fixes
2023-10-12 14:28:25 +01:00
Simone
c7818eb070
[Blocks editor] Fix - When a image is selected we want to disable the modifier buttons ( #18412 )
...
* disable modifiers when image is selected
* add the disabled check for the link button and add unit test
2023-10-12 13:59:07 +02:00
Simone
e145fac42c
[Blocks editor] Remove empty line before block without editor selection ( #18390 )
...
* remove empty line before block on first selection and unit test
* fix remi' comments
* fix comments
2023-10-12 11:03:47 +02:00
Josh
8917530e49
test(pack-up): fix unit tests by using a global-teardown ( #18414 )
2023-10-11 22:35:59 +01:00
Alexandre BODIN
7639ce09d4
Merge pull request #18404 from strapi/chore/remove-log-from-test
2023-10-11 21:20:13 +02:00
Ben Irvin
77e3580dc2
update recommended version in readme
2023-10-11 18:32:38 +02:00
Jean-Sébastien Herbaux
6c52635d69
Merge pull request #18407 from strapi/releases/4.14.4
2023-10-11 17:26:03 +02:00
Josh
1fd26871a3
chore(pack-up): add gitignore ( #18406 )
...
* chore(pack-up): add gitignore
* Update packages/utils/pack-up/.gitignore
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
---------
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2023-10-11 15:08:30 +01:00
Josh
eb89219bce
fix(pack-up): redefine external
to work better with presereModules and omit changing the fileName ( #18395 )
...
* fix(pack-up): redefine `external` to work better with presereModules and omit changing the fileName
* chore: update snaphots
I have no idea why this is needed
2023-10-11 14:34:49 +01:00
Convly
cd8f1e58f3
Merge branch 'main' of github.com:strapi/strapi into releases/4.14.4
2023-10-11 14:46:35 +02:00
Convly
fbd6e3e301
v4.14.4
v4.14.4
2023-10-11 14:31:53 +02:00
Gustav Hansen
2fce3442f8
Merge pull request #18364 from strapi/chore/useEnterprise-ts
...
chore: convert useEnterprise to TS
2023-10-11 14:31:43 +02:00
Rémi de Juvigny
ca44c65b40
[Blocks] Fix converting list items ( #18323 )
...
* Fix converting list items
* Improve comment
* Fix typo
* madhuri feedback
* Replace setSelection by select
* Use new select helper in test
---------
Co-authored-by: Simone <startae14@gmail.com>
2023-10-11 14:26:19 +02:00
Gustav Hansen
3a008ccc64
chore: convert useEnterprise to TS
2023-10-11 13:56:03 +02:00
Gustav Hansen
045254c459
Merge pull request #18362 from strapi/chore/useAdminUsers-ts
...
chore: convert useAdminUsers to TS
2023-10-11 13:55:36 +02:00
Gustav Hansen
8c39791a2b
chore: convert useAdminUsers to TS
2023-10-11 13:29:16 +02:00
Josh
85d322c3e9
test(frontend): fix act warnings _everywhere_ ( #18381 )
...
* test(content-manager): fix wysiwyg by silencing the warnings
* test(admin): add a harness – finally
* chore: remove prop-types as dep of helper-plugin
* test(content-manager): fix console errors in EditSettingsView
* test(content-manager): fix ListViewSettings
* test: fix useAdminRolePermissions
* chore: convert more tests
* test: more fe tests
* test: more fe tests
* test(ctb): fix tests
* chore: throw error in env
* chore: fix act finals
* chore: remove resetHandlers and use once
* chore: throw all the time for warnings and errors
2023-10-11 12:26:02 +01:00
Alexandre Bodin
af6ddbba9b
Merge branch 'main' into tests/drop16
2023-10-11 13:09:45 +02:00
Ben Irvin
390b52004e
remove log that shouldn't be there
2023-10-11 12:42:49 +02:00
Ben Irvin
d66eb870df
Merge pull request #18379 from Boegie19/jest-sharding-test
2023-10-11 11:49:03 +02:00
Josh
b571158eef
fix(helper-plugin): notifications should not have a default for "success" ( #18372 )
...
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com>
2023-10-11 10:26:47 +01:00
Alexandre Bodin
4fab0c711d
Update engines
2023-10-11 11:15:35 +02:00
derrickmehaffy
8c83ba50a3
Remove node 16 tests and update all static tests to node 20
2023-10-11 11:15:35 +02:00
Simone
6caa8cf950
[Blocks editor] Images inserted and removed as first element breaks the app ( #18347 )
...
* move the removal of the node from the selectOption to insertImages
* add condition to avoid toggleBlock for images
2023-10-11 11:07:05 +02:00
Boegie19
29056ff0f1
added all 6 )
2023-10-11 10:59:32 +02:00
Rémi de Juvigny
9112d18abb
[Blocks] Disable link button when multiple blocks are selected ( #18384 )
...
* Disable links button when multiple blocks are selected
* Improve test
* Simone comment fixes
Co-authored-by: Simone <startae14@gmail.com>
---------
Co-authored-by: Simone <startae14@gmail.com>
2023-10-11 10:13:43 +02:00
Rémi de Juvigny
943b7edb5b
[Blocks] Multiple UI fixes to match the designs ( #18387 )
...
* Remove underline on links
* Fix popover link text size
* Remove headings component
* Fix blockquote styles
2023-10-11 09:57:17 +02:00
Alexandre BODIN
4703b85d5b
Merge pull request #18394 from strapi/chore/suspend-dependabot
2023-10-11 09:35:50 +02:00