Spaces:
Sleeping
Sleeping
| <View> | |
| <Style> | |
| .rca-shell { | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| color: #1f2933; | |
| } | |
| .rca-meta { | |
| border: 1px solid #d8dee8; | |
| border-radius: 8px; | |
| padding: 14px 16px; | |
| margin-bottom: 12px; | |
| background: #f8fafc; | |
| } | |
| .rca-row { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 14px; | |
| margin: 14px 0; | |
| } | |
| .rca-panel { | |
| border: 1px solid #d8dee8; | |
| border-radius: 8px; | |
| padding: 12px; | |
| background: #ffffff; | |
| min-width: 0; | |
| } | |
| .rca-context { | |
| margin-bottom: 14px; | |
| } | |
| .rca-outcome { | |
| font-size: 18px; | |
| font-weight: 700; | |
| color: #0f172a; | |
| } | |
| .rca-panel h3 { | |
| margin: 0 0 8px; | |
| font-size: 14px; | |
| line-height: 1.2; | |
| color: #334155; | |
| } | |
| .rca-judgment { | |
| max-height: 620px; | |
| overflow: auto; | |
| white-space: pre-wrap; | |
| } | |
| .rca-question { | |
| border: 1px solid #cbd5e1; | |
| border-radius: 8px; | |
| padding: 14px; | |
| margin-top: 16px; | |
| background: #f8fafc; | |
| } | |
| .rca-question h3 { margin-top: 0; } | |
| .rca-question .lsf-key, | |
| .rca-question [class*="shortcut"], | |
| .rca-question [class*="Shortcut"] { | |
| display: none ; | |
| } | |
| .rca-root-cause kbd, | |
| .rca-root-cause .ant-tag, | |
| .rca-root-cause [class*="hotkey"], | |
| .rca-root-cause [class*="Hotkey"], | |
| .rca-root-cause [class*="keymap"], | |
| .rca-root-cause [class*="Keymap"], | |
| .rca-root-cause [data-testid*="shortcut"], | |
| .rca-root-cause [data-testid*="hotkey"] { | |
| display: none ; | |
| } | |
| .rca-root-cause { | |
| columns: 2; | |
| column-gap: 28px; | |
| } | |
| .rca-root-cause ul, | |
| .rca-root-cause li { | |
| margin-top: 0 ; | |
| margin-bottom: 0 ; | |
| padding-top: 0 ; | |
| padding-bottom: 0 ; | |
| } | |
| .rca-root-cause .ant-radio-wrapper, | |
| .rca-root-cause .ant-checkbox-wrapper { | |
| margin: 0 ; | |
| min-height: 0 ; | |
| line-height: 1.2 ; | |
| } | |
| .rca-root-cause label { | |
| margin: 2px 0 ; | |
| padding: 2px 0 ; | |
| line-height: 1.2 ; | |
| } | |
| .rca-root-cause div { | |
| break-inside: avoid; | |
| } | |
| .root-option { | |
| display: grid; | |
| grid-template-columns: 150px minmax(0, 1fr); | |
| gap: 8px; | |
| align-items: start; | |
| padding: 1px 0; | |
| } | |
| .root-option-new-group { | |
| margin-top: 6px; | |
| padding-top: 5px; | |
| border-top: 1px solid #d8dee8; | |
| } | |
| .root-group { | |
| color: #475569; | |
| font-size: 11px; | |
| font-weight: 700; | |
| letter-spacing: 0; | |
| text-transform: uppercase; | |
| } | |
| .root-leaf { | |
| color: #111827; | |
| font-size: 14px; | |
| line-height: 1.25; | |
| } | |
| </Style> | |
| <View className="rca-shell"> | |
| <View className="rca-meta"> | |
| <Header value="Case" /> | |
| <Text name="case_details" value="$case_details" /> | |
| </View> | |
| <View className="rca-panel rca-context"> | |
| <Header value="Case record facts given to the generation model" /> | |
| <Text name="case_anchor" value="$case_record" /> | |
| </View> | |
| <View className="rca-row"> | |
| <View className="rca-panel"> | |
| <Header value="Generated outcome" /> | |
| <Text name="generated_outcome" value="$generated_outcome" className="rca-outcome" /> | |
| </View> | |
| <View className="rca-panel"> | |
| <Header value="Reference outcome" /> | |
| <Text name="reference_outcome" value="$reference_outcome" className="rca-outcome" /> | |
| </View> | |
| </View> | |
| <View className="rca-row"> | |
| <View className="rca-panel rca-judgment"> | |
| <Header value="Generated judgment" /> | |
| <Text name="generated_judgment" value="$generated_judgment" /> | |
| </View> | |
| <View className="rca-panel rca-judgment"> | |
| <Header value="Reference judgment" /> | |
| <Text name="reference_judgment" value="$reference_judgment" /> | |
| </View> | |
| </View> | |
| <View className="rca-question"> | |
| <Header value="Error stage" /> | |
| <Choices name="error_stage" toName="case_anchor" choice="single-radio" required="true" showInline="true"> | |
| <Choice value="facts" /> | |
| <Choice value="issues" /> | |
| <Choice value="rules" /> | |
| <Choice value="analysis" /> | |
| <Choice value="conclusion" /> | |
| </Choices> | |
| </View> | |
| <View className="rca-question"> | |
| <Header value="Root cause category" /> | |
| <Choices name="minor_error_category" toName="case_anchor" choice="single-radio" required="true" layout="vertical" value="$root_cause_options" className="rca-root-cause" /> | |
| </View> | |
| </View> | |
| </View> | |