fix: resolve all GHC 9.10.3 / IHP 1.5 compile errors (all 616 modules load)
Fix 13 modules that blocked compilation on Alpine: - FrontController: remove annotationLauncherScript helper (IHP Html is a constrained type synonym); add (?context, ?request) constraint to defaultLayout matching what setLayout expects - HubCapabilityManifests: switch JSONB fill to paramList+toJSON; fix dynamic SQL Text→Query via fromString/cs; void sqlExec; add Control.Monad.void - Hubs: replace raw Array sqlQuery with filterWhereIn query builder; fix isInList validators - DecisionRecords: remove unregistered DistilDecisionAction; fix hub resolution chain via candidateId→sourceWidgetId; BridgeResponse(..) - RequirementCandidates: BridgeResponse(..); remove @Widget type apps from fetchOneOrNothing; void ConfidenceAnnotation createRecord - AdaptiveThresholds: fix sqlQuery tuple param (Only hubId) - AgentDelegations, AgentRegistrations, Widgets: BridgeResponse(..) - Annotations, DeploymentRecords, GovernanceTemplates: minor type fixes - DecisionRecords/Edit view: extract formAction before HSX block Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
209c77dd31
commit
2106000cc7
13 changed files with 71 additions and 130 deletions
|
|
@ -15,7 +15,9 @@ data EditView = EditView
|
|||
}
|
||||
|
||||
instance View EditView where
|
||||
html EditView { .. } = [hsx|
|
||||
html EditView { .. } =
|
||||
let formAction = UpdateDecisionRecordAction { decisionRecordId = record.id }
|
||||
in [hsx|
|
||||
<div class="mb-6 flex items-center gap-2 text-sm text-gray-500">
|
||||
<a href={DecisionRecordsAction} class="hover:text-gray-700">Decisions</a>
|
||||
<span>/</span>
|
||||
|
|
@ -30,6 +32,6 @@ instance View EditView where
|
|||
<p class="text-sm text-amber-600 mb-6">
|
||||
Note: outcome is immutable and cannot be changed here.
|
||||
</p>
|
||||
{renderForm record requirements candidates users (UpdateDecisionRecordAction { decisionRecordId = record.id })}
|
||||
{renderForm record requirements candidates users formAction}
|
||||
</div>
|
||||
|]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue