Enhance YouTube stats integration and improve dashboard features#158
Open
GauravOP-03 wants to merge 23 commits intoscriptaiapp:mainfrom
Open
Enhance YouTube stats integration and improve dashboard features#158GauravOP-03 wants to merge 23 commits intoscriptaiapp:mainfrom
GauravOP-03 wants to merge 23 commits intoscriptaiapp:mainfrom
Conversation
…ema to resue on frontend as well as backend
…FileSize, formatTime)
…tarting AI training
…m, ThumbnailOutput, steps
Contributor
|
@GauravOP-03 is attempting to deploy a commit to the afrin127329's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Updates to the Thumbnails frontend: list page, new (generate) page, detail page, and only the components that were modified or added. Frontend only—no API, hooks, or backend in this PR.
📁 Files in this PR (changed only)
apps/web/app/dashboard/thumbnails/page.tsxapps/web/app/dashboard/thumbnails/new/page.tsxapps/web/app/dashboard/thumbnails/[id]/page.tsxapps/web/components/dashboard/thumbnails/ThumbnailStep1.tsxapps/web/components/dashboard/thumbnails/ThumbnailStep2.tsxapps/web/components/dashboard/thumbnails/ThumbnailStep3.tsxapps/web/components/dashboard/thumbnails/ThumbnailGenerationForm.tsxapps/web/components/dashboard/thumbnails/ThumbnailOutput.tsxM = modified · A = added
🔧 What changed
page.tsx): Fetch thumbnails, search, ContentCard grid, delete, empty state, AITrainingRequired.new/page.tsx): UsesThumbnailGenerationFormandAITrainingRequired; delegates all form/progress/generate to the new form component.[id]/page.tsx): Fetches job by id, usesThumbnailOutputfor results grid, download (single/all), delete with confirmation.MultiStepFormLayout,GenerationProgress, steps 1–3 + results viaThumbnailOutput.ThumbnailGenerationFormfor prompt, context, ratio, video link, reference/face images.🎯 Type of Change
🧪 Testing
How to test: List (search, delete), new (multi-step generate, progress, results), detail (view, download, delete). Assumes thumbnail API and
useThumbnailGenerationexist.📋 Checklist
📸 Screenshots (if applicable)
🔧 Technical Details
getThumbnails/deleteThumbnailand ContentCard; new page composesThumbnailGenerationFormwith hook state; detail usesgetThumbnail,ThumbnailOutput,downloadFile, delete flow.MultiStepFormLayout,GenerationProgress,ThumbnailStep1–ThumbnailStep3,ThumbnailOutput; receives all state and handlers from parent/hook.onDownload; responsive grid by image count; ratio-based aspect classes; empty state for queued/processing or no images.🚀 Deployment Notes
useThumbnailGeneration(andgetThumbnails/getThumbnail/deleteThumbnailfrom@/lib/api/getThumbnails).🔍 Review Notes
📊 Performance Impact
🔒 Security Considerations