28 lines
787 B
Markdown
28 lines
787 B
Markdown
# TODO: Two-Stage Upload Modal Implementation
|
|
|
|
## Task
|
|
Restructure the video upload modal to have:
|
|
- Stage 1: Upload video file (with progress bar)
|
|
- Stage 2: Title and Description
|
|
- Stage 3: Thumbnail
|
|
- Stage 4: Privacy settings
|
|
|
|
## Implementation Steps
|
|
|
|
### Step 1: Update VideoController.php ✅
|
|
- [x] Add new endpoint for temp video upload (returns temp filename)
|
|
- [x] Modify store method to handle two-step process
|
|
|
|
### Step 2: Update routes/web.php ✅
|
|
- [x] Add route for temp video upload
|
|
|
|
### Step 3: Update upload-modal.blade.php ✅
|
|
- [x] Restructure steps: Video → Details → Thumbnail → Privacy
|
|
- [x] Update step indicators
|
|
- [x] Add video upload with progress bar in Stage 1
|
|
- [x] Update JavaScript for new flow
|
|
|
|
### Step 4: Test
|
|
- [ ] Test the complete upload flow
|
|
|