-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
GH-919 Fix sudo placeholder's #919
Conversation
WalkthroughThe changes update how sudo commands report their execution target. In the ✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
eternalcore-core/src/main/java/com/eternalcode/core/feature/sudo/messages/PLSudoMessages.java (1)
16-17
: Consider matching the message styleThe messages use different styles for the same information:
- Spy message: "wykonał komendę: {COMMAND} na: {TARGET}"
- User message: "Wykonałeś komendę: {COMMAND} na: {TARGET}"
It might be clearer to keep the same order and style in both messages.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
eternalcore-core/src/main/java/com/eternalcode/core/feature/sudo/SudoCommand.java
(3 hunks)eternalcore-core/src/main/java/com/eternalcode/core/feature/sudo/messages/ENSudoMessages.java
(1 hunks)eternalcore-core/src/main/java/com/eternalcode/core/feature/sudo/messages/PLSudoMessages.java
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: build (17)
🔇 Additional comments (7)
eternalcore-core/src/main/java/com/eternalcode/core/feature/sudo/messages/ENSudoMessages.java (2)
13-14
: Nice addition of the target information!The message now clearly shows who ran the command and where it was executed.
16-17
: Good consistency in message updates!The message format matches the spy message style, making it easy to understand where commands are executed.
eternalcore-core/src/main/java/com/eternalcode/core/feature/sudo/messages/PLSudoMessages.java (1)
13-14
: Nice work on the clear message format!The spy message now clearly shows who ran the command and on which target. The description explains all placeholders well.
eternalcore-core/src/main/java/com/eternalcode/core/feature/sudo/SudoCommand.java (4)
15-15
: Nice addition!The CommandSender import is just what we needed for the improved sudo tracking.
36-36
: Looking good!The console method now properly shows who's running the command.
44-44
: Perfect update!The player method now clearly shows which player is running the command.
47-47
: Great improvements to command tracking!The new target parameter and placeholders make it super clear who's running what command.
Also applies to: 52-52, 62-62
No description provided.