Skip to content

Conversation

@krystian-panek-vmltech
Copy link
Collaborator

image

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new SUCCESS log level to the code print stream API and removes the TRACE log level. The change affects logging functionality across both the Java backend and frontend syntax highlighting.

  • Adds SUCCESS log level with green color styling for positive operation outcomes
  • Removes TRACE log level from the enum and API
  • Updates test coverage and refactors tests to use try-with-resources pattern

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
core/src/main/java/dev/vml/es/acm/core/code/CodePrintLevel.java Adds SUCCESS and removes TRACE from the enum; reorders enum values
core/src/main/java/dev/vml/es/acm/core/code/CodePrintStream.java Adds success() method and removes trace() method
core/src/test/java/dev/vml/es/acm/core/code/CodePrintStreamTest.java Adds test for success() method, renames debug/trace tests, refactors to use try-with-resources, and updates multi-level test
ui.frontend/src/utils/monaco/log.ts Adds SUCCESS log level syntax highlighting pattern and theme rule with green bold styling
ui.content/src/main/content/jcr_root/conf/acm/settings/snippet/available/core/general/demo_processing.yml Updates example to use out.success() instead of out.info() for completion message
README.md Updates documentation to include out.success() and removes out.debug() and out.trace() from the timestamped console output examples

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@krystian-panek-vmltech krystian-panek-vmltech merged commit ef405ce into main Nov 13, 2025
1 check passed
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