Skip to content

Conversation

@yaroslav8765
Copy link
Contributor

No description provided.

Copy link

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 functionality to upload files directly from URL query parameters. When creating or editing a record, users can now specify a file path in the URL query string, which will be automatically downloaded and uploaded to the file field. The implementation includes backend endpoints for generating download URLs and proxying file downloads, plus frontend logic to parse query parameters and handle the file download/upload flow.

Key Changes

  • Added two new backend endpoints: one for generating file download URLs and another for proxying file downloads through the server
  • Modified the Vue uploader component to read file paths from URL query parameters and automatically trigger file upload on mount
  • Added pathColumnName configuration to support the new URL-based upload feature

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
index.ts Added two new endpoints for file URL generation and download proxying, plus pathColumnName configuration
custom/uploader.vue Enhanced onMounted hook to parse query parameters and trigger automatic file downloads/uploads, added downloadAsFile helper function
Comments suppressed due to low confidence (1)

index.ts:6

  • Unused import url.
import { url } from 'inspector/promises';

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yaroslav8765 yaroslav8765 force-pushed the feature/AdminForth/1007/remove-virtual-column-from-the branch from 47d4366 to abf7ee3 Compare December 9, 2025 10:53
@yaroslav8765 yaroslav8765 requested a review from Copilot December 9, 2025 11:06
Copy link

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yaroslav8765 yaroslav8765 merged commit e6b2bf4 into main Dec 9, 2025
1 check passed
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