refactor: update document section title from 'Local Documents' to 'Your Documents'

This commit is contained in:
Richard R 2026-04-16 20:13:01 -06:00
parent 5ea9aa7474
commit 21030f28eb
2 changed files with 3 additions and 3 deletions

View file

@ -308,7 +308,7 @@ export function DocumentList() {
<DndProvider backend={HTML5Backend}>
<div className="w-full mx-auto">
<div className="flex items-center justify-between">
<h2 className="text-lg sm:text-xl font-semibold text-foreground">Local Documents</h2>
<h2 className="text-lg sm:text-xl font-semibold text-foreground">Your Documents</h2>
<SortControls
sortBy={sortBy}
sortDirection={sortDirection}

View file

@ -113,13 +113,13 @@ test.describe('Document Upload Tests', () => {
await clickDocumentLink(page, 'sample.pdf');
await expectViewerForFile(page, 'sample.pdf');
await page.goBack();
await expect(page.getByText('Local Documents')).toBeVisible({ timeout: 10000 });
await expect(page.getByText('Your Documents')).toBeVisible({ timeout: 10000 });
// EPUB navigation and viewer
await clickDocumentLink(page, 'sample.epub');
await expectViewerForFile(page, 'sample.epub');
await page.goBack();
await expect(page.getByText('Local Documents')).toBeVisible({ timeout: 10000 });
await expect(page.getByText('Your Documents')).toBeVisible({ timeout: 10000 });
// TXT navigation and viewer (HTML viewer)
await clickDocumentLink(page, 'sample.txt');