Describe the bug
After uploading any asset (video, image, or audio), the entire dashboard crashes immediately with the following error:
TypeError: Failed to construct 'URL': Invalid URL
at n (layout-f89cd1e259d41ed4.js:1:32330)
at layout-f89cd1e259d41ed4.js:1:33798
This happens because the layout component tries to construct a URL from thumbnail_url while it is still null (asset is in "processing" state).
The crash renders the entire dashboard unusable until processing completes and one refreshes the browser.
Steps to reproduce
- Log in to FreeFrame
- Open any project
- Upload any asset (video, image, or audio)
- Observe: dashboard immediately shows "Application error" crash screen
- Wait for processing to complete (varies: seconds for images, minutes for video)
- Reload the page — dashboard works again
Expected behavior
The dashboard should remain functional while an asset is processing.
A loading placeholder or spinner should be shown instead of attempting to render a null thumbnail_url. The upload flow should not be interrupted.
Screenshots
During Upload:
After refreshing the browser:
Area
Frontend (Next.js)
Version / Commit
latest main
Describe the bug
After uploading any asset (video, image, or audio), the entire dashboard crashes immediately with the following error:
TypeError: Failed to construct 'URL': Invalid URL
at n (layout-f89cd1e259d41ed4.js:1:32330)
at layout-f89cd1e259d41ed4.js:1:33798
This happens because the layout component tries to construct a URL from thumbnail_url while it is still null (asset is in "processing" state).
The crash renders the entire dashboard unusable until processing completes and one refreshes the browser.
Steps to reproduce
Expected behavior
The dashboard should remain functional while an asset is processing.
A loading placeholder or spinner should be shown instead of attempting to render a null thumbnail_url. The upload flow should not be interrupted.
Screenshots
During Upload:
After refreshing the browser:
Area
Frontend (Next.js)
Version / Commit
latest main