1Panel/frontend/src
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
..
api feat: Add file preview functionality and interface (#11200) 2025-12-08 16:37:50 +08:00
assets feat: optimization waf map load (#10730) 2025-10-23 16:00:23 +08:00
components fix: Fix the issue of container compose log cleanup failure (#11238) 2025-12-08 11:38:05 +08:00
composables
config
directives
enums
global feat: Add support for AWS Route 53 DNS provider (#11158) 2025-12-02 18:20:35 +08:00
lang feat: Add file preview functionality and interface (#11200) 2025-12-08 16:37:50 +08:00
layout fix: Fix some overview page caching issues (#11114) 2025-11-28 09:05:29 +00:00
routers feat: support iptables firewall control (#10903) 2025-11-10 21:17:53 +08:00
store fix: Improve system monitoring settings (#10784) 2025-10-27 10:04:17 +00:00
styles feat: add lighter fill color and table row hover background for dark theme (#10883) 2025-11-07 14:51:27 +08:00
typings
utils chore: Modify the default runtime value on the overview page (#11159) 2025-12-02 10:21:42 +00:00
views feat: Add file preview functionality and interface (#11200) 2025-12-08 16:37:50 +08:00
App.vue
env.d.ts
main.ts feat: Optimize i18n by dynamically loading module (#10759) 2025-10-27 17:49:52 +08:00