Skip to content

[improve] improved interaction styling for the template editor#4051

Merged
tomsun28 merged 3 commits intoapache:masterfrom
Duansg:improve-template
Mar 4, 2026
Merged

[improve] improved interaction styling for the template editor#4051
tomsun28 merged 3 commits intoapache:masterfrom
Duansg:improve-template

Conversation

@Duansg
Copy link
Member

@Duansg Duansg commented Mar 2, 2026

What's changed?

The current template management has several user-unfriendly issues, as follows

  1. Without modifications, the current window utilization is low, and most single-line text is hidden.
  2. If content is accidentally entered or pasted without modifications, it requires separate restoration

Modification Details

Optimize the interactive style of the template editor

  1. Default read-only mode: Even when not in edit mode, the interface remains in a single-column read-only display to ensure an optimal viewing experience and maximize window space utilization.
  2. Live Side-by-Side Comparison: Only when the user clicks the Edit button (entering edit mode) will the editor instantly switch to a left-right comparison mode, ensuring modifications can be made while maintaining the original layout for comparison.

template

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Add or update API

  • I have added the necessary e2e tests and all cases have passed.

@github-actions github-actions bot added the webapp label Mar 2, 2026
Copy link
Member

@tomsun28 tomsun28 left a comment

Choose a reason for hiding this comment

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

👍

@tomsun28 tomsun28 merged commit 84361b4 into apache:master Mar 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants