Skip to content

feat(apollo-react): add asterisk for required tasks [MST-11607]#894

Merged
joelasher-ap merged 1 commit into
mainfrom
feat/task-required-icon
Jul 8, 2026
Merged

feat(apollo-react): add asterisk for required tasks [MST-11607]#894
joelasher-ap merged 1 commit into
mainfrom
feat/task-required-icon

Conversation

@joelasher-ap

@joelasher-ap joelasher-ap commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

https://uipath.atlassian.net/browse/MST-11607

In the Stage node, this adds an asterisk to all tasks marked as required, and properly cuts off the task name before it would cut off the asterisk

Screenshot 2026-07-08 at 3 26 05 PM

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Review Updated (PT)
apollo-design 🟢 Ready Preview, Logs Jul 08, 2026, 12:34:11 PM
apollo-docs 🟢 Ready Preview, Logs Jul 08, 2026, 12:34:11 PM
apollo-landing 🟢 Ready Preview, Logs Jul 08, 2026, 12:34:11 PM
apollo-vertex 🟢 Ready Preview, Logs Jul 08, 2026, 12:34:11 PM

@joelasher-ap joelasher-ap changed the title feat(apollo-react): add asterisk for required tasks feat(apollo-react): add asterisk for required tasks [MST-11607] Jul 8, 2026
@github-actions github-actions Bot added the size:S 10-29 changed lines. label Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Dependency License Review

  • 1948 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 2 package(s) excluded (see details below)
License distribution
License Packages
MIT 1718
ISC 89
Apache-2.0 55
BSD-3-Clause 27
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 4
MIT-0 3
CC0-1.0 3
MIT OR Apache-2.0 2
(MIT OR Apache-2.0) 2
Unlicense 2
LGPL-3.0-or-later 1
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 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
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support in apollo-react’s Stage node task list to visually mark “required” tasks with an asterisk, and updates the Storybook example data to demonstrate the behavior.

Changes:

  • Render an asterisk next to task labels when task.isRequired is true.
  • Extend StageTaskItem with an optional isRequired flag.
  • Update StageNode Storybook sample tasks to include required tasks.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/apollo-react/src/canvas/components/StageNode/TaskContent.tsx Adds the required-task asterisk in the task label area (and adjusts layout to preserve visibility).
packages/apollo-react/src/canvas/components/StageNode/StageNode.types.ts Adds isRequired?: boolean to the StageTaskItem type.
packages/apollo-react/src/canvas/components/StageNode/StageNode.stories.tsx Demonstrates required tasks in the StageNode story sample data.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

📊 Coverage + size by package

Per-package coverage and bundle size on this PR. New-line coverage = of the source lines this PR adds or changes, the % hit by tests.

Package Coverage New-line coverage Packed (gzip) Unpacked vs main
@uipath/apollo-core 9.0% 43.82 MB 57.31 MB ±0
@uipath/apollo-react 34.5% — (22 untracked) 7.27 MB 27.60 MB +59 B
@uipath/apollo-wind 40.3% 395.0 KB 2.57 MB −8 B
@uipath/ap-chat 85.8% 43.41 MB 55.85 MB ±0

"Coverage" is each package's own coverage.include scope (e.g. apollo-core instruments only scripts/). "Packed"/"Unpacked" come from npm pack --dry-run and only cover built packages — "—" means not measured this run (package not affected / not built). "vs main" is the packed (gzipped) delta against the last successful main build (the package-sizes artifact from the Release workflow); "—" there means no main baseline was available this run. The baseline is main's latest build, not this PR's exact merge-base, so it includes any drift since the branch diverged. Packages with no vitest config are omitted.

@joelasher-ap joelasher-ap merged commit 111f830 into main Jul 8, 2026
39 of 41 checks passed
@joelasher-ap joelasher-ap deleted the feat/task-required-icon branch July 8, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg:apollo-react size:S 10-29 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants