Skip to content

Commit 656f94a

Browse files
authored
Merge pull request #138 from ModusCreateOrg/ADE-208
[ADE-208] fixes for ADE-66
2 parents eb5d13d + 4371829 commit 656f94a

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

frontend/src/pages/Reports/ReportDetailPage.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
display: flex;
355355
gap: 16px;
356356
padding: 0 16px 32px;
357-
margin-top: 32px;
357+
margin-top: 20px;
358358
}
359359

360360
&__action-button {
@@ -949,7 +949,7 @@
949949
.report-detail-page {
950950
&__actions {
951951
max-width: 600px;
952-
margin: 32px auto 0;
952+
margin: 20px auto 0;
953953
}
954954

955955
&__section,

frontend/src/pages/Reports/ReportDetailPage.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import { MedicalReport } from '../../common/models/medicalReport';
88
import { useTranslation } from 'react-i18next';
99
import { getAuthConfig } from 'common/api/reportService';
1010
import { useToasts } from 'common/hooks/useToasts';
11-
12-
// Import components
11+
import AiAssistantNotice from './components/AiAssistantNotice';
1312
import ReportHeader from './components/ReportHeader';
1413
import ReportTabs from './components/ReportTabs';
1514
import OriginalReportTab from './components/OriginalReportTab';
@@ -151,6 +150,9 @@ const ReportDetailPage: React.FC = () => {
151150
{/* Doctor information note */}
152151
<InfoCard />
153152

153+
{/* AI Assistant Notice */}
154+
{activeTab === 'ai' && <AiAssistantNotice />}
155+
154156
{/* Action buttons at the bottom */}
155157
<ActionButtons
156158
onDiscard={handleDiscard}

frontend/src/pages/Reports/components/AiAnalysisTab.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import EmergencyAlert from './EmergencyAlert';
44
import FlaggedValuesSection from './FlaggedValuesSection';
55
import NormalValuesSection from './NormalValuesSection';
66
import LowConfidenceNotice from './LowConfidenceNotice';
7-
import AiAssistantNotice from './AiAssistantNotice';
87

98
interface AiAnalysisTabProps {
109
reportData: MedicalReport;
@@ -60,9 +59,6 @@ const AiAnalysisTab: React.FC<AiAnalysisTabProps> = ({
6059
isExpanded={normalValuesExpanded}
6160
onToggle={toggleNormalValues}
6261
/>
63-
64-
{/* AI Assistant Notice */}
65-
<AiAssistantNotice />
6662
</div>
6763
);
6864
};

frontend/src/pages/Reports/components/AiAssistantNotice.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.ai-assistant-notice {
2-
padding: 20px 0;
32
display: flex;
43
justify-content: center;
54

0 commit comments

Comments
 (0)