12813 Commits

Author SHA1 Message Date
Gustav Hansen
78d2c7f7db chore(admin): move useNavigatorOnline hook into marketplace NS 2023-10-05 15:01:23 +02:00
Madhuri Sandbhor
3c14eca8ac
[Blocks Editor] Fix enter key on empty list (#18296)
* fix: enter on empty list

* jsdoc added for replaceListWithEmptyBlock()
2023-10-05 14:59:02 +02:00
Gustav Hansen
48f1f50159 chore(admin): Convert useNavigatorOnLine to TS 2023-10-05 14:54:48 +02:00
Erik Montes
8860134316
fix: typo causing action button to not show in empty list (#18252)
* fix: typo causing action button to not show in empty list

* test: update test to only match first occurance
2023-10-05 13:54:36 +01:00
Marc-Roig
62995a5dc1
chore: emit declaration map files to a more easy navigation 2023-10-05 14:51:16 +02:00
Marc-Roig
c9c3b036ad
chore: todo to rename entity folder types to document in v5 2023-10-05 14:25:45 +02:00
Marc-Roig
8e8cfa0d84
fix: get values return type with id key 2023-10-05 14:16:54 +02:00
Alexandre Bodin
c8c571e5f7 Fix tests 2023-10-05 13:30:56 +02:00
Simone
830f20034a
[Blocks editor] Add the list ordered and list unordered options in the block selector (#18290)
* add the lists to the dropdown, change the options order

* use the hook to retrieve icon and label for the list buttons

* remove unused icons

* fix test issues

* refactor code to use block store

* fix comment
2023-10-05 13:12:23 +02:00
Marc-Roig
e81fbd8604
feat: add Entity Id type 2023-10-05 12:33:48 +02:00
Gustav Hansen
6a2c807a11
Merge pull request #18285 from strapi/chore/useThemeToggle-ts
chore(admin): convert useThemeToggle to TS
2023-10-05 11:53:16 +02:00
Marc Roig
c771262273
v4.14.3 (#18294)
* v4.14.3

* chore: update pack up version
2023-10-05 10:20:53 +01:00
Gustav Hansen
f74fc15527 chore(admin): convert useThemeToggle to TS 2023-10-05 10:48:55 +02:00
Josh
e5078d5f4d
feat: add pack-up package (#18233)
* feat(pack-up): add build command (#18058)

* chore: lint order of imports

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat(pack-up): add init command (#18133)

* feat(pack-up): add build command (#18058)

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat: add init command

fix: build

feat: add default template and tests

* chore: pr amends

* Update packages/utils/pack-up/tests/console.ts

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* chore: re-add mock

* chore: fix tsconfig

* chore: fix inquirer types due to rxjs inclusion

* Update packages/utils/pack-up/src/node/templates/internal/files/typescript.ts

* chore: fix inquirer types

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* feat(pack-up): add check command (#18183)

* feat: add check command

* chore: reintroduce CLI tests

* fix: add build command to `prepublishOnly`

* docs(pack-up): add readme and contributor docs (#18237)

* chore: update README

* docs(pack-up): add contributor documentation

* chore: update overview doc to be clearer

* fix(pack-up): init command (#18245)

* fix: init command bugs

* fix: node tests

* fix: template exports ordering & file extensions

* test(upload): double timeout on UploadAssetDialog test

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-05 09:38:29 +01:00
Gustav Hansen
3a5af781c9 chore(admin): convert useThemeToggle to TS 2023-10-05 10:16:32 +02:00
Summayya Hashmani
ce44a1cca7
fix(content-manager): undefined error for relation type filter field (#18295) 2023-10-05 08:43:41 +01:00
Josh
7016a1b045
chore: initialise ts admin (#18282)
* chore: initialise ts admin

* chore: set JSX to automatic

finally found it

* chore: set DTS true for the whole workflow to produce types for the helper-plugin

* chore(helper-plugin): fix the circular dependencies and calls for react
2023-10-05 08:39:49 +01:00
Simone
46010896d6
[Blocks editor] Manage click Enter twice on the same line (#18255)
* refactor handle enter key function

* remove comment

* add a unit test

* refactor the solution to handle other possible scenarios

* fix some review comments

* change variable implementation based on review comment

* change comments
2023-10-05 09:32:03 +02:00
Rémi de Juvigny
7708cb098d
[Blocks] Replace alpha warnings by beta warnings (#18278)
* Replace alpha warnings by beta warnings

* Fix alert variant
2023-10-05 09:17:48 +02:00
Josh
ddcbafe9d9
tests(upload): fix error logs in upload tests (#18261)
* chore: add test utils

* test(upload): fix useModalQueryParams

* test(upload): fix TableRows

* test(upload): fix useConfig test

* test(upload): fix useFolder tests

* test(upload): fix useFolders test

* test(upload): fix SettingsPage tests

* test(upload): fix UploadAssetDialog tests

* test(upload): fix CarouselAssets tests
2023-10-04 16:03:02 +01:00
Rémi de Juvigny
59735af153
Fix code block styles (#18283) 2023-10-04 16:42:00 +02:00
Alexandre Bodin
290f9f1269 Apply feedbacks 2023-10-04 15:55:33 +02:00
Rémi de Juvigny
ab5a18e8aa
Set fixed 512px height for the whole editor (#18284) 2023-10-04 14:16:45 +02:00
Alexandre Bodin
c29b11186e Fix lint 2023-10-04 13:55:48 +02:00
Alexandre Bodin
4f44013229 fix unit tests 2023-10-04 13:53:11 +02:00
Alexandre Bodin
5c48b9b07e Merge branch 'main' into chore/ts-database 2023-10-04 13:36:07 +02:00
Madhuri Sandbhor
502bd29738
[Blocks Editor] Fix empty list backspace issue (#18260)
* fixed backspace key for empty list

* fixed backspace key for empty list

* added a check for handleBackspaceKey

* test case updated for ordered-list, colocated code for list block
2023-10-04 12:48:08 +02:00
Ben Irvin
93595cfdad
Merge branch 'main' into fix/dts-ws-timeout 2023-10-04 12:07:42 +02:00
markkaylor
9b2cfe1ae1
Fix blocks config (list, sort, filter, main field) (#18207) 2023-10-04 11:28:13 +02:00
markkaylor
a9e8ad6a64
Fix focus on select (#18193) 2023-10-04 11:22:11 +02:00
Fernando Chávez
428049c401
[Rich Text Editor] Add link plugin and buttons (#18195)
* add link plugin and buttons

* fix validations

* apply josh & madhuri feedback

* apply madhuri feedback

* apply mark's feedback

* fix tests
2023-10-04 10:23:23 +02:00
Josh
ee5c626501
chore: use yarn resolution for design-system (#18238)
* chore: use yarn resolution for design-system

* fix: helper-plugin types

* fix: color picker types
2023-10-04 09:01:56 +01:00
Rémi de Juvigny
3f54767ebc
[Blocks editor] Handle multi line quotes (#18200)
* Handle enter on quotes

* Add test case

* Remove italic style

* Remove log
2023-10-03 15:16:34 +02:00
Ben Irvin
3e16c7d49c end connection on handler errors 2023-10-03 14:49:43 +02:00
Simone
493eb0a58d
[Blocks editor] Manage mixed blocks selection (#18181)
* first draft multiblocks selection fix

* refactor multi blocks selection logic

* remove useless console log

* refactor getAchorBlockKey based on comments

* change test order

* refactor the search using matchNode

* add some comments to explain the useEffect

* fix comments syntax and typos

* fix comments syntax
2023-10-03 14:25:33 +02:00
Ben Irvin
2be93c9e10 handle errors in error responses 2023-10-03 13:42:05 +02:00
Ben Irvin
131bd19d4a improve error handling 2023-10-03 13:23:27 +02:00
Ben Irvin
62fdf33bb3 improve logging 2023-10-03 13:20:04 +02:00
Ben Irvin
878c921445 refactor and add catch block 2023-10-03 13:18:00 +02:00
Simone
08a62df085
Merge branch 'main' into feature/rich-text-editor 2023-10-03 09:10:18 +02:00
markkaylor
35cf6eed94
chore: bump design-system from 1.11.0 to 1.12.0 (#18241) 2023-10-02 18:21:23 +01:00
markkaylor
14a5e2fae8
[RTE] Make images truly void (#18205) 2023-10-02 18:43:35 +02:00
Josh
d8c13912ba
chore: update eslint (#18240)
* chore: update eslint deps & fix lint issues

* chore: update prettier

* fix: packagejson

* Revert "chore: update prettier"

This reverts commit 65f82dfa5b3b0a925fb0d86c20a7e555015c7b48.
2023-10-02 17:29:23 +01:00
Josh
2b6cb7373c
chore: remove stylelint (#18242) 2023-10-02 17:27:43 +01:00
Ben Irvin
7a78d05d61 use original values 2023-10-02 17:39:26 +02:00
Ben Irvin
b3cf7d6171 only set timeouts during a transfer 2023-10-02 16:59:05 +02:00
Ben Irvin
36543641bc write our own http timeout so websockets don't close 2023-10-02 16:25:04 +02:00
Ben Irvin
b0cb8ac3f1 disable koa timeout on ws connection 2023-10-02 12:38:29 +02:00
Ben Irvin
954e2ebf1f
Merge pull request #18180 from strapi/fix/17955-validation-allows-empty-objects 2023-10-02 09:34:05 +02:00
Convly
fdf3bba0c8 Remove parameters initialization from the Attribute.Any.Relation reference 2023-10-02 09:20:35 +02:00