Skip to content

feat: add Blob's display_name to Artifacts tab view#411

Open
Mugunth007 wants to merge 2 commits intogoogle:mainfrom
Mugunth007:feat/add-blob-display-name-to-artifacts-tab
Open

feat: add Blob's display_name to Artifacts tab view#411
Mugunth007 wants to merge 2 commits intogoogle:mainfrom
Mugunth007:feat/add-blob-display-name-to-artifacts-tab

Conversation

@Mugunth007
Copy link
Copy Markdown

Surfaces the Blob's displayName property in the Artifacts tab. When an artifact is saved with a display_name on the Blob, the UI now shows it instead of just the artifact key.

Fixes #292

Changes

  • types.ts: Added displayName optional field to the Blob interface
  • chat.component.ts: Extract displayName from res.inlineData in renderArtifact() and pass it through to the artifact object
  • artifact-tab.component.ts: Updated getArtifactName() to prefer displayName over artifactId
  • artifact-tab.component.html: Pass displayName from selected artifact to getArtifactName()" --base main

Surfaces the Blob's displayName property in the Artifacts tab.
When an artifact is saved with a display_name on the Blob,
the UI now shows it instead of just the artifact key.

Fixes google#292
@google-cla
Copy link
Copy Markdown

google-cla bot commented Mar 20, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Blob's "display_name" to the Artifacts tab view

1 participant