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 setting to change the StatusBar color when working in a production org #5517

Closed
PierreVanobbergen opened this issue Mar 22, 2024 · 2 comments · May be fixed by #5519
Closed

Add setting to change the StatusBar color when working in a production org #5517

PierreVanobbergen opened this issue Mar 22, 2024 · 2 comments · May be fixed by #5519
Labels
type:enhancements Feedback to take into account for existing features

Comments

@PierreVanobbergen
Copy link

Is your feature request related to a problem? Please describe.

When developing in VS Code, we often switch between the dev org and the production org to retrieve and compare files.
It sometime happens that we push code by mistake to the wrong org. It's okay with Apex classes as it launch the test classes automatically in production, but with Visualforce components or LWC it uploads it right away.

Describe the solution you'd like

A setting that changes the StatusBar color if the default org is the production one (Checkbox).
Another setting to choose what color is used (Hexadecimal input)

Describe alternatives you've considered

I've considered changing the ActivityBar into another color, or the StatusBarItem that displays the current org, but I think it would be too big and too subtle respectively.

Additional context

The idea comes from this extension: https://chromewebstore.google.com/detail/org-header-for-salesforce/bhnfbnhpmnfacebccnjjoeecgmnbhjam

I already implemented it to test if it could be done, I came up with this:

Screen.Recording.2024-03-22.at.12.47.09.mov

Let me know if you would be interested by.a PR!

@daphne-sfdc
Copy link
Contributor

daphne-sfdc commented Mar 22, 2024

Hi @PierreVanobbergen, This is a great improvement that can prevent many unintentional deploys. Yes, we are interested in this and will be happy to review your PR! 😁

Thank you for your work to improve the usability of our extensions.

@daphne-sfdc daphne-sfdc added the type:enhancements Feedback to take into account for existing features label Mar 22, 2024
PierreVanobbergen added a commit to PierreVanobbergen/salesforcedx-vscode that referenced this issue Mar 22, 2024
Create a setting to allow the status bar to change color when the default org is a production one

fix forcedotcom#5517
@diyer
Copy link
Collaborator

diyer commented Jul 2, 2024

Hi @PierreVanobbergen, thank you for your contribution! Please read our contributing guide and submit this PR again with all the required information.

@diyer diyer closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancements Feedback to take into account for existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants