1267 Commits

Author SHA1 Message Date
Simone Taeggi
bda1f810b8 fix: add mock of the cropper.css import to avoid having failing tests 2025-06-17 09:26:33 +02:00
Simone Taeggi
267375bdc0 fix: add solution provided by community user 2025-06-10 11:45:44 +02:00
Simone Taeggi
fa3ec797cd fix: remove rollup config and change cropper css file path 2025-06-10 10:41:59 +02:00
Adrien Lepoutre
c1c86417e9 chore: strapi DS v2.0.0-rc.25 bump 2025-06-06 16:06:29 +02:00
Adrien Lepoutre
2f28b9dcef fix(upload): switching tab when updating pagination 2025-06-03 16:46:30 +02:00
Alexandre BODIN
91d969b695
Merge pull request #23615 from strapi/fix/support-undefined-allowed-types
fix: issue #23572 support undefined allowed types
2025-06-02 10:20:38 +02:00
Alexandre BODIN
4aa8ff0ba4 fix: issue #23572 support undefined allowed types 2025-05-28 09:57:12 +02:00
Adrien Lepoutre
fadf9c964c fix: broken pagination in content manager assets modal 2025-05-26 17:03:09 +02:00
Simone
27b590bee9
chore: strapi DS v2.0.0-rc.24 (#23580)
* chore: strapi DS v2.0.0-rc.24 bump

* chore: fix snapshot tests
2025-05-23 15:32:00 +02:00
Bassel Kanso
c8de96f027
Test: replace snapshot tests (#23409)
---------

Co-authored-by: Jamie Howard <jhoward1994@gmail.com>
2025-05-05 11:05:29 +03:00
Den
93631651c3
fix: Error MISSING_TRANSLATION errors for locale 'ru' (#21575)
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Hannah Paine <151527179+hanpaine@users.noreply.github.com>
2025-04-30 14:41:37 +01:00
Simone
91ff5b63ca
chore: strapi DS v2.0.0-rc.22 (#23372) 2025-04-16 17:30:28 +02:00
HichamELBSI
daac815e03 chore: strapi DS v2.0.0-rc.21 2025-03-28 12:26:42 +01:00
Ivan Malaniak
9a7418f343
enhancement: add missing Ukrainian translations for various plugins and components (#22150)
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2025-02-26 19:46:18 +02:00
Lucas Boilly
bfd160f0c6
fix: corrected typing mistake in translation key (#22766)
Co-authored-by: Simone <startae14@gmail.com>
2025-02-07 09:42:48 -05:00
Jorrit Schippers
c2c5eafc02
fix(upload): window title in media library (#22806)
Signed-off-by: Jorrit Schippers <jorrit@ncode.nl>
2025-02-07 09:56:10 +01:00
dhoko
4656e5d415
enhancement: better log informations about the errors for yup validations messages (#22001) 2025-02-06 15:42:10 +02:00
Rémi de Juvigny
941474818c
chore(deps): bump design system to rc.16 (#22788)
* chore: bump design system to rc.15

* chore: upgrade design system to rc.16

* fix: snapshots
2025-02-05 04:30:11 -05:00
Andrew Bone
b50a091c41
Fix 'whoops' spelling disagreement (#22728) 2025-01-31 09:06:00 +01:00
Alexandre Bodin
3be592e7ed Merge branch 'develop' into chore/rollup 2025-01-29 17:47:50 +01:00
Mukul Padwal
64ae96a8f1
fix(upload): hide checkbox in upload modal by default (#22093) 2025-01-29 11:07:29 +01:00
Alexandre Bodin
92055a7fb1 chore: use rollup
chore: fetch template only if name matches name convention

chore: linting

chore: fix tests

chore: fix npm scripts

test: try to fix test
2025-01-23 16:28:23 +01:00
Mohamed Dilshad
058cd797ee
fix(upload): cleaner fallback for files preview (22100) (#22351) 2024-12-06 13:05:43 +01:00
Alexandre Bodin
651b22d8b9 chore: test-snapshots 2024-11-27 11:02:09 +01:00
Alexandre Bodin
e997beffb8 chore: re-add some controls 2024-11-26 18:46:50 +01:00
Alexandre Bodin
0002463618 Merge branch 'develop' into mux-player 2024-11-26 18:45:26 +01:00
Simone
eba25ec571
fix: change MediaLibraryInput attribute type from required to optional (#22265) 2024-11-25 16:19:51 +01:00
Sora Morimoto
dd53b0048b feat: use mux player for video
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2024-11-22 16:53:27 +09:00
Sam Phillemon
f17a7b85a8
fix(upload): fixed the caching issue in media-lib new folder (#21893) 2024-11-15 15:28:19 +01:00
Marc Roig
69f18c8c7e
fix: allow cross origin sources when cropping images (#22126) 2024-11-13 09:44:27 +01:00
Simone
ea6e3b80ab
chore: migrate media-library pages to Typescript (#21896)
* chore: migrate to TS AudoPreview component

* chore: migrate to TS PaginationContext component

* chore: migrate to TS Pagination component

* chore: migrate to TS PaginationFolder components

* chore: migrate to TS PaginationFooter index component

* chore: migrate to TS isSelectable util

* chore: migrate to TS PageSize component

* chore: migrate to TS DialogFooter component

* chore: migrate to TS Draggable component

* chore: migrate to TS ContextInfo component

* chore: migrate to TS ContextInfo test and index component

* chore: migrate to TS PreviewBox components file

* chore: migrate to TS DialogHeader component

* chore: migrate to TS RemoveFolderDialog

* chore: migrate to TS EmptyAssetGrid

* chore: migrate to TS EmptyAssets index file

* chore: migrate to TS AssetCardBase

* chore: migrate to TS AudioAssetCard component

* chore: migrate to TS DocAssetCard component

* chore: migrate to TS ImageAssetCard component

* chore: migrate to TS AssetCard unit tests

* chore: migrate to TS SearchAsset component

* chore: migrate to TS UploadProgress component

* chore: migrate to TS FromComputerForm component

* chore: migrate to TS FromUrlForm component

* chore: migrate to TS AddAssetStep component

* chore: migrate to TS VideoPreview component

* chore: migrate to TS VideoAssetCard component

* chore: migrate to TS UploadingAssetCard component

* chore: migrate to TS PreviewCell component

* chore: migrate to TS CellContent component

* chore: migrate to TS TableRows component

* chore: migrate to TS TableList component

* chore: migrate to TS SortPicker component

* chore: migrate to TS Option component with utils

* chore: migrate to TS EmptyStateAsset and CarouselAsset

* chore: migrate to TS CopyLinkButton component

* chore: migrate to TS CarouselAssetActions component

* chore: migrate to TS FolderGridList component

* chore: migrate to TS FolderCardContext

* chore: migrate to TS FolderCard component

* chore: migrate to TS FolderCardBody component

* chore: migrate to TS FolderCardBodyAction component

* chore: migrate to TS FolderCardCheckbox component

* chore: migrate to TS FolderCard unit test

* chore: migrate to TS getFilterList

* chore: migrate to TS FilterValueInput component

* chore: migrate to TS FilterTag

* chore: migrate to TS FilterList

* chore: migrate to TS EditFolderModalHeader component

* chore: migrate to TS AssetPreview component

* chore: migrate to TS CroppingActions component

* chore: migrate to TS RemoveAssetDialog component

* chore: migrate to TS ReplaceMediaButton component

* chore: migrate to TS AssetCard component

* chore: migrate to TS AssetGridList

* chore: migrate to TS PendingAssetStep component

* chore: migrate to TS SelectedStep component

* chore: migrate to TS PreviewBox component

* chore: migrate to TS SelectTree

* chore: migrate to TS SelectTree unit test

* chore: migrate to TS BulkMoveDialog

* chore: migrate to TS EditFolderContent component

* chore: migrate to TS FilterValueInput

* chore: migrato to TS CrumbSimpleMenuAsync

* chore: migrate to TS Breadcrumbs

* chore: migrate to TS Filters component

* chore: migrate to TS EditAssetDialog

* chore: migrate to TS CarouselAssets

* chore: migrate to TS UploadAssetDialog and BrowseStep

* chore: migrate to TS BrowseStep test

* chore: migrate to TS AssetDialog component

* chore: migrate to TS MediaLibraryDialog component

* chore: migrate to TS MediaLibraryDialog component

* chore: remove a useless type guard

* chore: fix small stuff

* chore: fix BulkMoveDialog unit test

* chore: fix some types

* chore: fix prettier problems

* chore: migrate to TS EmptyOrNoPermissions component

* chore: migrate to TS BulkDeleteButton component

* chore: migrate to TS BulkMoveButton component

* chore: fix prettier errors

* chore: migrate to TS reducer settings page

* chore: migrate to TS init in the settings page

* chore: fix review's comments

* chore: migrate to TS SettingsPage

* chore: migrate to TS init ConfigureTheView

* chore: migrate to TS the ConfigureTheView redux definition

* chore: migrate to TS ConfigureTheView Settings page

* chore: fix review comments

* chore: migrate to TS ConfigureTheView page

* chore: migrate to TS BulkDeleteButton and BulkMoveButton

* chore: migrate to TS EmptyOrNoPermissions

* chore: migrate to TS Header in MediaLibrary page

* chore: migrate to TS Header

* chore: migrate to TS BulkActions in App page

* chore: migrate to TS BulkActions

* chore: migrate to TS Filters component

* chore: migrate to TS MediaLibrary page

* chore: migrate to TS App page

* chore: migrate to TS index entry point

* chore: replace newConstants with constants and fix some configuration files

* chore: fix lint errors

* chore: fix build errors

* chore: fix review comments

* chore: remove tag from Header component

* chore: fix remaining eslint error, add todo to the ex index files

* chore: fix breadcrumbs error
2024-11-08 17:22:43 +01:00
Archana Agivale
c54031ab6f
fix: fix issue 21253 [Design] Select Files tab content on the Asset Field #21253 (#21587)
Ref : #21253

Co-authored-by: Simone <startae14@gmail.com>
2024-11-08 09:47:39 +01:00
Rémi de Juvigny
cd49060e03
chore: bump design system to 2.0.0-rc.12 (#22043)
* chore: bump design system dep

* fix: remove showBullet prop from Status components

* chore: snapshot updates
2024-11-04 04:00:05 -05:00
Simone
442516adad
chore: migrate media-library components to Typescript (#21622)
* chore: migrate to TS AudoPreview component

* chore: migrate to TS PaginationContext component

* chore: migrate to TS Pagination component

* chore: migrate to TS PaginationFolder components

* chore: migrate to TS PaginationFooter index component

* chore: migrate to TS isSelectable util

* chore: migrate to TS PageSize component

* chore: migrate to TS DialogFooter component

* chore: migrate to TS Draggable component

* chore: migrate to TS ContextInfo component

* chore: migrate to TS ContextInfo test and index component

* chore: migrate to TS PreviewBox components file

* chore: migrate to TS DialogHeader component

* chore: migrate to TS RemoveFolderDialog

* chore: migrate to TS EmptyAssetGrid

* chore: migrate to TS EmptyAssets index file

* chore: migrate to TS AssetCardBase

* chore: migrate to TS AudioAssetCard component

* chore: migrate to TS DocAssetCard component

* chore: migrate to TS ImageAssetCard component

* chore: migrate to TS AssetCard unit tests

* chore: migrate to TS SearchAsset component

* chore: migrate to TS UploadProgress component

* chore: migrate to TS FromComputerForm component

* chore: migrate to TS FromUrlForm component

* chore: migrate to TS AddAssetStep component

* chore: migrate to TS VideoPreview component

* chore: migrate to TS VideoAssetCard component

* chore: migrate to TS UploadingAssetCard component

* chore: migrate to TS PreviewCell component

* chore: migrate to TS CellContent component

* chore: migrate to TS TableRows component

* chore: migrate to TS TableList component

* chore: migrate to TS SortPicker component

* chore: migrate to TS Option component with utils

* chore: migrate to TS EmptyStateAsset and CarouselAsset

* chore: migrate to TS CopyLinkButton component

* chore: migrate to TS CarouselAssetActions component

* chore: migrate to TS FolderGridList component

* chore: migrate to TS FolderCardContext

* chore: migrate to TS FolderCard component

* chore: migrate to TS FolderCardBody component

* chore: migrate to TS FolderCardBodyAction component

* chore: migrate to TS FolderCardCheckbox component

* chore: migrate to TS FolderCard unit test

* chore: migrate to TS getFilterList

* chore: migrate to TS FilterValueInput component

* chore: migrate to TS FilterTag

* chore: migrate to TS FilterList

* chore: migrate to TS EditFolderModalHeader component

* chore: migrate to TS AssetPreview component

* chore: migrate to TS CroppingActions component

* chore: migrate to TS RemoveAssetDialog component

* chore: migrate to TS ReplaceMediaButton component

* chore: migrate to TS AssetCard component

* chore: migrate to TS AssetGridList

* chore: migrate to TS PendingAssetStep component

* chore: migrate to TS SelectedStep component

* chore: migrate to TS PreviewBox component

* chore: migrate to TS SelectTree

* chore: migrate to TS SelectTree unit test

* chore: migrate to TS BulkMoveDialog

* chore: migrate to TS EditFolderContent component

* chore: migrate to TS FilterValueInput

* chore: migrato to TS CrumbSimpleMenuAsync

* chore: migrate to TS Breadcrumbs

* chore: migrate to TS Filters component

* chore: migrate to TS EditAssetDialog

* chore: migrate to TS CarouselAssets

* chore: migrate to TS UploadAssetDialog and BrowseStep

* chore: migrate to TS BrowseStep test

* chore: migrate to TS AssetDialog component

* chore: migrate to TS MediaLibraryDialog component

* chore: migrate to TS MediaLibraryDialog component

* chore: remove a useless type guard

* chore: fix small stuff

* chore: fix BulkMoveDialog unit test

* chore: fix some types

* chore: fix prettier problems

* chore: fix review's comments

* chore: fix review comments
2024-10-31 10:00:13 +01:00
Rémi de Juvigny
f52f276833
enhancement: add copy preview url button (#21780)
* enhancement: add copy preview button

* chore: remove useClipboard from upload plugin
2024-10-14 04:16:34 -04:00
Simone
df8fc36161
chore: migrate media-library hooks to Typescript (#21554)
* chore: migrate to TS useConfig

* chore: migrate to TS useCropImg

* chore: migrate to TS useRemoveAsset

* chore: migrate to TS useEditFolder

* chore: migrate to TS useMediaLibraryPermissions

* chore: migrate to TS rename-keys

* chore: migrate to TS useFolderStructure

* chore: migrate to TS useBulkRemove

* chore: migrate to TS useModalQueryParams

* chore: migrate to TS useBulkMove

* chore: migrate to TS useAssets

* chore: migrate to TS useEditAsset

* chore: migrate to TS useFolder

* chore: migrate to TS useFolders

* chore: migrate to TS useUpload

* chore: fix review's comments

* chore: fix get call response type
2024-10-07 09:29:08 +02:00
Simone
38dcf9a2f0
chore: migrate media-library utils to Typescript (#21532)
* chore: migrate to TS typeFromMime

* chore: migrate to TS toSingularTypes

* chore: migrate to TS prefixPluginTranslations

* chore: migrate to TS prefixFileUrlWithBackendUrl

* chore: migrate to TS moveElement

* chore: migrate to TS getTrad

* chore: migrate to TS getFileExtension

* chore: migrate to TS containsAssetFilter

* chore: migrate to TS displayedFilters

* chore: migrate to TS downloadFile

* chore: remove findRecursiveFolderMetadatas because is unused

* chore: migrate to TS appendSearchParamsToUrl

* chore: migrate to TS formatBytes

* chore: migrate to TS formatDuration

* chore: migrate to TS urlYupSchema

* chore: migrate to TS urlsToAssets

* chore: migrate to TS rawFileToAsset

* chore: migrate to TS getFolderURL

* chore: migrate to TS getFolderParents

* chore: migrate to TS createAssetUrl

* chore: migrate to TS findRecursiveFolderByValue

* chore: migrate to TS getAllowedFiles

* chore: migrate to TS getBreadcrumbDataCM

* chore: migrate to TS normalizeAPIError

* chore: migrate to TS getAPIInnerErrors

* chore: migrate to TS getBreadcrumbDataML and change the utils imports

* chore: fix export from index

* chore: reduce the errors type definition

* chore: change Query type

* chore: change the way utils are exported in the index

* chore: reduce the code in the custom declaration type file
2024-10-04 16:57:43 +02:00
Archana Agivale
5007ea441d
Fixed issue 20843 : Wrong numbers are displayed media library (#21459)
* fixed issue Wrong numbers are displayed (total assets and folders) when doing bulk action in the Media Library

* fix: fix for wrong number display when bulk action in media library
#20843

* fix: fix test case for wrong number not display in media library
Ref : #20843

* fix: fix eslint issues in CI
2024-09-30 14:30:48 +02:00
Lucas Boilly
4052765aa2
fix: added a gap between the 2 icon buttons (#21449)
* fix: Added a gap between the 2 icon buttons

* fix: updated snapshot
2024-09-26 08:23:20 -04:00
Dhruv Chheda
69ef78b471
fix: Filter by text field with "&" symbol doesn't work #20271 (#21406)
* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering
2024-09-26 11:23:47 +02:00
Simone
c7b2b2abcc
chore: migrate media-library initial setup (#21375)
* chore: migrate and create config files for the migration

* chore: migrate test utils to TS

* chore: fix the typo

* chore: fix eslint errors

* chore: fix prettier error
2024-09-24 11:01:14 +02:00
Rémi de Juvigny
71fa7e4aa0
chore: bump DS 2.0.0-rc.10 (#21137)
* chore: upgrade to design rc.10

* fix: remove extra margin in actions menu

* chore: updte snapshots
2024-09-04 07:59:18 -04:00
Alexandre BODIN
1979f290c7
Merge pull request #21088 from strapi/fix/medium-issues
fix: multiple v5 issues
2024-08-28 10:13:01 +02:00
Alexandre Bodin
d33d537a5e fix: https://github.com/strapi/strapi/issues/20899 2024-08-27 18:39:52 +02:00
Alexandre Bodin
0908fdc5e7 fix: uncheck files on Media Library 2024-08-26 19:40:00 +02:00
Madhuri Sandbhor
21263d2c2b
chore: bump DS 2.0.0-rc.9 (#20936)
* chore: bump DS RC-8

* chore: bump DS RC-9 and some ui fixes

* fix: main nav user icon style fixed, rich text nav icons fixed, publish action edit icon fixed

* chore: fix review's comments

* chore: update snapshot test

* chore: update snapshot

---------

Co-authored-by: Simone Taeggi <startae14@gmail.com>
2024-08-23 15:50:41 +02:00
Ben Irvin
8d950c6dc5
test(front): enable skipped tests (#21043) 2024-08-22 10:44:20 +02:00
Madhuri Sandbhor
9192781fb6
chore: bump DS rc-7 (#20860)
* chore: design system and icons bumped, grid item style adjusted

* fix: type error fixed

* fix: upload and users-permission tests fixed

* fix: tests fixed

* fix: add to dynamic zone button style updated

* fix: styling issues fixed for DZ component button and color picker

* fix: snapshot updated

* fix: fieldset border width removed, popover menu icon color updated

* fix: wysiwyg expand collapse button styles

* fix: ds deps bumped

* fix: editorlayout wrapper style fixed, panels actions style fixed

* fix: more button icon centered, man nav icons size fixed

* fix: help button style fixed

* fix: email settings button fixed
2024-07-31 14:22:27 +02:00
Jamie Howard
10f4e4a11c
fix(upload): mock usefolderstructure to fix flaky frontend test (#20864) 2024-07-25 09:52:46 +01:00
Rémi de Juvigny
d938b73b42
fix: show media dialog in blocks and markdown editors (#20846)
* fix: show media dialow in blocks and markdown editors

* fix: creating folders

* chore: remove unnecessary onClose code
2024-07-18 04:55:34 -04:00