Skip to content

chore: make plugin install message yellow instead of red#2126

Merged
ava-silver merged 1 commit intomasterfrom
ava.silver/chore/make-plugin-install-message-yellow-instead-of-red
Feb 25, 2026
Merged

chore: make plugin install message yellow instead of red#2126
ava-silver merged 1 commit intomasterfrom
ava.silver/chore/make-plugin-install-message-yellow-instead-of-red

Conversation

@ava-silver
Copy link
Contributor

@ava-silver ava-silver commented Feb 24, 2026

What and why?

Changed the console message color for plugin auto-installation from red to yellow-bright. The red color was misleading as it suggested an error when the message is actually informational, indicating that a plugin is being automatically installed.

Different color examples:

image.png

Feel free to run it to see how it would look with your terminal colors:

node -e "
const chalk = require('chalk');
console.log(chalk.red('red:          Could not find @datadog/plugin-example. Installing...'));
console.log(chalk.yellow('yellow:       Could not find @datadog/plugin-example. Installing...'));
console.log(chalk.yellowBright('yellowBright: Could not find @datadog/plugin-example. Installing...'));"

How?

Updated the chalk color method from chalk.red() to chalk.yellowBright() in the plugin auto-install handler to better reflect the informational nature of the message.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ava-silver ava-silver added the chores Related to the CI or developer experience label Feb 24, 2026 — with Graphite App
@ava-silver ava-silver requested a review from Drarig29 February 24, 2026 18:51
@ava-silver ava-silver marked this pull request as ready for review February 24, 2026 18:51
@ava-silver ava-silver requested a review from a team as a code owner February 24, 2026 18:51
@ava-silver ava-silver merged commit be1a749 into master Feb 25, 2026
27 of 28 checks passed
@ava-silver ava-silver deleted the ava.silver/chore/make-plugin-install-message-yellow-instead-of-red branch February 25, 2026 23:48
@vishal-joshi-datadog vishal-joshi-datadog mentioned this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chores Related to the CI or developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants