600 Commits

Author SHA1 Message Date
Gustav Hansen
e4c0d0bf19 Chore: Remove whatwg-fetch polyfill 2023-02-20 11:55:54 +01:00
Josh
6b17f8ad12 chore: convert all files to single imports of the DS & icons
chore: remove eslint rule

chore: update snapshots

chore: update snapshots

chore: add eslint rule to stop direct imports apart from v2
2023-02-15 17:23:59 +00:00
Jamie Howard
04e8ed121c
Merge pull request #15692 from strapi/feature/enhance-min-max-errors 2023-02-15 13:17:07 +00:00
Rémi de Juvigny
839d677c8f Remove the associated actions 2023-02-14 18:52:53 +01:00
Gustav Hansen
5f4265bf49 Chore: Complete JSDoc comments 2023-02-10 13:31:17 +01:00
Jamie Howard
639e1d1033 refactor(helper-plugin) 2023-02-10 12:02:28 +00:00
Gustav Hansen
8ef88457b3
Merge branch 'main' into fix/api-errors-fe 2023-02-10 12:59:37 +01:00
Jamie Howard
6d5fd07184 refactor(helper-plugin): extract params based on error type
test(helper-plugin): getYupInnerErrors
2023-02-10 11:48:02 +00:00
Jamie Howard
d4e111a027 refactor(helper-plugin): function for extracting error values 2023-02-07 17:14:52 +00:00
Mark Kaylor
b437225fc4 Merge branch 'main' of github.com:strapi/strapi into audit-logs/add-filters 2023-02-07 11:14:32 +01:00
markkaylor
b4c67d427e
Merge pull request #15706 from strapi/chore/bump-ds-dep
Bump design system from 1.6.1 to 1.6.3
2023-02-07 11:14:05 +01:00
markkaylor
f0ff25c27a
Merge branch 'main' into chore/bump-ds-dep 2023-02-06 18:24:49 +01:00
Mark Kaylor
f97c352fa0 Update snapshots 2023-02-06 18:24:10 +01:00
markkaylor
18dec12617
Merge branch 'main' into fix/json-input-validation 2023-02-06 09:38:15 +01:00
Mark Kaylor
4bc7afc769 Update snapshots 2023-02-03 14:48:38 +01:00
Mark Kaylor
101b1072c2 Update comment 2023-02-03 11:53:13 +01:00
Mark Kaylor
caa4720005 Fix validation blocking valid submission 2023-02-03 11:43:09 +01:00
Simone Taeggi
ea15154849 squash and merge all the code related to the axios migration to use useFetchClient and getFetchClient in the admin 2023-02-03 10:41:34 +01:00
Jamie Howard
e2d8282e81 feat(helper-plugin): getYupInnerErrors use yup params in error messaging 2023-02-02 15:41:35 +00:00
Mark Kaylor
ab87379d48 Add empty line between tests 2023-01-31 14:03:05 +01:00
Mark Kaylor
04630cdf98 Make schema optional on mainField 2023-01-31 13:46:39 +01:00
Mark Kaylor
83a980fe93 Add snapshot test 2023-01-31 10:13:31 +01:00
Mark Kaylor
d371b73189 Update size 2023-01-31 10:13:14 +01:00
Mark Kaylor
67750e0f82 Add test to AttributeTag for options with custom values 2023-01-30 14:16:31 +01:00
Mark Kaylor
da6c61f4c1 Replace ternary with nullish coalescing operator 2023-01-30 14:16:31 +01:00
Mark Kaylor
bc67959e82 Remove fieldSchema.type 2023-01-30 14:15:33 +01:00
Mark Kaylor
fb8098d3a8 Improve filter Inputs component condition 2023-01-30 14:15:33 +01:00
Mark Kaylor
377f5e8e8a Add audit log filters 2023-01-30 14:15:33 +01:00
Mark Kaylor
401b348f7a Remove rest spread 2023-01-27 11:52:30 +01:00
Mark Kaylor
f882ec69c0 Add the new JSONInput from the DS to the CM 2023-01-27 11:46:31 +01:00
Gustav Hansen
d6d31857b1 Chore: Minor code cleanup 2023-01-25 16:42:02 +01:00
Gustav Hansen
e565118862 Fix getAPIInnerErrors() tests 2023-01-25 15:08:58 +01:00
Gustav Hansen
9a6ead1124 Refactor normalizeAPIError 2023-01-25 15:08:42 +01:00
Gustav Hansen
54142e5eaf Improve error normalization 2023-01-25 13:33:19 +01:00
Gustav Hansen
f5b3f91a32 Make formatAPIError() largely independent from the error type 2023-01-25 13:33:19 +01:00
Gustav Hansen
6e519d713c Add useAPIErrorHandler() hook 2023-01-25 13:33:16 +01:00
Gustav Hansen
8e9f2b74ed Enhancement: Add API error handling utilities 2023-01-25 13:32:40 +01:00
Jamie Howard
ea95c70ae3 refactor(helper-plugin): simplify useFieldHint 2023-01-23 14:38:18 +00:00
Jamie Howard
2acdc52f30 fix(helper-plugin): simplify translation string 2023-01-23 09:59:26 +00:00
Jamie Howard
6150b67915 Merge remote-tracking branch 'origin/main' into feature/min-max-description 2023-01-20 13:59:48 +00:00
Jamie Howard
c3fd52c24a fix(helper-plugin): make units translatable
refactor(helper-plugin)

fix(helper-plugin):combine translation strings
2023-01-20 12:41:59 +00:00
Jamie Howard
688baffb9c fix(helper-plugin): BigInt mistake 2023-01-20 08:44:18 +00:00
Jamie Howard
98fdd17fcd chore(helper-plugin): useFieldHint variable naming 2023-01-19 16:09:44 +00:00
Jamie Howard
9a47143859 chore(helper-plugin) 2023-01-19 16:03:48 +00:00
Jamie Howard
68984c20e1 fix(helper-plugin): make useFieldHint translatable
test(helper-plugin): getFieldUnits

feat(I18n): add en.json translations for min/max descriptions

feat(content-manager): support min/max descriptions in Wysiwyg and BIGINT inputs

test(content-manager): getMinMax
2023-01-19 15:55:14 +00:00
Josh
fb0f59788a chore: install design-system 1.5.0 2023-01-18 12:07:24 +00:00
Jamie Howard
1b8044726f chore: docs
fix(helper-plugin): useFieldHint dependencies array
2023-01-18 09:48:47 +00:00
Simone
0a4a76112a
Merge pull request #15400 from strapi/enhancement/axios-migration-step-1-refactor
axios migration refactoring useFetchClient and getFetchclient
2023-01-18 10:36:17 +01:00
ivanThePleasant
76b7edd61c
Merge branch 'main' into chore/notification-variant 2023-01-17 17:12:40 +02:00
Jamie Howard
402617b5f0 chore: feedback fixes 2023-01-17 14:53:17 +00:00