Skip to content

feat(apollo-react): add case-management trigger node manifest#720

Open
kittyyueli wants to merge 2 commits into
mainfrom
claude/add-case-trigger-manifest-5LP1R
Open

feat(apollo-react): add case-management trigger node manifest#720
kittyyueli wants to merge 2 commits into
mainfrom
claude/add-case-trigger-manifest-5LP1R

Conversation

@kittyyueli
Copy link
Copy Markdown
Member

Summary

Phase 1 of the Case Unified schema onboarding — adds the uipath.case.trigger manifest and a Storybook example. Scope is limited to trigger nodes only; stage, exception stage, task, condition, and edge manifests are intentionally deferred.

  • Add packages/apollo-react/src/canvas/components/CaseFlow/case-flow.manifest.ts with the case-management-trigger category, the caseManagementTriggerManifest node manifest (single right-side output handle, case-stage target whitelist, case-management-trigger/case-condition blacklist), and the combined caseFlowManifest export — mirroring the shape of agent-flow.manifest.ts.
  • Add CaseTrigger.stories.tsx (Storybook title Components/CaseFlow/Trigger) that registers caseFlowManifest via NodeRegistryProvider and renders manifest-driven uipath.case.trigger nodes through BaseNode (useCanvasStory + createNode), showcasing execution-status and icon-override variants.
  • Legacy Components/TriggerNode story and the TriggerNode component are untouched.

Test plan

  • Components/CaseFlow/Trigger / Default renders 10 trigger nodes in a 5-column grid in Storybook.
  • Status variants (InProgress, Completed, Failed, Paused, NotExecuted) display the expected execution-state styling.
  • Per-instance display.icon overrides (clock, mail, webhook) replace the manifest's default bolt icon.
  • Connecting a trigger's right-side output handle to another trigger node is rejected by the constraint validator (forbidden category case-management-trigger).
  • Connecting to a node whose category is case-stage succeeds (verifiable once a stage manifest lands).
  • npx tsc --noEmit -p packages/apollo-react/tsconfig.json reports no new errors.
  • Legacy Components/TriggerNode / Default story still renders unchanged.

https://claude.ai/code/session_0157FiTqLMdaPe7BpZQU1Ktw


Generated by Claude Code

claude added 2 commits May 19, 2026 05:51
Phase 1 manifest for uipath.case.trigger per Case Unified schema
onboarding spec. Triggers only — stage, task, condition, and edge
manifests are out of scope here.
- Normalize forbidden target category to 'case-management-trigger' so the
  trigger manifest is internally consistent.
- Add Components/CaseFlow/Trigger story that registers caseFlowManifest
  through NodeRegistryProvider and renders uipath.case.trigger nodes via
  BaseNode (uses useCanvasStory + createNode).
- Leave the legacy Components/TriggerNode story untouched.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (PT)
apollo-design 🟢 Ready Preview, Logs May 19, 2026, 12:27:35 PM
apollo-docs 🟢 Ready Preview, Logs May 19, 2026, 12:27:35 PM
apollo-landing 🟢 Ready Preview, Logs May 19, 2026, 12:27:35 PM
apollo-ui-react 🟢 Ready Preview, Logs May 19, 2026, 12:27:35 PM
apollo-vertex 🟢 Ready Preview, Logs May 19, 2026, 12:27:35 PM

@github-actions github-actions Bot added pkg:apollo-react size:L 100-499 changed lines. labels May 19, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Dependency License Review

  • 2063 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 14 package(s) excluded (see details below)
License distribution
License Packages
MIT 1795
ISC 104
Apache-2.0 62
BSD-3-Clause 29
BSD-2-Clause 24
Copyright 2022, UiPath, all rights reserved 9
BlueOak-1.0.0 8
MPL-2.0 4
MIT-0 3
Unknown 3
Unlicense 3
CC0-1.0 3
MIT OR Apache-2.0 2
(MIT OR Apache-2.0) 2
LGPL-3.0-or-later 1
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
BSD 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@uipath/apollo-angular-elements 5.89.0 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-core 4.35.1, 4.35.2 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-fonts 1.25.8 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-icons 1.33.7 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-mui5 2.31.26, 2.31.27 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/portal-shell 3.351.4 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/portal-shell-react 3.149.36 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/portal-shell-types 3.326.0 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/portal-shell-util 1.114.0 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-lab 25.12.0 Unknown UiPath first-party package
@uipath/telemetry-client-web 5.1.0 Unknown UiPath first-party package
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json
hyperx 2.5.4 BSD BSD-2-Clause per LICENSE file, non-SPDX "BSD" in package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg:apollo-react size:L 100-499 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants