colinthebomb1 opened a new pull request, #3654: URL: https://github.com/apache/texera/pull/3654
### Purpose This PR adds a file editor feature for datasets, enabling users to create, edit, and manage Markdown and text files directly within the dataset interface. The component makes it easy to extend the functionality to new file types in the future (CSV). The files are stored as versioned files within the dataset using the existing FileService, ensuring proper version control. It also provides an easy way to create a README file directly from the dataset versioning tab closes #3517 [Design document](https://docs.google.com/document/d/1b2QvpJcUvEenRUnz7WnuuqcJqL1iLMFjWYav60MawQk/edit?usp=sharing) ### Changes - Created a new `UserDatasetFileEditorComponent` that: - Allows authorized users to **edit**, and **save** the markdown and text files. - Provides a split-pane editor for writing markdown on the left and a live rendered preview on the right. - Easily extensible to new file formats in the future (CSV). - Added easy access to README creation if it's not present in the dataset. - Use existing FileService for create/update actions and file version control. ### Demo: https://github.com/user-attachments/assets/085293d4-7998-4e14-ace5-9e3b99443a5d -- 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]
