Skip to content

Conversation

@jkowall
Copy link
Contributor

@jkowall jkowall commented Dec 25, 2025

Summary

This PR adds documentation for the UI configuration options, particularly the themes/dark mode feature.

Changes

  • README.md: Added a new "Common Configuration Options" section documenting:

    • Themes (Dark Mode): How to enable the theme toggle with themes.enabled
    • Dependencies: System Architecture tab configuration
    • Monitor: Service Performance Monitoring tab configuration
    • Link Patterns: Custom links for traces and tags
  • jaeger-ui.config.example.json: Added the themes configuration to the example file

Why

The themes.enabled configuration wasn't documented, which could lead to confusion (e.g., using enableThemes: true instead of the correct nested structure themes: { enabled: true }).

Testing

Documentation only - no code changes.

- Document the themes.enabled configuration for dark mode toggle
- Add themes config to the example JSON file
- Document common configuration options (dependencies, monitor, linkPatterns)
- Clarify the nested object structure required for configuration

Signed-off-by: Jonah Kowall <[email protected]>
Copilot AI review requested due to automatic review settings December 25, 2025 12:58
@jkowall jkowall requested a review from a team as a code owner December 25, 2025 12:58
@jkowall jkowall requested review from joe-elliott and removed request for a team December 25, 2025 12:58
Copy link

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 comprehensive documentation for UI configuration options, with a focus on the previously undocumented themes.enabled feature that enables dark mode support.

Key Changes:

  • Added a "Common Configuration Options" section to README.md documenting themes, dependencies, monitor, and link patterns configuration
  • Updated the example configuration file to include the themes configuration

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/jaeger-ui/README.md Added detailed documentation for common configuration options including themes (dark mode), dependencies (System Architecture), monitor (Service Performance Monitoring), and link patterns with usage examples
packages/jaeger-ui/jaeger-ui.config.example.json Added themes.enabled configuration to demonstrate the theme toggle feature

I have completed my review of this pull request. The documentation changes are accurate, well-structured, and correctly describe the configuration options as defined in src/types/config.tsx. All code examples match the actual configuration structure, and the cross-references are valid. No issues were identified in the proposed changes.


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

@codecov
Copy link

codecov bot commented Dec 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.83%. Comparing base (9c75545) to head (1daacc3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3243   +/-   ##
=======================================
  Coverage   97.83%   97.83%           
=======================================
  Files         261      261           
  Lines        8209     8209           
  Branches     2178     2178           
=======================================
  Hits         8031     8031           
  Misses        175      175           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jkowall jkowall added documentation changelog:skip Trivial change that does not require an entry in CHANGELOG labels Dec 25, 2025

### Common Configuration Options

#### Themes (Dark Mode)
Copy link
Member

Choose a reason for hiding this comment

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

we should either have all docs here or in https://www.jaegertracing.io/docs/2.13/deployment/frontend-ui/, the split brain situation is not good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip Trivial change that does not require an entry in CHANGELOG documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants