180 Commits

Author SHA1 Message Date
Josh
5acae2e2a9 chore: remove tracking mocks 2023-05-05 18:47:48 +01:00
Josh
4134c0e33b refactor: colocate code in helper-plugin features for clearer view
refactor: move Notification logic into helper-plugin

refactor: wip

fix: typo

chore: fix tests

chore: ensure contexts are still exported

Update packages/core/helper-plugin/src/features/OverlayBlocker.js

Update packages/core/helper-plugin/src/features/AutoReloadOverlayBlocker.js

Co-Authored-By: Gustav Hansen <gustav.hansen@strapi.io>
2023-04-26 09:06:18 +01:00
Josh
e438557f17 fix: check if mime or ext are nullish and replace with empty strings 2023-03-07 11:46:03 +00:00
Josh
cf179e35d3
Merge pull request #15831 from strapi/fix/useConfig-returns-null 2023-02-21 09:05:46 +00:00
Josh
9e9547a64e fix: always return an object if data is falsey
test: add test for falsey value
2023-02-15 17:48:51 +00: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
gitstart
dbd718e10c chore: resolves bug resulting form folder update
Co-authored-by: raph941 <raph941@gmail.com>
Co-authored-by: oxenprogrammer <emmy1000okello@gmail.com>
Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
2023-02-10 05:56:18 +00:00
Simone Taeggi
ab8ffd0686 replace axiosInstance in the useEditFolder hook to replace the api call with the useFetchClient post and put methods and update test 2023-01-26 15:16:24 +01:00
Simone Taeggi
0227276d32 replace axiosInstance in the useEditAsset hook to replace the api call with the useFetchClient post method 2023-01-26 14:53:45 +01:00
Simone Taeggi
97626c4dd4 replace axiosInstance in the useUpload hook to replace the api call with the useFetchClient post method 2023-01-26 13:27:34 +01:00
Simone Taeggi
da5c8f753f replace axiosInstance in the useFolderStructure hook to replace the api call with the useFetchClient get method and update test 2023-01-26 11:18:31 +01:00
Simone Taeggi
16fe20c6ad replace axiosInstance in the useFolder hook to replace the api call with the useFetchClient get method and update test 2023-01-26 10:39:57 +01:00
Simone Taeggi
c2e11e481e replace axiosInstance in the useFolders hook to replace the api call with the useFetchClient get method and update test 2023-01-26 10:26:45 +01:00
Simone Taeggi
d801ed12fe replace axiosInstance in the useConfig hook to replace the api call with the useFetchClient get and put methods and update test 2023-01-25 17:19:19 +01:00
Simone Taeggi
8f0366eac8 replace axiosInstance in the useBulkRemove hook to replace the api call with the useFetchClient get method and update test 2023-01-25 16:26:04 +01:00
Simone Taeggi
40dcc501d4 replace axiosInstance in the useBulkMove hook to replace the api call with the useFetchClient get method and update test 2023-01-25 15:50:29 +01:00
Simone Taeggi
803ff586ab replace axiosInstance in the useAssets hook to replace the api call with the useFetchClient get method 2023-01-25 15:28:28 +01:00
Gustav Hansen
85637195bb Chore: Upgrade axios to 1.2.1 2022-12-22 14:43:19 +01:00
Jamie Howard
d2abb0899a Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-12-19 09:47:05 +00:00
Julie Plantey
80626a65c8 fixed table displayed without assets or folders in BrowseStep + added a test case 2022-12-16 14:54:13 +01:00
Jamie Howard
12eb6ceb69 Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-12-12 10:07:23 +00:00
Jamie Howard
268efc629f chore(upload): review feedback 2022-12-12 10:05:22 +00:00
Gustav Hansen
a19579634c useEditAsset: Send folder.id instead of full folder object 2022-12-06 12:12:58 +01:00
Jamie Howard
c0f7a4cea6 Merge remote-tracking branch 'origin/feature/media-library-ctv' into feature/media-library-ctv-front 2022-11-15 11:33:35 +00:00
Jamie Howard
d7e3db84b6 chore(upload): test setup 2022-11-14 16:27:25 +00:00
Cooper Floyd
7c919b1e79 prevent caption and alternativeText from automatically populating with file name on upload 2022-11-04 13:48:23 -05:00
Jamie Howard
e6ca645460 feat(upload): configure the view in media library
test(upload): useConfig hook
2022-11-03 11:20:37 +00:00
Gustav Hansen
f916756a7e ML: Fix folder prop-types 2022-10-24 16:30:54 +02:00
Jamie Howard
11a193c8dc
Merge pull request #14463 from strapi/fix/search-encoding
Fix search query encoding
2022-10-04 16:46:00 +01:00
Jamie Howard
0f69f833b9 fix(helper-plugin): search query encoding 2022-09-23 10:14:48 +01:00
Convly
d4688c716a Fix instanciate => instantiate 2022-08-31 11:46:43 +02:00
Gustav Hansen
6da2461d3c BulkMoveButton: Fix prop-types 2022-08-23 13:55:54 +02:00
Alexandre Bodin
17866010b7 Apply no promise return 2022-08-11 10:20:50 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Julie Plantey
2774384c89 breadcrumbs in upload page 2022-07-31 16:39:47 +02:00
Gustav Hansen
887e7b8f7c ML: Add useTracking mocks in tests 2022-07-27 14:11:22 +02:00
ronronscelestes
967558c47f fixed tests 2022-07-05 12:04:13 +02:00
ronronscelestes
fd084ce96e Merge branch 'features/ML-folder' of https://github.com/strapi/strapi into ML-folder/track-events-front 2022-07-04 16:49:23 +02:00
ronronscelestes
45086ec764 didSelectAllMediaLibraryElements, didFilterMediaLibraryElements, didSortMediaLibraryElements, didSearchMediaLibraryElements, didAddMediaLibraryFolders 2022-06-23 10:54:13 +02:00
Gustav Hansen
1ae17aacdf
Merge pull request #13610 from strapi/ML-folder/remove-form-notifications
[ML Folder] Remove error notifications + trad fixes
2022-06-22 18:21:09 +02:00
ronronscelestes
e8b59315ae updated tests 2022-06-21 18:00:31 +02:00
Gustav Hansen
738f3c361f
Merge pull request #13601 from strapi/ML-folder/search-all-level
[ML folder] Search nested elements
2022-06-21 12:36:21 +02:00
ronronscelestes
7dc014a71b fixed form notifications 2022-06-21 10:09:00 +02:00
ronronscelestes
d1d3737c94 improved test coverage 2022-06-20 14:38:38 +02:00
ronronscelestes
21ab4ebd5b improve readbility in useAssets/useFolders 2022-06-15 17:59:20 +01:00
Gustav Hansen
419d44b117
Merge pull request #13548 from strapi/features/ML-folder-404
ML: Redirect to root, if a folder throws 404
2022-06-15 18:08:43 +02:00
Gustav Hansen
40046aa823 useFolder: Improve error message 2022-06-15 13:25:49 +02:00
ronronscelestes
35314df61d allowing search on all level 2022-06-14 18:33:49 +01:00
Julie Plantey
cd5341386e
Merge pull request #13549 from strapi/features/ML-folder-bulk-move-update
useBulkMove: Always re-fetch folders after a move action
2022-06-14 16:56:16 +02:00
Gustav Hansen
21b5ef6d7b
Merge pull request #13494 from strapi/ML-folder/edit-move-error
[ML Folder] Edit move error fixes
2022-06-14 16:00:40 +02:00