KKcorps opened a new pull request, #15647:
URL: https://github.com/apache/pinot/pull/15647

   This pull request introduces a toggleable view mode (Simple and JSON) for 
adding offline and realtime tables in the Pinot Controller UI. It enhances the 
user experience by allowing users to switch between a form-based interface and 
a raw JSON editor. The most important changes include adding the toggle 
functionality, syncing state between the two views, and validating 
configurations based on the selected view.
   
   ### New Features for View Modes:
   
   * Added an `EditView` enum to define the two view modes: `SIMPLE` and `JSON` 
   
   ### State Management Enhancements:
   
   * Added `editView`, `tableObj`, and `jsonTableObj` states to manage data for 
both views 
   
   ### Validation and Save Logic:
   
   * Updated the `handleSave` method to validate and save configurations based 
on the active view mode 
   
   ### UI Updates for JSON View:
   
   * Integrated `CustomCodemirror` for JSON editing, with error handling for 
invalid JSON inputs 
   ![Screenshot 2025-04-25 at 8 18 05 
PM](https://github.com/user-attachments/assets/0266f4b5-0e02-4648-9b8b-b194b03303e1)
   
   ![Screenshot 2025-04-25 at 8 18 54 
PM](https://github.com/user-attachments/assets/006b3ef7-ab45-4901-afa5-565f7320e0be)
   


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to