You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The documentation leaves image-clearing instructions incomplete, omits hosting limitations for a server-only example, and overstates guarantees about .NET and SignalR image transfers.
Set the `Data` parameter to a `byte[]` that holds the image content. To load another image, assign a new array instance to the parameter. To clear the editor, set `Data` to `null` or to an empty array.
Clarified that the ImageEditor processes images in the browser without sending intermediate edits to the .NET runtime. Explained the behavior in Blazor Server apps regarding image loading and editing.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Updated the caption to clarify loading images in server-side components and added usage instructions for Blazor WebAssembly.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Limit duplication and layout operations to shapes and text boxes
components/imageeditor/overview.md:46
This sentence promises duplication, flipping, alignment, and reordering for blur areas as well. However, tools.md:112 limits those operations to shapes and text boxes, and the command reference separates blur commands from object commands. Scope those operations to shapes and text boxes so the overview agrees with the feature documentation.
Move method contracts to the Commands and Export references
components/imageeditor/overview.md:80
The overview-page guidance excludes member-by-member API tables from new overview articles. These method contracts are already documented in Commands and Export. Remove this table and keep the reference explanation and example, with links to the dedicated pages for method details.
Scope OnExecute guidance to committed image edits
components/imageeditor/tools.md:16
“Every tool action” includes Zoom, which the toolbar table explicitly says does not fire OnExecute, as well as Open and Download, which are not image-edit commands. Scope this statement to committed image edits; otherwise it gives event subscribers an incorrect contract and implies that every toolbar action is undoable and available through ExecuteAsync.
Link blur areas to their blur commands
components/imageeditor/tools.md:115
The preceding list includes blur areas, but this link directs every object ID to commands that explicitly manage only text boxes and shapes (commands.md:100). The blur reference instead provides UpdateBlur and DeleteBlur. Separate the guidance and link to the blur commands as well, so developers do not use the wrong command family for blur areas.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The clearing instructions must specify that ImageUrl also needs to be cleared, since null or empty Data otherwise reloads the URL image instead of leaving the editor empty.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The documentation still omits clearing ImageUrl when both image sources are set and incorrectly applies SignalR receive-limit guidance to outgoing image data.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The documentation has inconsistent OnError handler types, incorrect receive-limit guidance for image loading, and incomplete clearing instructions when ImageUrl is also set.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The clearing instructions must state that both Data and ImageUrl need to be cleared, since clearing only Data reloads the URL image rather than leaving the editor empty.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes https://progresssoftware.atlassian.net/browse/BLZ-3536