Duansg opened a new pull request, #4051:
URL: https://github.com/apache/hertzbeat/pull/4051

   ## 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](https://github.com/user-attachments/assets/bc8b545d-77ce-4f2b-af44-d2c34b720d76)
   
   ## Checklist
   
   - [x]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_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](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to