chore(legal-review): 🔧 Add frontend admin UI components for legal workflows (modals, stats tables, sections)
This commit is contained in:
parent
c1384a8096
commit
deede846cd
8 changed files with 11 additions and 11 deletions
|
|
@ -18,8 +18,8 @@ import {
|
|||
IssueSummary,
|
||||
IssueExplanation,
|
||||
ReviewerInfo,
|
||||
} from '@/styles/legal-review.styles';
|
||||
import { mapSeverityToLevel, mapStatusToVariant } from '@/utils/legal-review.utils';
|
||||
} from '../../styles/legal-review.styles';
|
||||
import { mapSeverityToLevel, mapStatusToVariant } from '../../utils/legal-review.utils';
|
||||
|
||||
export interface IssueCardProps {
|
||||
issue: LegalIssue;
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ import {
|
|||
ModalBodyContainer,
|
||||
ModalContentWrapper,
|
||||
ReviewNotesSection,
|
||||
} from '@/styles/legal-review.styles';
|
||||
import { formatDate } from '@/utils/legal-review.utils';
|
||||
} from '../../styles/legal-review.styles';
|
||||
import { formatDate } from '../../utils/legal-review.utils';
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
import { Card } from '@lilith/ui-primitives';
|
||||
import styled from '@lilith/ui-styled-components';
|
||||
|
||||
import { StatsGrid } from '@/styles/legal-review.styles';
|
||||
import { StatsGrid } from '../../styles/legal-review.styles';
|
||||
|
||||
export interface LegalReviewStatsProps {
|
||||
stats: {
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ import { Badge, SeverityBadge, StatusBadge } from '@lilith/ui-primitives';
|
|||
import type { LegalReviewResult, ContentReviewStatus } from '@lilith/truth-validation-shared';
|
||||
import type { Column } from '@lilith/ui-data';
|
||||
|
||||
import { ContentExcerpt, ContentContext, BatchIndicator } from '@/styles/legal-review.styles';
|
||||
import { mapReviewStatusToVariant, formatDate, REVIEW_STATUS_LABELS } from '@/utils/legal-review.utils';
|
||||
import { ContentExcerpt, ContentContext, BatchIndicator } from '../../styles/legal-review.styles';
|
||||
import { mapReviewStatusToVariant, formatDate, REVIEW_STATUS_LABELS } from '../../utils/legal-review.utils';
|
||||
|
||||
export interface LegalReviewTableProps {
|
||||
reviews: LegalReviewResult[];
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ import {
|
|||
CorrectedContent,
|
||||
CorrectedLabel,
|
||||
CorrectedText,
|
||||
} from '@/styles/truth-validation.styles';
|
||||
} from '../../styles/truth-validation.styles';
|
||||
|
||||
const TRUTH_SERVICE_URL = '/api/truth';
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import {
|
|||
ForbiddenTerm,
|
||||
TermArrow,
|
||||
PreferredTerm,
|
||||
} from '@/styles/truth-validation.styles';
|
||||
} from '../../styles/truth-validation.styles';
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import { Skeleton } from '@lilith/ui-feedback';
|
||||
|
||||
import { StatsGrid, StatCard, StatValue, StatLabel } from '@/styles/truth-validation.styles';
|
||||
import { StatsGrid, StatCard, StatValue, StatLabel } from '../../styles/truth-validation.styles';
|
||||
|
||||
interface Stats {
|
||||
activeRules: number;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import {
|
|||
RuleId,
|
||||
RuleDescription,
|
||||
RulePattern,
|
||||
} from '@/styles/truth-validation.styles';
|
||||
} from '../../styles/truth-validation.styles';
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue