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
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
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
Alexandre BODIN
7639ce09d4
Merge pull request #18404 from strapi/chore/remove-log-from-test
2023-10-11 21:20:13 +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
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
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
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
Ben Irvin
390b52004e
remove log that shouldn't be there
2023-10-11 12:42:49 +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
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
Boegie19
f9f70e25b5
feat(admin): allows users to disable NPS in strapi config. ( #18287 )
2023-10-10 17:11:40 +02:00
Madhuri Sandbhor
facec501f5
updated modifiers style ( #18373 )
2023-10-10 13:56:54 +02:00
Rémi de Juvigny
da790035c6
test(content-manager): remove side effects and warnings in Blocks editor tests ( #18374 )
...
* Use Tranforms.select with act for all selections
* Recreate editor on every test
* Don't test BlocksToolbar in isolation
* Set initialValue in setup function
* Apply consistent code formatting
2023-10-10 12:28:16 +01:00
Gustav Hansen
9043b6c94e
Merge pull request #18366 from strapi/chore/usePermissionsDataManager-ts
...
chore: convert usePermissionsDataManager to TS and move it to settings
2023-10-10 12:48:49 +02:00
Gustav Hansen
252e56c7b5
chore: convert usePermissionsDataManager to TS and move it to settings
2023-10-10 12:20:26 +02:00
Gustav Hansen
fb3a0b8248
chore(admin): convert useAdminRoles to TS ( #18336 )
...
Co-authored-by: Josh Ellis <josh.ellis@strapi.io>
2023-10-09 16:41:12 +01:00
Simone
04bd36c399
remove screen debug ( #18365 )
2023-10-09 15:11:12 +02:00
Simone
46a65f4992
[Blocks editor] Images too big in large viewports ( #18335 )
...
* change image max-heigth and respect ratio
* add comment to specify where is the max height coming from
* add a background color to the image wrapper
* change the max height and fix typo
2023-10-09 10:50:40 +02:00
Rémi de Juvigny
1fca4b448c
[Blocks] Fix content not updating when switching locales ( #18266 )
...
* Fix i18n bug with useResetKey hook
* Add comments about other approaches
2023-10-09 09:58:05 +02:00
Rémi de Juvigny
b42bb21c87
Merge pull request #18201 from strapi/feature/rich-text-editor
...
feat(rich-text-editor): release beta
2023-10-06 17:36:41 +02:00
Gustav Hansen
13cb9b88a5
chore(admin): cleanup and convert useReleaseNotification to TS
2023-10-06 15:52:02 +02:00
Rémi de Juvigny
aa136be2a7
Merge branch 'main' into feature/rich-text-editor
2023-10-06 15:33:37 +02:00
Madhuri Sandbhor
e76bef0e65
[Blocks Editor] Link popover save button disabled state ( #18332 )
...
* link save button disabled attribute added
* updated Link text field placeholder
* removed empty url check from submit
* minor changes
2023-10-06 14:29:15 +02:00
Gustav Hansen
f30e95ef68
Merge pull request #18318 from strapi/chore/useLicenseLimitsNotification-ts
...
chore(admin): convert useLicenseLimitNotification to TS
2023-10-06 14:11:25 +02:00
Josh
66d7c1ce9b
chore: convert helper-plugin to pack-up ( #18329 )
2023-10-06 12:21:26 +01:00
Simone
628d1d69a0
check if the block field value is an array if it is not null ( #18334 )
2023-10-06 12:28:53 +02:00
Rémi de Juvigny
8ebb00ad03
Fix code blocks shrinking ( #18322 )
2023-10-06 11:28:40 +02:00
Rémi de Juvigny
2937bb9237
[Blocks] Fix links colors ( #18325 )
...
* Fix links not using design system color
* Inherit text color in modifiers
2023-10-06 11:18:24 +02:00
Madhuri Sandbhor
3dc168a35e
[Blocks Editor] Description and placeholder added ( #18239 )
...
* placeholder and hint added for blocks
* test case updated
* props destructing not required
2023-10-06 09:53:26 +02:00
Rémi de Juvigny
87b94a07d4
Disable link button when editor is disabled ( #18324 )
2023-10-06 09:36:12 +02:00
Gustav Hansen
1b1ea2730d
Merge pull request #18310 from strapi/chore/useDebounce-ts
...
chore(admin): convert useDebounce to TS
2023-10-06 09:26:29 +02:00
Gustav Hansen
cae79e0ab3
Merge pull request #18291 from strapi/chore/useRegenerate-ts
...
chore(admin): convert useRegenerate to TS
2023-10-06 09:11:06 +02:00
Josh
4a54910f0f
chore(admin): convert DragLayer, PrivateRoute, Theme, ThemeToggleProvider ( #18313 )
...
* chore: convert ThemeToggleProvider and Theme
* chore: convert PrivateRoute
* chore: convert DragLayer to TS
* chore: update theme
* Update ComponentCard.test.js
2023-10-05 17:07:12 +01:00
Gustav Hansen
92d069a823
chore(admin): convert useDebounce to TS
2023-10-05 17:18:54 +02:00
Gustav Hansen
e9ee4789b7
chore(admin): convert useRegenerate to TS
2023-10-05 16:04:46 +02:00