-
Notifications
You must be signed in to change notification settings - Fork 1.7k
UBERF-11387 Preview service #9738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Connected to Huly®: UBERF-13375 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new preview service that generates thumbnails and metadata for various file types including images, documents, PDFs, and videos. The service provides an HTTP API for retrieving preview metadata and scaled thumbnails of files stored in the system.
Key changes:
- Implements a new pod-preview service with support for image, document, PDF, and video preview generation
- Integrates preview service URLs into the frontend configuration and presentation layer
- Updates UI components to display blurhash placeholders and use preview thumbnails
- Removes external sharp dependency from bundle configurations
Reviewed Changes
Copilot reviewed 67 out of 68 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| pods/preview/ | New preview service with HTTP API, image processing, and file conversion capabilities |
| server/front/src/ | Adds preview URL configuration to frontend service |
| server/server-storage/src/fallback.ts | Implements getUrl method for storage adapter |
| plugins/presentation/src/ | Integrates preview service API and adds blurhash support |
| packages/ui/src/ | Adds Blurhash component and video poster support |
| plugins/attachment-resources/src/ | Updates attachment components to use preview thumbnails |
| plugins/drive-resources/src/ | Updates file handling to use preview metadata |
| services/*/package.json | Removes external sharp dependency from bundle configurations |
Files not reviewed (1)
- common/config/rush/pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
90e5fcd to
3c427d7
Compare
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
3c427d7 to
6bdaa8f
Compare
Example from drive:
