Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 9 additions & 18 deletions components/RdpHybridPresentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,12 @@ const PHASE_PRESENTATION = {
'The authorized appointment data enters the customer-controlled runner.',
},
demonstration: {
stage: 'build',
stage: 'demonstrate',
label: 'A person shows the task once',
detail: 'The demonstration includes the real mouse, keyboard, and RDP timing.',
},
compiled_workflow: {
stage: 'build',
label: 'OpenAdapt builds a reusable workflow',
detail: 'The video shows the exact exported program, not a drawn example.',
},
governed_replay: {
stage: 'run',
stage: 'execute',
label: 'OpenAdapt completes the task',
detail: 'The runner checks the live record before it enters the new request.',
},
Expand All @@ -52,8 +47,8 @@ const PHASE_PRESENTATION = {

const STORY_STAGES = [
{ id: 'request', label: 'Request' },
{ id: 'build', label: 'Build once' },
{ id: 'run', label: 'Run' },
{ id: 'demonstrate', label: 'Demonstrate' },
{ id: 'execute', label: 'Execute' },
{ id: 'verify', label: 'Verify or stop' },
]

Expand Down Expand Up @@ -301,9 +296,6 @@ export default function RdpHybridPresentation({
const activeStageIndex = STORY_STAGES.findIndex(
(item) => item.id === phaseContent?.stage
)
const activeNodeIds = new Set(
entry?.compiled_graph?.node_id ? [entry.compiled_graph.node_id] : []
)
const nodes = Array.isArray(graph?.nodes) ? graph.nodes : []
const parameterNames = Array.isArray(graph?.bundle?.params)
? graph.bundle.params
Expand Down Expand Up @@ -481,7 +473,9 @@ export default function RdpHybridPresentation({
<details className={styles.details} open>
<summary>
<span>
<strong>The workflow OpenAdapt built</strong>
<strong>
What OpenAdapt built from the demonstration
</strong>
<small>The exact nine-step program and its inputs</small>
</span>
</summary>
Expand All @@ -498,15 +492,12 @@ export default function RdpHybridPresentation({
</span>
</div>
<span className={styles.motion}>
{reducedMotion ? 'Reduced motion' : 'Media-synced'}
Exact exported graph
</span>
</div>
<ol>
{nodes.map((node) => (
<li
key={node.id}
data-active={activeNodeIds.has(node.id)}
>
<li key={node.id}>
<span>
{String(node.index + 1).padStart(2, '0')}
</span>
Expand Down
20 changes: 0 additions & 20 deletions components/RdpHybridPresentation.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -350,20 +350,6 @@
border: 1px solid rgba(142, 207, 193, 0.14);
border-radius: 12px;
background: #0b1c1d;
opacity: 0.72;
transition:
border-color 0.25s ease,
background 0.25s ease,
opacity 0.25s ease,
transform 0.25s ease;
}

.graph > ol > li[data-active='true'] {
border-color: rgba(99, 230, 191, 0.72);
background: linear-gradient(145deg, #10443e, #0d2728);
box-shadow: 0 0 28px -13px #60e6bf;
opacity: 1;
transform: translateY(-2px);
}

.graph > ol > li > span {
Expand Down Expand Up @@ -579,9 +565,3 @@
text-align: left;
}
}

@media (prefers-reduced-motion: reduce) {
.graph > ol > li {
transition: none;
}
}
6 changes: 3 additions & 3 deletions lib/publicJsonArtifacts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ export const PUBLIC_JSON_ARTIFACTS = Object.freeze({
title: 'RDP presentation manifest',
description:
'Content hashes and exact retained-frame provenance for the paced RDP presentation video.',
sha256: 'bb38218d7cb4cbcb31b6e188737071380f373fd8449f6ed42521f930bb32ec95',
sha256: '766d3359f86b4ed34f038642cd7c10187010bb960a6d4d2cccf021f078e16c1d',
}),
'/demos/rdp/presentation.timeline.json': Object.freeze({
source: '/demos/rdp/presentation.timeline.json',
fileName: 'presentation.timeline.json',
format: 'json',
title: 'RDP hybrid presentation timeline',
description:
'Exact decoded-frame intervals, retained source-frame bindings, compiled graph nodes, and public runtime facts for the RDP presentation.',
sha256: 'b668275ad7308f359380aa1bcb89ce98b7ae49673b36c4491330c399b2472403',
'Exact decoded-frame intervals, retained source-frame bindings, and public runtime facts for the RDP presentation.',
sha256: 'bde3bdafd21867fe3353ee586256c032efb7c10efe9eac09792d9a88636cd831',
}),
'/desktop-preview/MANIFEST.json': Object.freeze({
source: '/desktop-preview/MANIFEST.json',
Expand Down
Binary file modified public/demos/rdp/openadapt-rdp-demo.mp4
Binary file not shown.
4 changes: 2 additions & 2 deletions public/demos/rdp/presentation.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
800
],
"hybrid_timeline": "openadapt-rdp-demo.timeline.json",
"hybrid_timeline_sha256": "b668275ad7308f359380aa1bcb89ce98b7ae49673b36c4491330c399b2472403",
"hybrid_timeline_sha256": "bde3bdafd21867fe3353ee586256c032efb7c10efe9eac09792d9a88636cd831",
"phases": [
{
"outcome": "RECORDED",
Expand Down Expand Up @@ -88,6 +88,6 @@
"schema_version": "openadapt.rdp-presentation-render.v2",
"timing": "paced derivative; source frames and input events remain exact",
"video": "openadapt-rdp-demo.mp4",
"video_sha256": "c8df573bd0edbf139d4b5718ee14f2bf35b7e69331bfd9c5bc592dbf2e351504",
"video_sha256": "86e376623c05992a15a1196b6639783faebbbabb95e51f458199cb3db398a8d4",
"workflow_digest": "da52230dbde8d8ae6bd8060f4d2dc3f8c503487bbb3a214159af9550317670b9"
}
Loading
Loading