mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-01-11 01:25:11 +08:00
* 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. |
||
|---|---|---|
| .. | ||
| backup.go | ||
| common.go | ||
| entry.go | ||
| ro_ai.go | ||
| ro_alert.go | ||
| ro_app.go | ||
| ro_container.go | ||
| ro_cronjob.go | ||
| ro_dashboard.go | ||
| ro_database.go | ||
| ro_file.go | ||
| ro_group.go | ||
| ro_host.go | ||
| ro_log.go | ||
| ro_nginx.go | ||
| ro_process.go | ||
| ro_router.go | ||
| ro_runtime.go | ||
| ro_setting.go | ||
| ro_toolbox.go | ||
| ro_website.go | ||
| ro_website_acme_account.go | ||
| ro_website_ca.go | ||
| ro_website_dns_account.go | ||
| ro_website_ssl.go | ||