Skip to content

Conversation

@aonnikov
Copy link
Member

Example from drive:
image

@huly-github-staging
Copy link

Connected to Huly®: UBERF-13375

Copy link
Contributor

Copilot AI left a 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.

@aonnikov aonnikov force-pushed the uberf-11387-preview-service branch 2 times, most recently from 90e5fcd to 3c427d7 Compare September 2, 2025 06:07
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>
@aonnikov aonnikov force-pushed the uberf-11387-preview-service branch from 3c427d7 to 6bdaa8f Compare September 2, 2025 09:40
@aonnikov aonnikov requested a review from lexiv0re September 2, 2025 15:13
@haiodo haiodo merged commit 567fd3b into develop Sep 2, 2025
15 checks passed
@haiodo haiodo deleted the uberf-11387-preview-service branch September 2, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants