Skip to content

Image editor docs - #3953

Merged
IvanDanchev merged 8 commits into
masterfrom
image-editor-docs
Nov 9, 2026
Merged

IvanDanchev merged 8 commits into
masterfrom
image-editor-docs

Conversation

@IvanDanchev

Copy link
Copy Markdown
Contributor

@IvanDanchev
IvanDanchev marked this pull request as ready for review November 9, 2026 09:29
@IvanDanchev
IvanDanchev requested review from a team as code owners November 9, 2026 09:29
Copilot AI balanced review requested due to automatic review settings November 9, 2026 09:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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.

3 open issues
What changed in this PR

Adds documentation for the Telerik UI for Blazor ImageEditor, covering initial setup, interactive editing, and programmatic image operations.

Changes:

  • Introduces the component overview and navigation metadata.
  • Documents image loading, editing tools, commands, and export.
  • Adds event reference examples and keyboard shortcut guidance.
File Description
components/​imageeditor/​tools.md Describes editing tools, canvas objects, undo history, and adaptive layout.
components/​imageeditor/​overview.md Introduces the component, setup, features, and reference methods.
components/​imageeditor/​loading-images.md Explains image sources, file restrictions, and load errors.
components/​imageeditor/​keyboard-navigation.md Lists keyboard shortcuts and focus behavior.
components/​imageeditor/​export.md Covers download settings, image retrieval, and hosting considerations.
components/​imageeditor/​events.md Documents event arguments and handler examples.
components/​imageeditor/​commands.md Lists editing commands, argument types, and programmatic examples.
components/​imageeditor/​_meta.yml Adds the ImageEditor navigation category with a new-component tag.

Review effort: Balanced


## Load an Image from a Byte Array

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.
Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/events.md Resolved
@dimodi

dimodi commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Add the component to the docs home page.

Comment thread components/imageeditor/overview.md Resolved
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>
Copilot AI balanced review requested due to automatic review settings November 9, 2026 12:12
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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved documentation issues give misleading guidance on image clearing, hosting requirements, toolbar event behavior, and blur operations.

1 open issue
4 previously missed issues

In code that hasn't changed since last review

Low severity 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.

Low severity 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.

Low severity 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.

Low severity 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.

2 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 9, 2026 12:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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.

1 open issue

Review effort: Balanced

Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/tools.md Resolved
Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/overview.md Resolved
Comment thread components/imageeditor/events.md Resolved
Comment thread components/imageeditor/export.md Resolved
Comment thread components/imageeditor/export.md Resolved
Comment thread components/imageeditor/export.md Resolved
Comment thread components/imageeditor/export.md Resolved
Comment thread components/imageeditor/export.md Resolved
Comment thread components/imageeditor/tools.md Resolved
Comment thread components/imageeditor/commands.md Resolved
Comment thread components/imageeditor/commands.md Resolved
Copilot AI balanced review requested due to automatic review settings November 9, 2026 14:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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.

4 open issues

Review effort: Balanced

<TelerikImageEditor OnError="@OnImageEditorError" />

@code {
private void OnImageEditorError(ImageEditorError args)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Use ImageEditorErrorEventArgs in the example

Updated links in loading-images.md for consistency.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 9, 2026 15:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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.

3 open issues
1 resolved since last review

Review effort: Balanced

Comment thread troubleshooting/csp.md Resolved
Copilot AI balanced review requested due to automatic review settings November 9, 2026 15:36
@IvanDanchev
IvanDanchev merged commit 5f3003f into master Nov 9, 2026
1 check passed
@github-actions
github-actions Bot deleted the image-editor-docs branch November 9, 2026 15:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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.

2 open issues
1 resolved since last review

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants