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

Add deleteEnvironmentVariable command #798

Open
wants to merge 3 commits into
base: mwf/mature-lime
Choose a base branch
from

Conversation

MicroFish91
Copy link
Contributor

No description provided.

@MicroFish91 MicroFish91 requested a review from a team as a code owner December 3, 2024 22:56
import { type EnvironmentVariablesBaseContext } from "../EnvironmentVariablesContext";

export interface EnvironmentVariableDeleteBaseContext extends EnvironmentVariablesBaseContext {
environmentVariable: EnvironmentVar;
Copy link
Member

Choose a reason for hiding this comment

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

Should this just be part of the edit context?

Copy link
Contributor Author

@MicroFish91 MicroFish91 Dec 17, 2024

Choose a reason for hiding this comment

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

Just to clarify, which of the edit contexts are you referring to?

};
wizardContext.telemetry.properties.revisionMode = containerApp.revisionsMode;

const confirmMessage: string = localize('confirmDeleteEnv', 'Are you sure you want to delete environment variable "{0}"?', item.envVariable.name);
Copy link
Member

Choose a reason for hiding this comment

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

Should we put a message saying that this isn't destructible (until you upload the draft?)

Copy link
Contributor Author

@MicroFish91 MicroFish91 Dec 17, 2024

Choose a reason for hiding this comment

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

Yeah that's a good idea. Maybe I can add (draft) to the message to help clarify this, do you think that would be clear enough?

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