feat(core): workspace embedding settings (#11801)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Introduced "Indexer & Embedding" workspace settings to manage AI embedding for local content, including document ignoring and attachment uploads.
  - Added UI components for embedding settings, attachments, and ignored documents with pagination and deletion capabilities.
  - Provided comprehensive file-type icons for attachments.

- **Improvements**
  - Added a new tab for indexing and embedding in workspace settings navigation.
  - Included test identifiers on key UI elements to enhance automated testing.

- **Localization**
  - Added English localization strings covering all embedding-related UI text and actions.

- **Bug Fixes**
  - Enabled previously skipped end-to-end tests for embedding settings to improve reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
yoyoyohamapi
2025-05-15 09:36:28 +00:00
parent 6224344a4f
commit 6c9f28e08b
25 changed files with 1266 additions and 86 deletions
@@ -44,9 +44,10 @@ export const SelectorLayout = ({
);
return (
<div className={styles.root}>
<div className={styles.root} data-testid="doc-selector-layout">
<header className={styles.header}>
<RowInput
data-testid="doc-selector-search-input"
className={styles.search}
placeholder={searchPlaceholder}
onChange={onSearchChange}
@@ -73,10 +74,15 @@ export const SelectorLayout = ({
<div className={styles.footerAction}>
{actions ?? (
<>
<Button onClick={onCancel} className={styles.actionButton}>
<Button
data-testid="doc-selector-cancel-button"
onClick={onCancel}
className={styles.actionButton}
>
{t['Cancel']()}
</Button>
<Button
data-testid="doc-selector-confirm-button"
onClick={onConfirm}
className={styles.actionButton}
variant="primary"