1245 Commits

Author SHA1 Message Date
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
Jamie Howard
894dfff65e
fix(upload): select all in list view (#20645) 2024-06-28 10:28:37 +01:00
Jamie Howard
74d7e9059c chore(upload): confirm dialog button color 2024-06-26 11:10:50 +01:00
Alexandre Bodin
a1a359742a fix: manage auth in redux store 2024-06-24 11:19:53 +02:00
Alexandre Bodin
3aee925501 fix: several media lib ui issues
fix: using open prop does not clear any state and create a lot of bugs

fix: crop
2024-06-20 17:27:42 +02:00
Alexandre Bodin
2fac4a3cfe fix: multiple is only available in attribute now 2024-06-17 17:58:33 +02:00
Josh
11011e9804
chore: integrate beta.5 of the design-system (#20431)
* chore: refactor admin

* chore: refactor content-manager

* chore: refactor plugins

* chore: refactor content-releases

* chore: refactor CTB

* chore: refactor i18n

* chore: refactor user-permissions

* chore: refactor upload plugin

* chore: update deps

* chore: fix ci

* chore: design fixes

* chore: update import

Co-Authored-By: Simone <startae14@gmail.com>

* fix: guided home tour check color

* chore: update snapshots

* chore: update to beta.6

* chore: update import

Co-authored-by: Simone <startae14@gmail.com>

* chore: more fixes

* chore: fix import syntax

Co-authored-by: Simone <startae14@gmail.com>

* chore: fixes

* fix(upload): snapshot

---------

Co-authored-by: Simone <startae14@gmail.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
2024-06-10 14:50:34 +01:00
Josh
5ff7024fc8
chore: update DS to 2.0.0-beta.4 (#20301) 2024-05-20 10:42:44 +01:00
Simone
c734c14d5f
feat(main-nav): Main nav refactoring, change links order (#20275)
* feat(main-nav): change links order in main nav

* feat(main-nav): add the position property to order links in the main nav

* feat(main-nav): refactor the sorting of the nav links

* feat(main-nav): add useCollator and format message to sort by name the links
2024-05-13 08:58:09 +02:00
Bassel Kanso
3bc72930fa Merge branch 'v5/main' into v5/replace-axios 2024-05-08 12:00:18 +03:00
Josh
b7c62568a8
chore!: update styled-components to 6 & update DS to 2.0.0-beta.3 (#20260)
* chore: update styled-components to 6

* chore: update admin

* chore: update CM

* chore: update ctb

* chore: update other plugin packages

* chore: update content-releases

* chore: update user-permissions

* chore: update upload

* chore: update fields to be dot notation

* chore: update tests

* chore: update yarn.lock

* chore: update snapshots

* chore: update deps

* chore: update snapshots

* fix: left menu

* test: add label prop to NavLink test

* chore: PR tweaks
2024-05-07 14:01:26 +01:00
Bassel Kanso
ab41b2e7ac Merge branch 'v5/main' into v5/replace-axios 2024-05-06 21:48:47 +03:00
Madhuri Sandbhor
63d70071de
chore: moved cms components from DS to admin (#20242)
* chore: move all CMS components from DS to admin

* fix: eslint config

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-06 09:29:44 +01:00
Bassel Kanso
6138ca5504 Merge branch 'v5/main' into v5/replace-axios 2024-05-02 16:22:04 +03:00
Rémi de Juvigny
f1dbaef309
chore: rename core packages (#20243)
* chore: remove plugin from cm package name

* chore: remove plugin from upload package name

* chore: remove plugin from email package name

* chore: remove plugin from ctb package name

* chore: remove plugin from i18n package name

* fix: plugin ids

* fix: v5 migratino

* fix: import order lint error
2024-05-02 09:07:50 -04:00
Bassel Kanso
833d0a7ccd chore: removing onUploadProgress from upload plugin 2024-05-02 13:32:54 +03:00
Bassel Kanso
fd55682955 Merge branch 'v5/main' into v5/replace-axios 2024-04-29 02:13:48 +03:00
Josh
5d000fb33c
chore: upgrade to DS 2.0.0-beta.2 (#20151) 2024-04-25 16:17:23 +01:00
Bassel Kanso
8f75d1e78a chore: making upload work with fetchClient 2024-04-23 17:12:52 +03:00
markkaylor
80e532931b
chore: merge develop into v5/main (#20126) 2024-04-16 18:06:25 +02:00
Ben Irvin
b003dee48e
chore: upgrade prettier to 3.2.5 2024-03-29 14:39:52 +01:00
Christian
8af582bab7
chore(admin): remove react-helmet (#19923)
* chore: remove react-helmet

* chore: lint fixes

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-27 10:02:40 +00:00
Josh
e11b6f2e96
chore(helper-plugin)!: move RBAC / remove auth / remove usePersistentState (#19847)
* chore(helper-plugin)!: move useRBAC

* chore: get tests working

* chore!: remove auth

* chore!: remove usePersistentState

* fix: refactor building admin package so it shares modules with different entries

* fix: session vs local
2024-03-20 11:39:59 +00:00