Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ yarn --cwd apps/ui type-check
## Feature import boundaries

- Cross-feature deep imports are rejected by ESLint. Import features only via their public `index.ts`.
- **Migrated features**: `truth` (review queue, enrichment monitoring, schemas, analytics)
- Shared UI primitives that are reused by multiple features live under `src/shared/`.
- **Migrated features**: `truth` (review queue, enrichment monitoring, schemas, analytics), `search` (search route, app search, search hooks, semantic search service)

## Configuration notes

Expand Down
2 changes: 1 addition & 1 deletion apps/ui/app/(builder)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { ReactNode } from 'react';

import { AppSearchBox } from '@/components/molecules/AppSearchBox';
import { LaneSwitch } from '@/components/shared/LaneSwitch';
import { SectionShell } from '@/components/shared/SectionShell';
import { AppSearchBox } from '@/src/features/search';

/**
* (builder) route group layout.
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/app/(deploy)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { ReactNode } from 'react';

import { AppSearchBox } from '@/components/molecules/AppSearchBox';
import { LaneSwitch } from '@/components/shared/LaneSwitch';
import { SectionShell } from '@/components/shared/SectionShell';
import { AppSearchBox } from '@/src/features/search';

/**
* (deploy) route group layout.
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/app/(retailer)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { ReactNode } from 'react';

import { AppSearchBox } from '@/components/molecules/AppSearchBox';
import { LaneSwitch } from '@/components/shared/LaneSwitch';
import { SectionShell } from '@/components/shared/SectionShell';
import { AppSearchBox } from '@/src/features/search';

/**
* (retailer) route group layout.
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { Metadata } from 'next';

import { AppSearchBox } from '@/components/molecules/AppSearchBox';
import { CallToAction } from '@/components/molecules/CallToAction';
import { Hero } from '@/components/molecules/Hero';
import { ValuePropGrid } from '@/components/molecules/ValuePropGrid';
import { HomeShell } from '@/components/templates/HomeShell';
import { buildMetadata } from '@/lib/seo';
import { AppSearchBox } from '@/src/features/search';

export const metadata: Metadata = buildMetadata({
section: 'home',
Expand Down
4 changes: 2 additions & 2 deletions apps/ui/app/product/ProductPageClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import { useCategories } from '@/lib/hooks/useCategories';
import { mapApiProductToUiProduct } from '@/lib/utils/productMappers';
import { formatAgentResponse, type AgentMessageView } from '@/lib/utils/agentResponseCards';
import AgentMessageDisplay from '@/components/organisms/AgentMessageDisplay';
import { UseCaseTags } from '@/components/enrichment/UseCaseTags';
import { RelatedProductsRail } from '@/components/enrichment/RelatedProductsRail';
import { RelatedProductsRail } from '@/src/shared/components/RelatedProductsRail';
import { UseCaseTags } from '@/src/shared/components/UseCaseTags';
import { useRelatedProducts } from '@/lib/hooks/useRelatedProducts';
import agentApiClient from '@/lib/api/agentClient';
import { recordAgentInvocationTelemetry } from '@/lib/hooks/useAgentInvocationTelemetry';
Expand Down
Loading
Loading