Skip to content

Fix activity log message: change "Toggle" to "Switch" for ingress visibility action#957

Merged
MicroFish91 merged 4 commits intomainfrom
copilot/fix-955
Oct 30, 2025
Merged

Fix activity log message: change "Toggle" to "Switch" for ingress visibility action#957
MicroFish91 merged 4 commits intomainfrom
copilot/fix-955

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Aug 20, 2025

The Azure activity log was showing inconsistent terminology when users executed the "Switch Ingress Visibility..." action. While the command is named "Switch Ingress Visibility...", the activity log was displaying "Toggle ingress visibility to..." instead of "Switch ingress visibility to...".

This change fixes the inconsistency by updating the localization string in toggleIngressVisibility.ts to use "Switch" instead of "Toggle", ensuring the activity log message aligns with the command name.

Before:

Toggle ingress visibility to "Internal" for container app "my-app"

After:

Switch ingress visibility to "Internal" for container app "my-app"

The fix is a minimal single-word change that improves the user experience by providing consistent terminology throughout the extension.

Fixes #955.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • update.code.visualstudio.com
    • Triggering command: node ./dist/test/runTest.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Aug 20, 2025

@nturinski 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot AI and others added 2 commits August 20, 2025 18:34
Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>
…ibility

Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>
Copilot AI changed the title [WIP] Activity Log shows "Toggle" instead of "Switch/Change" for ingress visibility action Fix activity log message: change "Toggle" to "Switch" for ingress visibility action Aug 20, 2025
Copilot AI requested a review from nturinski August 20, 2025 18:39
@MicroFish91
Copy link
Copy Markdown
Contributor

@copilot do not make any changes to files that are outside of src/commands/ingress/toggleIngressVisibility/toggleIngressVisibility.ts, they are not necessary for this fix

Co-authored-by: MicroFish91 <40250218+MicroFish91@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Aug 21, 2025

@copilot do not make any changes to files that are outside of src/commands/ingress/toggleIngressVisibility/toggleIngressVisibility.ts, they are not necessary for this fix

Done! I've reverted all changes to files outside of src/commands/ingress/toggleIngressVisibility/toggleIngressVisibility.ts. The fix now only modifies the target file as requested. (47ba137)

@MicroFish91 MicroFish91 marked this pull request as ready for review August 25, 2025 17:24
@MicroFish91 MicroFish91 requested a review from a team as a code owner August 25, 2025 17:24
@MicroFish91 MicroFish91 merged commit bf6908c into main Oct 30, 2025
2 checks passed
@MicroFish91 MicroFish91 deleted the copilot/fix-955 branch October 30, 2025 17:14
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.

Activity Log shows "Toggle" instead of "Switch/Change" for ingress visibility action

4 participants