Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency ReviewThe following issues were found:
License Issuesapps/apollo-vertex/package.json
OpenSSF Scorecard
Scanned Files
|
There was a problem hiding this comment.
Pull request overview
Adds a reusable AI Chat component + hook to the Apollo Vertex registry, along with a demo docs page/template, supporting markdown rendering, tool-call grouping, navigation/choice tool results, persistence, and basic error display.
Changes:
- Introduces
AiChatUI components plususeAiChathook and supporting types/utils/storage/api helpers. - Adds a new Vertex docs page (
page.mdx) and demo template wiring the component with mock responses. - Updates app dependencies/translations/registry configuration to expose and document the new component.
Reviewed changes
Copilot reviewed 20 out of 21 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Locks new dependencies (react-markdown, remark-gfm). |
| apps/apollo-vertex/package.json | Adds markdown + GFM dependencies used by the chat renderer. |
| apps/apollo-vertex/tsconfig.json | Adds path aliases for the new AI chat lib modules. |
| apps/apollo-vertex/templates/AiChatTemplate.tsx | Provides an interactive demo with mock tool/navigation/choice behaviors. |
| apps/apollo-vertex/registry/ai-chat/use-ai-chat.ts | Implements the core hook: persistence, tool loop, fetch + abort/stop. |
| apps/apollo-vertex/registry/ai-chat/ai-chat.tsx | Main chat container: message list, suggestions, navigation, input wiring. |
| apps/apollo-vertex/registry/ai-chat/ai-chat-message.tsx | Renders user/assistant messages with markdown support. |
| apps/apollo-vertex/registry/ai-chat/ai-chat-input.tsx | Input area with attachments, drag/drop, stop/clear controls. |
| apps/apollo-vertex/registry/ai-chat/ai-chat-utils.ts | Utilities for tool grouping and extracting navigation/choices from tool messages. |
| apps/apollo-vertex/registry/ai-chat/ai-chat-api.ts | Builds OpenAI-compatible request messages + tool execution helper. |
| apps/apollo-vertex/registry/ai-chat/ai-chat-storage.ts | Session/local/none storage helpers for chat history. |
| apps/apollo-vertex/registry/ai-chat/ai-chat-tool-group*.tsx | Collapsible “tools used” UI grouping for tool-call-only assistant messages. |
| apps/apollo-vertex/registry/ai-chat/ai-chat-loading.tsx | Loading indicator bubble while awaiting responses. |
| apps/apollo-vertex/registry/ai-chat/ai-chat-types.ts | Public types for messages, tools, config, and hook return shape. |
| apps/apollo-vertex/registry/ai-chat/metadata.json | Registry metadata describing the component and its files/deps. |
| apps/apollo-vertex/registry/ai-chat/README.md | Component documentation + usage examples. |
| apps/apollo-vertex/registry.json | Registers the new ai-chat entry and its registry files. |
| apps/apollo-vertex/locales/en.json | Adds i18n strings used by the new UI. |
| apps/apollo-vertex/app/vertex-components/ai-chat/page.mdx | Docs page that embeds the demo template and mirrors README guidance. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
VKravchuk
requested changes
Mar 5, 2026
ruudandriessen
previously requested changes
Mar 5, 2026
apps/apollo-vertex/registry/ai-chat/ai-chat-tool-group-message.tsx
Outdated
Show resolved
Hide resolved
alincadariu
requested changes
Mar 5, 2026
9c2538c to
3b7d2c9
Compare
3b7d2c9 to
1069bed
Compare
1069bed to
70c63e6
Compare
apps/apollo-vertex/registry/ai-chat/components/ai-chat-markdown.tsx
Outdated
Show resolved
Hide resolved
apps/apollo-vertex/registry/ai-chat/components/ai-chat-input.tsx
Outdated
Show resolved
Hide resolved
70c63e6 to
8d82dae
Compare
8d82dae to
579cb23
Compare
579cb23 to
4cfda30
Compare
Contributor
Author
if we did that, people couldn't add their custom logic like in this example integration pr and the api we would need to introduce at the component level to support this turns into a mess fast |
9ac8b8a to
25ff225
Compare
25ff225 to
2832ada
Compare
alincadariu
reviewed
Mar 11, 2026
2832ada to
aeec991
Compare
aeec991 to
b78c69e
Compare
alincadariu
approved these changes
Mar 11, 2026
b78c69e to
2a8eb88
Compare
angeloaltamiranom
approved these changes
Mar 11, 2026
VKravchuk
approved these changes
Mar 11, 2026
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.

this component is implemented as a poc in 2 use cases: