Compact recordings list rows to title plus one transcript preview line.

This commit is contained in:
ben
2026-08-12 20:36:22 +02:00
parent 6bc5a20606
commit b7c36b8b3b
3 changed files with 40 additions and 13 deletions
+3 -1
View File
@@ -63,7 +63,7 @@ class IndexTest extends TestCase
'file_path' => 'recordings/office.mp3',
'file_size_bytes' => 100,
'transcription_status' => 'done',
'transcript' => 'talking about the pocket recorder today',
'transcript' => "talking about the pocket recorder today\nsecond line stays hidden",
]);
Recording::query()->create([
@@ -79,6 +79,8 @@ class IndexTest extends TestCase
Livewire::test(Index::class)
->set('search', 'pocket recorder')
->assertSee('Office chat')
->assertSee('talking about the pocket recorder today')
->assertDontSee('second line stays hidden')
->assertDontSee('Unrelated');
}