Skip to content

fix(console): log container and text color for debug page in dark mode#3547

Merged
xieyxclack merged 1 commit intoagentscope-ai:mainfrom
bowenliang123:fix-debug-dark
Apr 20, 2026
Merged

fix(console): log container and text color for debug page in dark mode#3547
xieyxclack merged 1 commit intoagentscope-ai:mainfrom
bowenliang123:fix-debug-dark

Conversation

@bowenliang123
Copy link
Copy Markdown
Contributor

@bowenliang123 bowenliang123 commented Apr 17, 2026

Description

[Describe what this PR does and why]

  • Before:
image
  • After:
image

Related Issue: Fixes #(issue_number) or Relates to #(issue_number)

Security Considerations: [If applicable, e.g. channel auth, env/config handling]

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactoring

Component(s) Affected

  • Core / Backend (app, agents, config, providers, utils, local_models)
  • Console (frontend web UI)
  • Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
  • Skills
  • CLI
  • Documentation (website)
  • Tests
  • CI/CD
  • Scripts / Deploy

Checklist

  • I ran pre-commit run --all-files locally and it passes
  • If pre-commit auto-fixed files, I committed those changes and reran checks
  • I ran tests locally (pytest or as relevant) and they pass
  • Documentation updated (if needed)
  • Ready for review

For Channel Changes (DingTalk, Feishu, QQ, Console, etc.)

  • I ran ./scripts/check-channels.sh (or ./scripts/check-channels.sh --changed) and it passes
  • Contract test exists in tests/contract/channels/test_<channel>_contract.py (REQUIRED)
  • Contract test implements create_instance() with proper channel initialization
  • All 19 contract verification points pass (see tests/contract/channels/__init__.py)
  • Optional: Unit tests in tests/unit/channels/test_<channel>.py for complex internal logic

Testing

[How to test these changes]

Local Verification Evidence

pre-commit run --all-files
# paste summary result

pytest
# paste summary result

Additional Notes

[Optional: any other context]

Copilot AI review requested due to automatic review settings April 17, 2026 14:34
@github-project-automation github-project-automation Bot moved this to Todo in QwenPaw Apr 17, 2026
@github-actions
Copy link
Copy Markdown

Welcome to QwenPaw! 🐾

Hi @bowenliang123, this is your 35th Pull Request.

🙌 Join Developer Community

Thanks so much for your contribution! We'd love to invite you to join the official QwenPaw developer group! You can find the Discord and DingTalk group links under the "Developer Community" section on our docs page:
https://qwenpaw.agentscope.io/docs/community

We truly appreciate your enthusiasm—and look forward to your future contributions! 😊

We'll review your PR soon.

Copy link
Copy Markdown
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

Adjusts Console Debug page styling so backend log output and related text remain readable in dark mode.

Changes:

  • Move Debug log container border/background styling from inline styles into global CSS with dark-mode overrides.
  • Add dark-mode styling for highlighted <mark> matches inside the log container.
  • Add Debug path-specific class and dark-mode strong text color override.

Reviewed changes

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

File Description
console/src/styles/layout.css Adds .debug-log-container styles and dark-mode overrides (container, <mark>, secondary typography, path label).
console/src/pages/Debug/index.tsx Adds class hooks (debug-log-container, debug-log-path) and removes inline border/background for the log container.

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

Comment thread console/src/styles/layout.css
Comment thread console/src/styles/layout.css
@bowenliang123 bowenliang123 changed the title fix(console): text color for debug page in dark mode fix(console): log container and text color for debug page in dark mode Apr 17, 2026
@xieyxclack
Copy link
Copy Markdown
Member

@zhaozhuang521 Please help review this pr

Copy link
Copy Markdown
Collaborator

@zhaozhuang521 zhaozhuang521 left a comment

Choose a reason for hiding this comment

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

LGTM

@xieyxclack xieyxclack merged commit fa6f436 into agentscope-ai:main Apr 20, 2026
14 of 15 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in QwenPaw Apr 20, 2026
@bowenliang123 bowenliang123 deleted the fix-debug-dark branch April 20, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants