3850 Commits

Author SHA1 Message Date
Simone Taeggi
d8a449e2ed refactor the fetchClient to the getFetchClient utils 2022-11-15 12:48:32 +01:00
Jamie Howard
5c50587d64 Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-11-15 11:20:33 +00:00
Gustav Hansen
5f24350a48
Merge branch 'main' into chore/update-testing-library-react 2022-11-15 11:54:47 +01:00
Gustav Hansen
db6f0cd2b7
Merge pull request #14866 from strapi/chore/update-ds
chore: update design-system to 1.2.8
2022-11-15 11:53:43 +01:00
Mark Kaylor
2250ecb192 Create hook to lazy load custom field components 2022-11-15 11:52:43 +01:00
Gustav Hansen
65597622c6 Chore: Update @testing-library/react to 12.1.4 2022-11-15 11:15:30 +01:00
Gustav Hansen
6790ed2940
Merge pull request #14860 from strapi/chore/update-testing-hooks
Chore: Update @testing-library/react-hooks to 8.0.1
2022-11-15 11:12:33 +01:00
Gustav Hansen
100e78cb62
Merge pull request #14858 from strapi/chore/update-testing-library-dom
Chore: Update @testing-library/dom to 8.19.0
2022-11-15 11:12:11 +01:00
Josh
f0e94fde66 chore: update design-system to 1.2.8 2022-11-15 09:01:04 +00:00
Bart Lagerweij
1f356cccde
Update/add dutch translations
Some dutch translations where missing. They have been added.
Also a few bad translations have been fixed.
2022-11-15 09:53:28 +01:00
Gustav Hansen
ee75ce9e32 Chore: Update @testing-library/react-hooks to 8.0.1 2022-11-14 18:39:19 +01:00
Gustav Hansen
03d815ea17 Chore: Update @testing-library/dom to 8.19.0 2022-11-14 18:38:56 +01:00
Josh
5a5d4b192a fix: mainField name 2022-11-14 16:21:04 +00:00
Josh
3bb40a9e4c refactor: use path.dirname on require.resolve 2022-11-14 16:12:50 +00:00
Josh
3f7eb66647 chore: pr amends 2022-11-14 16:04:26 +00:00
Simone Taeggi
4da811c322 create a util to wrap the old axiosInstance implementations and log the warning 2022-11-14 16:36:30 +01:00
Josh
8017534e20 chore: use find-root to find root relative to the CJS version 2022-11-14 14:04:05 +00:00
Simone
cde2230426
Merge branch 'main' into enhancement/axios-refactoring 2022-11-14 14:11:56 +01:00
Josh
8f708964ea refactor: refactor from another PR from main 2022-11-14 12:37:08 +00:00
Josh
8c83e9d508 Merge branch 'main' into fix/dynamic-zone-reorder-values 2022-11-14 12:36:36 +00:00
Josh
0dee68a41d fix: broken test with AddComponentButton 2022-11-14 12:21:02 +00:00
Josh
cb9ed96340 test: add DynamicZone index tests 2022-11-14 12:16:49 +00:00
Josh
7335dc0844 test: add tests for DynamicComponent 2022-11-14 11:45:22 +00:00
Josh
137f33dbfa chore: use path.resolve instead of require
because this assumes we must always use CJS
2022-11-14 10:27:54 +00:00
Josh
c58d5a8692 test: add tests for DynamicZone sub components 2022-11-14 10:26:34 +00:00
dependabot[bot]
5366eb64fa
chore(deps): bump css-loader from 6.7.1 to 6.7.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.1 to 6.7.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.1...v6.7.2)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 09:19:07 +00:00
Alve Svarén
2207f0c22e
Merge branch 'main' into master 2022-11-13 14:55:31 +01:00
Simone Taeggi
68fee16bd2 Wrap axiosInstance inside a wrapper to contain the warnings 2022-11-11 17:54:11 +01:00
Ben Irvin
8d59794fbe
Merge branch 'main' into fix/14802-postgres-token-duration 2022-11-11 14:27:56 +01:00
Simone
4a211a50d0
Merge branch 'main' into enhancement/axios-refactoring 2022-11-11 14:09:13 +01:00
Gustav Hansen
d37c693b88
Merge pull request #14668 from strapi/dependabot/npm_and_yarn/fortawesome/fontawesome-svg-core-6.2.0
chore(deps): bump @fortawesome/fontawesome-svg-core from 6.1.2 to 6.2.0
2022-11-11 14:01:10 +01:00
Gustav Hansen
ab1d9e66b3 Chore: Fix eslint errors 2022-11-11 13:10:56 +01:00
Gindilla Péter
9b2d5b0e6f fixing format issues (lint (node: 18)) 2022-11-11 13:03:50 +01:00
Gindilla Péter
46851af65a fixing 'id' mainField (no title field), and empty display value not need separator. 2022-11-11 13:03:50 +01:00
Godzzo
20ccfeb2ac separate imports for better tree shaking
Co-authored-by: Gustav Hansen <gu@stav.dev>
2022-11-11 13:03:50 +01:00
godzzo
56607b6842 adding wrapper (connect, select) for using mainValue as prop in DynamicZone/Component 2022-11-11 13:03:50 +01:00
godzzo
20f7fedd9c Remove length limit from displayedValue, and move useMainValue.js to the proper hooks/ folder. 2022-11-11 13:03:50 +01:00
godzzo
600df900f1 decouple the getDisplayedValue logic for unit testing from useMainValue and add a unit test for it - without call the test. 2022-11-11 13:03:50 +01:00
godzzo
7afa200622 console.log removed, mainValue length limited to 50 chars, componentFieldName (string) parameter reorged to componentFieldPath (array) 2022-11-11 13:03:50 +01:00
godzzo
469ff7e100 DynamicZone - extend FriendlyName with MainValue like RepeatableComponent
This commit fixes #12499
2022-11-11 13:03:50 +01:00
Josh
4bf9291ccd refactor: existing DZ tests 2022-11-11 11:58:54 +00:00
Simone
4c2ca3c5e4
Merge branch 'main' into fix/14802-postgres-token-duration 2022-11-11 10:26:53 +01:00
Simone
2c234d4d2d
Merge branch 'main' into enhancement/axios-refactoring 2022-11-11 10:19:51 +01:00
Simone
1736610906
Merge branch 'main' into enhancement/date-time-picker-ds-in-strapi 2022-11-10 21:35:29 +01:00
Josh
9487d0c9a5 refactor: simplify component 2022-11-10 17:47:26 +00:00
Simone Taeggi
b97f304677 update snapshots 2022-11-10 18:38:33 +01:00
Ben Irvin
7507b9f5dd fix comment 2022-11-10 18:10:48 +01:00
Simone
c5d2b08fc4
Merge branch 'main' into enhancement/date-time-picker-ds-in-strapi 2022-11-10 17:48:37 +01:00
Ben Irvin
06a4a0265c add api integration tests for 30 and 90 day tokens 2022-11-10 17:44:51 +01:00
Simone Taeggi
426331347d update beta version and snapshots 2022-11-10 17:42:01 +01:00