feat(variations): add tags editing to tool variations#2962
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
🦋 Changeset detectedLatest commit: cbea5f7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
f4213b5 to
d4c94cb
Compare
🚀 Preview Environment (PR #2962)Preview URL: https://pr-2962.dev.getgram.ai
Gram Preview Bot |
https://linear.app/speakeasy/issue/AGE-2349/ui-support-for-tags-tool-variations Extends the ToolVariation type with a tags attribute (Goa design, service impl, model views, and regenerated server/SDK artifacts) so the existing database column is exposed through the management API. Adds a tags editor to the dashboard tool list edit dialog for HTTP tools: a creatable multi-select for free-form chip input, quick-add badges for tags from the source spec, an "Overridden" indicator, and a reset-to-source affordance. The override uses a tri-state model — undefined means inherit from source, [] is an explicit empty override, and [...] is an explicit list — so users can clear or replace inherited tags independently. Function and prompt tool variations do not yet support tags and are tracked separately (AGE-2348).
d4c94cb to
cbea5f7
Compare
There was a problem hiding this comment.
Probably not worth changing, but I would generally point to the combobox for this type of input of highly variable cardinality
| type="button" | ||
| onClick={() => handleAddBaseTag(tag)} | ||
| disabled={isDisabled} | ||
| aria-label={`Add tag "${tag}" from source`} |
https://linear.app/speakeasy/issue/AGE-2349/ui-support-for-tags-tool-variations
Extends the
ToolVariationtype with atagsattribute (Goa design, service impl, model views, and regenerated server/SDK artifacts) so the existing database column is exposed through the management API.Adds a tags editor to the dashboard tool list edit dialog for HTTP tools: a creatable multi-select for free-form chip input, quick-add badges for tags from the source spec, an Overridden indicator, and a reset-to-source affordance. The override uses a tri-state model —
undefinedmeans inherit from source,[]is an explicit empty override, and[...]is an explicit list — so users can clear or replace inherited tags independently.Function and prompt tool variations do not yet support tags and are tracked separately (AGE-2348).