Repository navigation
docs(tutorials): Workflows tutorial - #223
Merged
Merged
Conversation
Adds docs/tutorials/workflows.mdx (definition -> instance -> execution -> evidence) with a <Checkpoint> and real UI screenshot per step, registers it in tutorialsSidebar after the components showcase, and links the overview's Workflows group to it. Labels verified against compliance-framework/ui main; the role-assignment rule against compliance-framework/api main. Part of #204. Closes #221.
Contributor
Author
|
🏭 Tracked by CCF Factory — view |
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the Workflows tutorial (docs/tutorials/workflows.mdx): a definition → an instance for the active system → a finished execution whose steps the reader completed, with evidence. Registers it in
tutorialsSidebarafter the Components showcase and links the overview's Workflows group to it.Closes #221 (part of the Tutorials work, #204). Depends on #214 (
<Checkpoint>) and #216 (the shared first step + STYLE rules), both already onmain.How it was checked
compliance-framework/uimain(the create-definition, add-step, instance, role-assignment and execution screens), and the role-assignment rule ("only a user who holds the step's role on the instance can work that step") againstcompliance-framework/apimain(StepTransitionService.CanUserTransitionStepmatches an activerole_assignmenton the instance by role name and assignee).Two deviations from the ticket, after checking the running product
mainrejects it (CadenceType.IsValidhas noon_demand), so selecting it fails at Create Instance. The tutorial keeps the default Monthly cadence and runs the instance on demand with Execute Now, which is what the step actually needs. Worth a separate look at why the UI lists a cadence the API won't accept.Not covered (per the ticket's "leave out")
The Controls tab is mentioned in one sentence and not used; no definition publishing (it stays Draft); no import, notifications, custom cron, or evidence filters (the latter belong to the Filter/Systems tutorials). The Systems tutorial doesn't exist on
mainyet, so the cross-references point at the Tutorials overview rather than a stub page.Checks
yarn test,yarn typecheck,yarn spellcheckandyarn buildall pass (build reports no broken links, anchors or images).