Skip to content

Commit 7024949

Browse files
committed
TINY-13420: Add both release note entries (Improvements and Additions) for file upload feedback and errorHandler option
1 parent 8d0bcc7 commit 7024949

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

modules/ROOT/pages/8.4.0-release-notes.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
113113
// #TINY-vwxyz1
114114

115115
// CCFR here.
116+
=== The file upload feature of `link` and `image` dialogs now provide feedback when an unsupported file type is selected
117+
// #TINY-13420
116118

119+
In {productname} {release-version}, the dropzone in the link and image dialog upload tabs previously provided no feedback when users inserted only files with disallowed extensions. This left users unsure whether the upload had failed or the dialog had not responded. The dropzone now displays an error message when all selected files have disallowed extensions, informing users that the selected files do not have allowed extensions and prompting them to choose different files.
117120

118121
[[additions]]
119122
== Additions
@@ -124,6 +127,10 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
124127
// #TINY-vwxyz1
125128

126129
// CCFR here.
130+
=== New `errorHandler` option for `dropzone` dialog components
131+
// #TINY-13420
132+
133+
In {productname} {release-version}, the dropzone dialog component supports a new `onInvalidFiles` callback (exposed as `errorHandler` in the changelog) that runs when all dropped or selected files have disallowed extensions. This enables custom error handling for invalid file uploads in dialogs that use dropzones, such as the link and image dialogs.
127134

128135

129136
[[changes]]

0 commit comments

Comments
 (0)