Skip to content

feat(apollo-react): wire the @uipath/apollo-react/chat subpath - #1293

Open
BenGSchulz wants to merge 1 commit into
mainfrom
feat/chat-subpath
Open

BenGSchulz wants to merge 1 commit into
mainfrom
feat/chat-subpath

Conversation

@BenGSchulz

@BenGSchulz BenGSchulz commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the empty-but-buildable @uipath/apollo-react/chat subpath, wired like ./canvas, so the chat service move and the Wind renderer can land into it (epic MST-16172, story MST-16174). No change to ./ap-chat.

  • Exports: ./chat and ./chat/styles/*.css; dist/chat/index.* added to sideEffects.
  • CSS: src/chat/styles/tailwind.chat.css and a build:css:chat step chained into build.
  • Storybook: stories entry with the "Apollo React/Chat" prefix, source aliases for @uipath/apollo-react/chat and chat/* (the existing alias did not cover it), and the chat CSS imported in preview.tsx.
  • MUI boundary: Biome noRestrictedImports for src/chat/** rejects @mui/**, @emotion/**, relative ../material imports and @uipath/apollo-react/material*.
  • README in src/chat describing the layout and the import rules.

Notes for reviewers

  • No rslib.config.ts change: the build is bundleless over ./src/**, so src/chat is picked up already.
  • Storybook logs "No story files found" for src/chat until stories exist. It is a warning.
  • tailwind.chat.css is 292 KB, the same as the canvas CSS, because both carry the full apollo-wind base.
  • The locale-registry chat key lands with the locale move in the next PR, so only one PR edits locale-registry.ts.

Verification

  • pnpm build emits dist/chat/index.{js,cjs,d.ts} and dist/chat/styles/tailwind.chat.css
  • A probe file under src/chat gets one lint error each for @mui/*, @emotion/*, ../material, ../material/... and @uipath/apollo-react/material*; @uipath/apollo-wind and react imports pass
  • Storybook resolves @uipath/apollo-react/chat and its CSS to source

Stack

Merge in order; each PR is based on the previous one.

  1. feat(apollo-react): wire the @uipath/apollo-react/chat subpath #1293 subpath wiring (MST-16174) ← this PR
  2. refactor(apollo-react): move chat service and headless layer to src/chat #1294 move to src/chat (MST-16175)
  3. fix(apollo-react): give each chat service its own internal event bus #1295 instance isolation and publish (MST-16175)
  4. feat(apollo-react): add ChatRoot, renderer registry and renderer/density config #1296 ChatRoot and renderer registry (MST-16175)
  5. feat(apollo-react): resolve chat message renderers per chat renderer #1297 message renderers (MST-16175)
  6. feat(apollo-react): run ApChat on ChatRoot with a Material renderer #1298 Material renderer on ChatRoot (MST-16176)

Plan: https://uipath.atlassian.net/wiki/spaces/CLD/pages/91226013878

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings October 7, 2026 00:50

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Apollo Coded App preview deployments are ready.

Project Status Preview Updated (PT)
apollo-design Ready Preview · Logs Oct 07, 2026, 10:20:05 AM
apollo-docs Ready Preview · Logs Oct 07, 2026, 10:20:05 AM
apollo-landing Ready Preview · Logs Oct 07, 2026, 10:20:05 AM
apollo-vertex Ready Preview · Logs Oct 07, 2026, 10:20:05 AM

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Dependency License Review

  • ✅ 1937 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 2 package(s) excluded (see details below)
License distribution
License Packages
MIT 1708
ISC 88
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.3.3 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

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Storybook visual diff

✅ No stories are affected by this PR's changes; nothing to compare. Logs

Updated (PT): Oct 07, 2026, 10:21:18 AM

@github-actions

github-actions Bot commented Oct 7, 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 — — 42.02 MB 50.17 MB +6.3 KB
@uipath/apollo-react 48.8% — (2 untracked) 7.93 MB 31.13 MB +141.4 KB
@uipath/apollo-ui-icons — — 2.86 MB 6.97 MB +3.5 KB
@uipath/apollo-wind — — 678.6 KB 3.98 MB +116.1 KB
@uipath/ap-chat 85.8% — 43.92 MB 56.80 MB +27.1 KB

"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.

Adds an empty src/chat entry with ./chat and ./chat/styles/*.css exports,
a build:css:chat step, Storybook stories and source aliases, and a Biome
boundary that keeps src/chat free of MUI, Emotion and src/material imports.

MST-16174

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 7, 2026 17:09

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants