OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Visual progress tracker showing current step in workflow
Goal
Quick view of current progress for a workflow
Context
Embedded progress indicator in entity views
Source Definition
import {
definePresentation,
StabilityEnum,
} from '@lssm-tech/lib.contracts-spec';
import { ApprovalRequestModel } from '../approval/approval.schema';
import { WorkflowInstanceModel } from '../instance/instance.schema';
import { WorkflowDefinitionModel } from '../workflow/workflow.schema';
export const ProgressTrackerPresentation = definePresentation({
meta: {
key: 'workflow.instance.progress',
version: '1.0.0',
title: 'Progress Tracker',
description: 'Visual progress tracker showing current step in workflow',
domain: 'workflow-system',
owners: ['@workflow-team'],
tags: ['workflow', 'progress', 'widget'],
stability: StabilityEnum.Experimental,
goal: 'Quick view of current progress for a workflow',
context: 'Embedded progress indicator in entity views',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'WorkflowProgressTracker',
props: WorkflowInstanceModel,
},
targets: ['react'],
policy: {
flags: ['workflow.enabled'],
},
});