Marc Roig
63bcc3ab4e
Merge pull request #18311 from strapi/chore/ts_entity_id
2023-10-06 10:41:37 +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
82035f18c9
chore: build strapi permissions with pack-up ( #18309 )
2023-10-05 18:13:45 +01:00
Alexandre Bodin
3f96522f72
Fix duplicate value in array
2023-10-05 18:19:38 +02:00
Alexandre Bodin
5d81caf7da
Merge branch 'main' into chore/ts-database
2023-10-05 18:08:36 +02:00
TousifAhmed
3a1cb32f56
fix: upload replaced media file ( #18301 )
2023-10-05 17:07:35 +01: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
Marc Roig
66cf7de61b
Merge branch 'main' into chore/ts_declaration_map
2023-10-05 17:53:07 +02:00
Josh
5dcfae1dbc
chore: pack-up providers ( #18320 )
...
* chore: convert upload-local
* chore: convert upload-cloudinary
* chore: convert upload-aws-s3
* chore: convert email-sendmail
* chore: convert email-sendgrid
* chore: convert email-nodemailer
* chore: convert email-mailgun
* chore: convert email-amazon-ses
* chore: convert audit-logs-local
* chore(utils): fix eslint error
2023-10-05 16:50:32 +01:00
Gustav Hansen
92d069a823
chore(admin): convert useDebounce to TS
2023-10-05 17:18:54 +02:00
Convly
8cc6a939c3
Replace ts-zen (github) with strapi/ts-zen (npm)
2023-10-05 16:38:46 +02:00
Alexandre Bodin
039115b9b3
Merge branch 'main' into chore/ts-database
2023-10-05 16:32:41 +02:00
Gustav Hansen
e9ee4789b7
chore(admin): convert useRegenerate to TS
2023-10-05 16:04:46 +02:00
Gustav Hansen
99d74cdc29
Merge pull request #18292 from strapi/chore/useNavigatorOnline-ts
...
chore(admin): Convert useNavigatorOnLine to TS
2023-10-05 15:59:34 +02:00
Josh
160ac2f527
chore: build strapi utils with pack-up ( #18308 )
...
* chore: build strapi utils with pack-up
* chore: remove build:ts from workflow
Update UploadAssetDialog.test.js
2023-10-05 14:47:35 +01:00
Marc-Roig
eb0cebb965
chore: move declarationMap tsconfig setting to base and client configs
2023-10-05 15:32:53 +02:00
Gustav Hansen
9c685d90f5
chore(admin): convert useLicenseLimitNotification to TS
2023-10-05 15:31:38 +02:00
Alexandre Bodin
5c05fe0908
Fix deps version
2023-10-05 15:23:26 +02:00
Marc-Roig
5344c4a866
chore: ignore .d.ts.map files when publishing packages
2023-10-05 15:22:31 +02:00
Alexandre Bodin
e1c117f84b
Merge branch 'main' into chore/ts-database
2023-10-05 15:22:20 +02:00
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
Marc-Roig
591952323f
feat: add document id in database
2023-10-05 08:35:36 +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