Skip to content

fix(dashboard): remove duplicate platform logs#9291

Merged
Fridemn merged 1 commit into
masterfrom
fix/remove-platform-page-logs
Jul 15, 2026
Merged

fix(dashboard): remove duplicate platform logs#9291
Fridemn merged 1 commit into
masterfrom
fix/remove-platform-page-logs

Conversation

@Fridemn

@Fridemn Fridemn commented Jul 15, 2026

Copy link
Copy Markdown
Member

Modifications / 改动点

  • Remove the duplicated platform log panel from the Bots page.

  • Remove the unused log display component, expansion state, and related translations.

  • Keep platform logs accessible through the existing sidebar entry.

  • No new dependencies are introduced.

  • This is NOT a breaking change. / 这不是一个破坏性变更。

Screenshots or Test Results / 运行截图或测试结果

image

Checklist / 检查清单

  • 😊 If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc.
    / 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。

  • 👀 My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
    / 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”

  • 🤓 I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in requirements.txt and pyproject.toml.
    / 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到 requirements.txtpyproject.toml 文件相应位置。

  • 😮 My changes do not introduce malicious code.
    / 我的更改没有引入恶意代码。

Summary by Sourcery

Streamline the Platform dashboard page by removing the redundant platform logs section and its associated component, state handling, and translations while keeping platform logs accessible via the existing sidebar entry.

Bug Fixes:

  • Remove the duplicated platform logs panel from the Bots/Platform page to avoid redundant log displays.

Enhancements:

  • Simplify the Platform page by removing the unused console display component and its expansion state persistence.
  • Clean up related platform log i18n entries from multiple locales to reflect the removed UI elements.

@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. area:webui The bug / feature is about webui(dashboard) of astrbot. labels Jul 15, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
astrbot-docs 78bd6ac Commit Preview URL

Branch Preview URL
Jul 15 2026, 09:27 AM

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request removes the platform logs section and the ConsoleDisplayer component from the PlatformPage view, along with its associated state, watchers, and localization strings across English, Russian, and Chinese locales. I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@Fridemn Fridemn merged commit 6b53b55 into master Jul 15, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webui The bug / feature is about webui(dashboard) of astrbot. size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants