Files
1Panel/frontend
KOMATA af48fed3c2 feat: Add file preview functionality and interface (#11200)
* feat: Add file content preview functionality

- Implemented a new API endpoint for previewing file content.
- Added PreviewContent method in BaseApi to handle requests.
- Introduced GetPreviewContent method in FileService to retrieve file previews.
- Updated frontend to include a TextPreview component for displaying file previews.
- Added localization support for preview-related messages in multiple languages.
- Enhanced file management view to support previewing large files.

* feat: Update file preview functionality and interface

- Added PreviewContentReq interface to define request parameters for file preview.
- Updated getPreviewContent function to use the new PreviewContentReq type.
- Modified text-preview component to align with updated API, removing unnecessary parameters.
2025-12-08 16:37:50 +08:00
..
2022-08-17 09:37:30 +08:00
2022-08-17 09:37:30 +08:00
2022-08-17 09:37:30 +08:00
2022-09-09 11:23:01 +08:00
2022-08-17 09:37:30 +08:00
2022-08-17 09:37:30 +08:00
2022-08-17 09:37:30 +08:00