237 Commits

Author SHA1 Message Date
Josh
ef4f3b64fe chore: add docs and tests
chore: remove compo

chore: add docs and tests for useFilter

chore: add tests & docs for useCollator
2023-04-18 11:14:24 +01:00
Ben Irvin
50db2e4402 remove out of date lerna references 2023-04-14 17:39:05 +02:00
Marc-Roig
4ef8732caf Merge branch 'main' into feature/private-s3-bucket 2023-03-08 10:56:03 +01:00
Simone Taeggi
951b0b3b0a add a tip to prevent errors in the useFetchClient requestURL format 2023-03-07 10:39:55 +01:00
Josh
f4f2b5ab2e fix: dont merge the state if the ID changes
fix: dont merge the state if the ID changes

fix: pass id to querykey & add cleanup method to useRelation hook

fix: pass defaultParams as part of the cache key

Revert "fix: reset cache for `relation` keys in i18n plugin"

This reverts commit 34b2fd9fabfcb93fb9f416616802e10b79133112.

fix: pass defaultParams as part of the cache key

chore: spread cachekey in search query

fix: move logic to useRelations hook that handles removing from the store.

fix: broken test

refactor: rename method to onUnmount
2023-03-03 14:17:23 +00:00
Marc-Roig
8ebd933d51 Merge branch 'main' into feature/private-s3-bucket 2023-02-28 11:53:09 +01:00
Christian
5c9a88be04
Merge pull request #15911 from strapi/docs/how-to-install-packages 2023-02-28 11:01:18 +01:00
Christian Capeans
df846baf72 Add possible error using yarn 2023-02-24 14:30:15 +01:00
Christian
3548c7c818
Update docs/docs/how-to-install-packages.md
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-02-24 14:07:15 +01:00
Christian
e841c31970
Update docs/docs/how-to-install-packages.md
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-24 14:06:24 +01:00
Christian Capeans
9b289f3b31 Fix small issues in the lerna docs 2023-02-24 11:56:44 +01:00
Marc
4c4f8e115d
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 21:00:29 +01:00
Marc
a273400ee6
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 21:00:22 +01:00
Marc
f75ad9facc
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 21:00:12 +01:00
Marc
89dc2e96d3
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 21:00:03 +01:00
Marc
44ac21fa2d
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:59:53 +01:00
Marc-Roig
930ca2c54b change intro file slug and tags 2023-02-23 20:58:38 +01:00
Marc-Roig
dc52a7a5ac improve algorithm steps description 2023-02-23 20:58:28 +01:00
Marc
c8b6b65ef1
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:35:19 +01:00
Marc
5437e6f10f
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:35:01 +01:00
Marc
eb3cb725aa
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:34:55 +01:00
Marc
935da9c575
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:34:45 +01:00
Marc
f4d38fb2b3
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:34:35 +01:00
Marc
83d87f24e9
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:34:22 +01:00
Marc
9de687b408
Update docs/docs/core/database/relations/reordering.mdx
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:34:12 +01:00
Marc
dc5b235f7d
Update docs/docs/core/database/intro.md
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-02-23 20:33:53 +01:00
Christian Capeans
ed010184b1 Add documentation to install with lerna 2023-02-23 16:02:54 +01:00
Marc-Roig
b1c48ac026 change extension to mdx 2023-02-23 10:45:08 +01:00
Marc-Roig
a0b49511cb add relations reordering docs 2023-02-23 10:44:07 +01:00
Marc-Roig
7a97783aa8 add upload docs 2023-02-19 18:08:10 +01:00
Nathan Pichon
8fae1a80ec
Merge branch 'main' into feature/async-reduce-utils 2023-02-13 16:54:25 +01:00
Josh
27a7ea1f64 chore: fix typo 2023-02-13 10:47:39 +00:00
Josh
262c527f30
Update docs/docs/core/permissions/how-they-work.mdx
Co-authored-by: Julie Plantey <71838159+ronronscelestes@users.noreply.github.com>
2023-02-13 10:46:43 +00:00
nathan-pichon
5b0e7f6903
feat(utils): add reduceAsync 2023-02-13 11:38:37 +01:00
Josh
bdee0f5dd3 docs(chore): fix typos 2023-02-13 10:25:23 +00:00
Pierre Noël
838e0d6c84 Fill page How Permissions Work 2023-02-13 10:25:23 +00:00
Josh
79d93f6987 docs: pr amends 2023-02-13 10:25:23 +00:00
Josh
f8935c340a docs: add using permissions doc page 2023-02-13 10:25:23 +00:00
Josh
0af6d97165 docs: re-write fetching-permissions 2023-02-13 10:25:23 +00:00
Josh
cd8693ba9b chore: add notes based on exploration 2023-02-13 10:25:23 +00:00
Gustav Hansen
2682132728 Docs: Add useApiErrorHandler hook documentation 2023-02-10 13:22:05 +01:00
Rémi de Juvigny
939f654212 Merge remote-tracking branch 'origin/main' into docs/event-hub 2023-02-06 10:14:43 +01:00
Josh
e5e24c0898 chore: tidy-up contributor docs 2023-02-03 17:12:20 +00:00
Rémi de Juvigny
a10bdcb88e Typescript spread args 2023-02-02 18:17:03 +01:00
Rémi de Juvigny
11045eaa95
Apply Mark suggestions
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2023-02-02 18:10:16 +01:00
Rémi de Juvigny
6e337aa5a1 Add event hub documentation 2023-02-02 12:59:45 +01:00
Nathan Pichon
2a71c8a855
Merge branch 'main' into feature/async-utils-function-map 2023-01-27 16:12:00 +01:00
nathan-pichon
3e532ebd0e
chore(async-utils): remove reduceAsync 2023-01-27 16:10:18 +01:00
nathan-pichon
63f4fd8e04
chore(utils): add async utils doc 2023-01-24 11:16:33 +01: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