Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix cmdo event title, to make it more human readable #1639

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "instill-sdk",
"version": "0.13.0-rc.0",
"version": "0.13.0-rc.2",
"description": "Instill AI's Typescript SDK",
"repository": "https://github.com/instill-ai/typescript-sdk.git",
"bugs": "https://github.com/instill-ai/community/issues",
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export type DataSpecification = {
};

export type EventSpecification = {
title: string;
configSchema: Nullable<InstillJSONSchema>;
description: string;
messageExamples: GeneralRecord[];
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@instill-ai/toolkit",
"version": "0.113.0-rc.6",
"version": "0.113.0-rc.10",
"description": "Instill AI's frontend toolkit",
"repository": "https://github.com/instill-ai/design-system.git",
"bugs": "https://github.com/instill-ai/design-system/issues",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ export const ComponentCmdo = () => {
{selectedComponentDefinition &&
isComponentDefinition(selectedComponentDefinition) ? (
<ScrollArea.Root className="flex shrink-0 mb-auto h-[280px]">
<CommandGroup headingWrapperClassName="px-2" heading="Task">
<CommandGroup headingWrapperClassName="px-2" heading="Event">
{selectingComponentType === "component"
? selectedComponentDefinition.tasks.map((task) => (
<TaskItem
Expand All @@ -802,7 +802,7 @@ export const ComponentCmdo = () => {
).map(([key, value]) => (
<TaskItem
key={key}
taskTitle={key}
taskTitle={value.title}
taskDescription={value.description}
onClick={() => {
setSelectedTaskName(key);
Expand Down
Loading