Skip to content

(enhancement)[AGE-3713]: Playground editor becomes unresponsive when pasting large input#4028

Merged
bekossy merged 3 commits intorelease/v0.94.8from
AGE-3713-/-playground-editor-becomes-unresponsive-when-pasting-large-input
Mar 20, 2026
Merged

(enhancement)[AGE-3713]: Playground editor becomes unresponsive when pasting large input#4028
bekossy merged 3 commits intorelease/v0.94.8from
AGE-3713-/-playground-editor-becomes-unresponsive-when-pasting-large-input

Conversation

@bekossy
Copy link
Member

@bekossy bekossy commented Mar 18, 2026

  • Added large document handling capabilities to the MarkdownPlugin, allowing for better performance with oversized rich text inputs.
  • Introduced utility functions to determine if a document is large and to set flags accordingly.
  • Implemented deferred updates for large pastes to improve user experience.
  • Created a new utility for importing Markdown with HTML batches to handle large content more efficiently.
  • Added text cleanup utilities for better handling of template delimiters and escape characters.
  • Updated SharedEditor to support plain text fallback for large inputs and optimized input handling.
  • Enhanced TokenPlugin to skip processing in large document mode.
  • Updated types to include large document mode options.
  • Added necessary dependencies for Markdown processing and HTML handling.

Summary

Testing

Verified locally

Added or updated tests

QA follow-up

Demo

Checklist

  • I have included a video or screen recording for UI changes, or marked Demo as N/A
  • Relevant tests pass locally
  • Relevant linting and formatting pass locally
  • I have signed the CLA, or I will sign it when the bot prompts me

Contributor Resources

- Added large document handling capabilities to the MarkdownPlugin, allowing for better performance with oversized rich text inputs.
- Introduced utility functions to determine if a document is large and to set flags accordingly.
- Implemented deferred updates for large pastes to improve user experience.
- Created a new utility for importing Markdown with HTML batches to handle large content more efficiently.
- Added text cleanup utilities for better handling of template delimiters and escape characters.
- Updated SharedEditor to support plain text fallback for large inputs and optimized input handling.
- Enhanced TokenPlugin to skip processing in large document mode.
- Updated types to include large document mode options.
- Added necessary dependencies for Markdown processing and HTML handling.
@linear
Copy link

linear bot commented Mar 18, 2026

@vercel
Copy link

vercel bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Mar 19, 2026 8:10am

Request Review

@bekossy bekossy marked this pull request as ready for review March 18, 2026 16:35
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. enhancement New feature or request Frontend UI labels Mar 18, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 81aa61b310

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2026

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-03-20T09:51:30.042Z

@bekossy bekossy changed the base branch from main to release/v0.94.8 March 20, 2026 09:51
@bekossy bekossy merged commit 6807284 into release/v0.94.8 Mar 20, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Frontend size:XXL This PR changes 1000+ lines, ignoring generated files. UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants