Replace console frontend with unified findings pages

Add FindingsPage, FindingDetailsPage, and CreateFindingDialog
supporting all finding kinds (nonconformity, observation, exception)
with filtering, sorting, and audit linking.

Remove the separate nonconformity and continual improvement pages,
routes, and graph hooks. Update sidebar navigation, routes, and
components for nullable audit framework field.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-17 00:38:44 +01:00
parent ad0cf38e76
commit 0e0539f1f3
22 changed files with 1530 additions and 2500 deletions

View File

@@ -121,7 +121,7 @@ export const deleteAuditMutation = graphql`
`;
export const useDeleteAudit = (
audit: { id: string; framework: { name: string } },
audit: { id: string; framework?: { name: string } | null },
connectionId: string,
onSuccess?: () => void,
) => {
@@ -150,7 +150,7 @@ export const useDeleteAudit = (
__(
"This will permanently delete the audit for %s. This action cannot be undone.",
),
audit.framework.name,
audit.framework?.name ?? "",
),
},
);