Improve live recordings UI, upload flow, and default Flux theme.
Refresh list status over Reverb with polling fallback, clarify queued vs processing, streamline upload empty states, and seed an admin login.
This commit is contained in:
@@ -70,22 +70,14 @@ class RecordingDuplicateUploadTest extends TestCase
|
||||
Bus::assertDispatched(TranscribeRecording::class, 2);
|
||||
}
|
||||
|
||||
public function test_upload_page_mentions_duplicate_skipping(): void
|
||||
public function test_upload_page_shows_dropzone(): void
|
||||
{
|
||||
Recording::query()->create([
|
||||
'user_id' => $this->user->id,
|
||||
'title' => 'Existing',
|
||||
'original_filename' => 'note.mp3',
|
||||
'file_path' => 'recordings/note.mp3',
|
||||
'file_size_bytes' => 2048,
|
||||
'content_hash' => str_repeat('a', 64),
|
||||
'transcription_status' => 'done',
|
||||
]);
|
||||
|
||||
$this->get(route('recordings.create'))
|
||||
->assertOk()
|
||||
->assertSeeLivewire('upload-recordings')
|
||||
->assertSee('Duplicate files', false);
|
||||
->assertSee('Drop audio files here or click to browse')
|
||||
->assertDontSee('Title (optional)')
|
||||
->assertDontSee('Uploads start as soon as you drop');
|
||||
}
|
||||
|
||||
public function test_duplicate_filename_and_size_is_skipped_without_content_hash(): void
|
||||
|
||||
Reference in New Issue
Block a user