Skip to content
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

Upload limits of 100 mb #1877

Open
qdraw opened this issue Dec 21, 2024 · 0 comments
Open

Upload limits of 100 mb #1877

qdraw opened this issue Dec 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@qdraw
Copy link
Owner

qdraw commented Dec 21, 2024

Describe the bug

To implement the chunked upload feature, we will follow these steps:
Step 1: Define Requirements and Specifications for Chunked Upload Feature

Research how chunked upload works by looking at existing implementations and standards.
Identify the current state of the file upload feature in the qdraw/starsky repository by reviewing the existing codebase.
Draft a basic outline or specification document for the chunked upload feature.

Step 2: Implement and Test the Chunked Upload Feature

Implement the backend logic for handling chunked uploads, including breaking files into chunks, receiving, and reassembling the chunks on the server.
Implement the frontend interface for uploading files in chunks, ensuring it can interact with the backend appropriately.
Write and execute tests to verify the chunked upload implementation works correctly and handle edge cases.

Follow-up Steps

Monitor the issue tracker for any bugs or feature requests related to the chunked upload feature.
Update documentation to include instructions on how to use the new chunked upload feature.

Let's start by identifying the current state of the file upload feature in the repository. I'll review the existing codebase for relevant components.### Chunked Upload Feature Implementation
Step 1: Define Requirements and Specifications

Research Chunked Uploads: Understand the concepts and standards for chunked uploads.
Identify Current State: Review existing file upload code in the qdraw/starsky repository, such as:
    [UploadFiles class](https://github.com/qdraw/starsky/blob/2a9b300830d0f92d37d0525f90897ef137911e8f/starsky/starsky/clientapp/src/components/atoms/drop-area/upload-files.ts)
    [UploadController](https://github.com/qdraw/starsky/blob/2a9b300830d0f92d37d0525f90897ef137911e8f/starsky/starsky/Controllers/UploadController.cs)
Draft Specifications: Create a detailed specification document outlining how the chunked upload feature will work, including backend and frontend requirements.

Step 2: Implement and Test Chunked Upload

Backend Logic:
    Implement server-side code to handle chunked uploads in UploadController.cs. This includes breaking files into chunks, receiving them, and reassembling on the server.
Frontend Interface:
    Modify the existing upload interface in upload-files.ts to support chunked uploads.
Testing:
    Implement tests for the chunked upload feature to ensure it works correctly and handles edge cases, using the existing testing framework in the repository (e.g., Cypress tests in 10-upload-to-folder.cy.ts).

Follow-Up Steps

Monitor Issue Tracker: Watch for any bugs or feature requests related to the chunked upload feature after deployment.
Update Documentation: Include instructions on how to use the new chunked upload feature in the repository's documentation.

Would you like to proceed with implementing the backend logic for chunked uploads first?

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@qdraw qdraw added the bug Something isn't working label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant