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

cd: enable add chart button #5037

Merged
merged 6 commits into from
Jun 10, 2024
Merged

cd: enable add chart button #5037

merged 6 commits into from
Jun 10, 2024

Conversation

briangregoryholmes
Copy link
Contributor

@briangregoryholmes briangregoryholmes commented Jun 6, 2024

This PR enables the Create new chart option in the Add Chart dropdown present in the Custom Dashboard workspace. It also temporarily removes the Generate chart with AI option as the sequencing of that item is still being determined.

@briangregoryholmes briangregoryholmes self-assigned this Jun 6, 2024
@briangregoryholmes briangregoryholmes marked this pull request as ready for review June 7, 2024 13:52
async function handleAddChart() {
const newRoute = await handleEntityCreate(ResourceKind.Component);

const chartName = newRoute?.split("/").pop()?.split(".")[0];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to use getNameFromFile util function here?

@briangregoryholmes briangregoryholmes merged commit 8d881a0 into main Jun 10, 2024
4 checks passed
@briangregoryholmes briangregoryholmes deleted the bgh/cd/add-chart branch June 10, 2024 15:58
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.

2 participants