Skip to content

Commit 4e44ec9

Browse files
committed
continuing the stabilization process. data baseline testing is confirmed and baseline validations have been confirmed to work. Additional stress testing is still needed, but for the time being it should work for piloting.
1 parent 6a51feb commit 4e44ec9

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

frontend/components/uploadsystem/segments/uploadfireazure.tsx

+9-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,15 @@ const UploadFireAzure: React.FC<UploadFireAzureProps> = ({
183183
Some errors occurred during refresh:
184184
</Typography>
185185
<Typography color="error">{refreshError}</Typography>
186-
<Button variant="contained" onClick={() => setRefreshError(null)} disabled={continueDisabled}>
186+
<Button
187+
variant="contained"
188+
onClick={() => {
189+
setRefreshError(null); // Clear the error
190+
setContinueDisabled(true); // Enable the continuation
191+
setReviewState(ReviewStates.COMPLETE); // Finalize the process
192+
}}
193+
disabled={continueDisabled}
194+
>
187195
Continue
188196
</Button>
189197
</Stack>

frontend/config/datagridhelpers.ts

+14
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,20 @@ export interface MeasurementsCommonsProps {
275275
locked?: boolean;
276276
}
277277

278+
export interface IsolatedMeasurementsCommonsProps {
279+
gridType: string;
280+
gridColumns: GridColDef[];
281+
refresh: boolean;
282+
setRefresh: Dispatch<SetStateAction<boolean>>;
283+
initialRow?: GridRowModel;
284+
fieldToFocus?: string;
285+
locked?: boolean;
286+
selectionOptions?: { value: string | number; label: string }[];
287+
onDataUpdate?: () => void;
288+
clusters?: Record<string, string[]>;
289+
handleExportErrors?: () => Promise<GridRowModel[]>;
290+
}
291+
278292
export const errorMapping: { [key: string]: string[] } = {
279293
'1': ['attributes'],
280294
'2': ['measuredDBH'],

frontend/config/sqlrdsdefinitions/views.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ export function getMeasurementsSummaryViewHCs(): ColumnStates {
8080
stemID: false,
8181
personnelID: false,
8282
dbhUnits: false,
83-
homUnits: false
83+
homUnits: false,
84+
speciesID: false
8485
};
8586
}
8687

0 commit comments

Comments
 (0)