Skip to content

Conversation

@didoda
Copy link
Member

@didoda didoda commented Jan 27, 2025

This introduces the possibility to customize "multiple upload page" and "drop files for upload" section of each relation in an object view.

You can set in configuration Modules.<name>.multiupload a custom element to render the multiple upload page, i.e.:

// in Modules.<name>
'multiupload' => [
    '_element' => 'MyPlugin.Form/multiupload',
],

The same pattern is used for dropupload configuration and section, i.e.:

// in Modules.<name>
'dropupload' => [
    '_element' => 'MyPlugin.Form/dropupload',
],

@didoda didoda added feature New feature or request release:minor labels Jan 27, 2025
@codecov
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.65%. Comparing base (fe029b4) to head (47179a3).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1220   +/-   ##
=========================================
  Coverage     99.65%   99.65%           
- Complexity     1321     1325    +4     
=========================================
  Files            97       97           
  Lines          5151     5164   +13     
=========================================
+ Hits           5133     5146   +13     
  Misses           18       18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@didoda didoda changed the title Customize upload: multi upload page and drop upload section Customize elements for upload: multi upload page and drop upload section Jan 27, 2025
@didoda didoda marked this pull request as ready for review January 27, 2025 14:02
@didoda didoda added this to the 5.x milestone Jan 28, 2025
@didoda didoda merged commit f30eb8c into bedita:master Jan 28, 2025
9 checks passed
@didoda didoda deleted the feat/customizable-upload-twig branch January 28, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request release:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant