diff --git a/CHANGELOG.md b/CHANGELOG.md index 71a446656..aef25de82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to - ♿️(frontend) enable blocknote heading ids for toc anchors #2449 - ♿️(frontend) focus export modal on format select #2421 - ♿️(frontend) configurable legal submenu in HelpMenu, remove Crisp #2416 +- ♿️(frontend) align search modal field label with placeholder #2384 ## [v5.3.0] - 2026-06-19 diff --git a/src/frontend/apps/e2e/__tests__/app-impress/doc-grid-move.spec.ts b/src/frontend/apps/e2e/__tests__/app-impress/doc-grid-move.spec.ts index 462772e8e..0d8908c46 100644 --- a/src/frontend/apps/e2e/__tests__/app-impress/doc-grid-move.spec.ts +++ b/src/frontend/apps/e2e/__tests__/app-impress/doc-grid-move.spec.ts @@ -213,7 +213,7 @@ test.describe('Doc grid move', () => { .getByRole('heading', { name: 'Choose a new parent doc' }), ).toBeVisible(); - const input = page.getByRole('combobox', { name: 'Search' }); + const input = page.getByRole('combobox', { name: 'Search for a doc...' }); await input.click(); await input.fill(titleDoc2); @@ -303,7 +303,7 @@ test.describe('Doc grid move', () => { .getByRole('heading', { name: 'Choose a new parent doc' }), ).toBeVisible(); - const input = page.getByRole('combobox', { name: 'Search' }); + const input = page.getByRole('combobox', { name: 'Search for a doc...' }); await input.click(); await input.fill(titleDoc2); diff --git a/src/frontend/apps/e2e/__tests__/app-impress/doc-search.spec.ts b/src/frontend/apps/e2e/__tests__/app-impress/doc-search.spec.ts index cddd1813b..e76d72d4c 100644 --- a/src/frontend/apps/e2e/__tests__/app-impress/doc-search.spec.ts +++ b/src/frontend/apps/e2e/__tests__/app-impress/doc-search.spec.ts @@ -120,9 +120,8 @@ test.describe('Document search', () => { const searchButton = page.getByTestId('search-docs-button'); await searchButton.click(); - await page.getByRole('combobox', { name: 'Search documents' }).click(); await page - .getByRole('combobox', { name: 'Search documents' }) + .getByRole('combobox', { name: 'Type the name of a document' }) .fill('sub page'); // Expect to find the first and second docs in the results list @@ -144,7 +143,7 @@ test.describe('Document search', () => { ); await searchButton.click(); await page - .getByRole('combobox', { name: 'Search documents' }) + .getByRole('combobox', { name: 'Type the name of a document' }) .fill('sub page'); // Display only current doc results @@ -210,7 +209,7 @@ test.describe('Document search', () => { await otherPage.getByTestId('search-docs-button').click(); await otherPage - .getByRole('combobox', { name: 'Search documents' }) + .getByRole('combobox', { name: 'Type the name of a document' }) .fill('sub page'); // Search only in the current doc diff --git a/src/frontend/apps/impress/src/components/quick-search/QuickSearch.tsx b/src/frontend/apps/impress/src/components/quick-search/QuickSearch.tsx index f402a62b3..51d626388 100644 --- a/src/frontend/apps/impress/src/components/quick-search/QuickSearch.tsx +++ b/src/frontend/apps/impress/src/components/quick-search/QuickSearch.tsx @@ -65,7 +65,6 @@ export const QuickSearch = ({ > {showInput && ( void; placeholder?: string; withSeparator?: boolean; @@ -19,7 +18,6 @@ type QuickSearchInputProps = { }; export const QuickSearchInput = ({ inputValue, - label, onFilter, placeholder, children, @@ -62,7 +60,6 @@ export const QuickSearchInput = ({