Skip to content

feat(apollo-vertex): add save as solution test button and create-test hook [AGVSOL-3355]#864

Merged
frankkluijtmans merged 1 commit into
mainfrom
frankkluijtmans/icon-sizing-class-fix
Jun 30, 2026
Merged

feat(apollo-vertex): add save as solution test button and create-test hook [AGVSOL-3355]#864
frankkluijtmans merged 1 commit into
mainfrom
frankkluijtmans/icon-sizing-class-fix

Conversation

@frankkluijtmans

Copy link
Copy Markdown
Contributor

Adds a presentational SaveAsTestButton to the solution-tests registry component along with a useCreateTest mutation hook, wired end-to-end through the actions interface, create-actions implementation, the createTest RPC path, and the hooks/index barrel exports. The button uses the size-4 icon shorthand consistent with the rest of the directory, and two new i18n keys (save_as_solution_test, saved_as_solution_test) were added to en.json. The consumer view is responsible for connecting the button to the hook.

👨 Generated with Kluijt Code

Copilot AI review requested due to automatic review settings June 29, 2026 11:25
@github-actions

github-actions Bot commented Jun 29, 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 Jun 29, 2026, 08:03:55 AM
apollo-docs 🟢 Ready Preview, Logs Jun 29, 2026, 08:03:55 AM
apollo-landing 🟢 Ready Preview, Logs Jun 29, 2026, 08:03:55 AM
apollo-vertex 🟢 Ready Preview, Logs Jun 29, 2026, 08:03:55 AM

@github-actions

Copy link
Copy Markdown
Contributor

Dependency License Review

  • 1945 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 2 package(s) excluded (see details below)
License distribution
License Packages
MIT 1715
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 UI and mutation plumbing to support creating (“save as”) a solution test from a subject ID within the apollo-vertex solution-tests registry, including a new presentational button and a new useCreateTest hook wired through the actions/RPC layer.

Changes:

  • Added SaveAsTestButton component and exported it from the solution-tests barrel.
  • Introduced useCreateTest mutation hook and wired a new createTest action through the actions interface and RPC path constants.
  • Added new English i18n strings for the button label/state.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
apps/apollo-vertex/registry/solution-tests/use-solution-tests.ts Adds useCreateTest mutation hook using injected actions.
apps/apollo-vertex/registry/solution-tests/save-as-test-button.tsx New presentational “save as test” button with icon state and i18n.
apps/apollo-vertex/registry/solution-tests/index.ts Exports the new button and the new hook from the package barrel.
apps/apollo-vertex/registry/solution-tests/hooks.ts Re-exports useCreateTest from hooks barrel.
apps/apollo-vertex/registry/solution-tests/create-actions.ts Implements createTest action calling the new automation-functions RPC path.
apps/apollo-vertex/registry/solution-tests/constants.ts Adds createTest RPC path constant.
apps/apollo-vertex/registry/solution-tests/actions.ts Extends actions interface with createTest.
apps/apollo-vertex/registry.json Registers the new UI file for the registry mapping.
apps/apollo-vertex/locales/en.json Adds new English translation keys used by the button.

Comment thread apps/apollo-vertex/registry/solution-tests/save-as-test-button.tsx
@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

📊 Coverage + size by package

Per-package bundle size on this PR (no JS/TS source changes detected under packages/* or web-packages/*).

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.7% 7.27 MB 27.59 MB ±0
@uipath/apollo-wind 40.1% 392.4 KB 2.55 MB +18 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.

@frankkluijtmans frankkluijtmans force-pushed the frankkluijtmans/icon-sizing-class-fix branch from 2055e65 to 8fea595 Compare June 29, 2026 11:38
Copilot AI review requested due to automatic review settings June 29, 2026 12:05
@frankkluijtmans frankkluijtmans force-pushed the frankkluijtmans/icon-sizing-class-fix branch from 8fea595 to 2c086c5 Compare June 29, 2026 12:05
@github-actions github-actions Bot added size:L 100-499 changed lines. and removed size:M 30-99 changed lines. labels Jun 29, 2026

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

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Comment thread apps/apollo-vertex/registry/solution-tests/use-solution-tests.ts
@frankkluijtmans frankkluijtmans force-pushed the frankkluijtmans/icon-sizing-class-fix branch from 2c086c5 to d8bb593 Compare June 29, 2026 12:20
@github-actions github-actions Bot added size:M 30-99 changed lines. and removed size:L 100-499 changed lines. labels Jun 29, 2026
@frankkluijtmans frankkluijtmans changed the title feat(apollo-vertex): add save as solution test button and create-test hook feat(apollo-vertex): add save as solution test button and create-test hook [AGVSOL-3355] Jun 29, 2026
Copilot AI review requested due to automatic review settings June 29, 2026 12:41
@frankkluijtmans frankkluijtmans force-pushed the frankkluijtmans/icon-sizing-class-fix branch from d8bb593 to b7683d3 Compare June 29, 2026 12:41
@github-actions github-actions Bot added size:L 100-499 changed lines. and removed size:M 30-99 changed lines. labels Jun 29, 2026
@frankkluijtmans frankkluijtmans force-pushed the frankkluijtmans/icon-sizing-class-fix branch from b7683d3 to df196dc Compare June 29, 2026 12:46
@frankkluijtmans frankkluijtmans marked this pull request as ready for review June 29, 2026 12:46
@frankkluijtmans frankkluijtmans requested a review from a team as a code owner June 29, 2026 12:46

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

Copilot reviewed 10 out of 11 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings June 29, 2026 12:48

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

Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.

Comment thread apps/apollo-vertex/app/templates/solution-tests/page.mdx
@frankkluijtmans frankkluijtmans force-pushed the frankkluijtmans/icon-sizing-class-fix branch from df196dc to 7f46710 Compare June 29, 2026 14:55
Copilot AI review requested due to automatic review settings June 29, 2026 14:58
@frankkluijtmans frankkluijtmans force-pushed the frankkluijtmans/icon-sizing-class-fix branch from 7f46710 to a3bbb52 Compare June 29, 2026 14:58

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

Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.

Comment thread apps/apollo-vertex/locales/en.json
@frankkluijtmans frankkluijtmans merged commit 29eb5a8 into main Jun 30, 2026
53 of 54 checks passed
@frankkluijtmans frankkluijtmans deleted the frankkluijtmans/icon-sizing-class-fix branch June 30, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app:apollo-vertex size:L 100-499 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants