Skip to content

Web UI: Rename Logs→Monitor, extract Token Estimation section, improve Raw YAML editor#18

Merged
BlueSkyXN merged 2 commits intodevfrom
copilot/review-config-functionality-issues
Feb 5, 2026
Merged

Web UI: Rename Logs→Monitor, extract Token Estimation section, improve Raw YAML editor#18
BlueSkyXN merged 2 commits intodevfrom
copilot/review-config-functionality-issues

Conversation

Copy link
Contributor

Copilot AI commented Feb 5, 2026

Addresses multiple Web UI review findings: tab naming, section hierarchy, and styling issues.

Changes

UI Structure

  • Logs→Monitor: Renamed tab from "日志/Logs" to "监控/Monitor" in both EN/ZH translations
  • Token Estimation: Extracted from nested position under Prompt to standalone 2nd-level sidebar section
  • Raw YAML Editor: Added border frame (border-gray-100) and minimum height (500px) for better vertical space utilization

Alignment Fix

  • Sample Size field description moved from inline (causing misalignment) to below the grid as a note

PyInstaller Workflow

  • CLI-only builds now explicitly remove web/dist before packaging to ensure frontend assets are excluded

Screenshots

Monitor Tab Token Estimation Section
Monitor Token
Raw YAML Editor Chinese (监控/Token 估算)
YAML ZH

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…on, improve Raw YAML editor

Co-authored-by: BlueSkyXN <63384277+BlueSkyXN@users.noreply.github.com>
Copilot AI changed the title [WIP] Review and address issues with Web UI configuration functionality Web UI: Rename Logs→Monitor, extract Token Estimation section, improve Raw YAML editor Feb 5, 2026
Copilot AI requested a review from BlueSkyXN February 5, 2026 09:45
@BlueSkyXN BlueSkyXN marked this pull request as ready for review February 5, 2026 09:51
Copilot AI review requested due to automatic review settings February 5, 2026 09:51
@BlueSkyXN BlueSkyXN merged commit 30bcaf3 into dev Feb 5, 2026
17 checks passed
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 pull request addresses multiple Web UI improvements based on review feedback, focusing on better navigation, clearer section hierarchy, and improved editor usability.

Changes:

  • Renamed the "Logs" tab to "Monitor" in both English and Chinese translations for better clarity
  • Extracted Token Estimation configuration from nested position under Prompt section to a standalone second-level sidebar section
  • Enhanced Raw YAML editor with border styling and minimum height for better visual definition and space utilization

Reviewed changes

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

Show a summary per file
File Description
web/src/types.ts Updated TabType to replace 'logs' with 'monitor'
web/src/i18n.ts Updated translations for tab renaming (EN/ZH)
web/src/App.tsx Updated tab references to use 'monitor' instead of 'logs'
web/src/components/config/sections/TokenSection.tsx New standalone section component for Token Estimation configuration
web/src/components/config/sections/PromptSection.tsx Removed Token Estimation subsection and unused imports
web/src/components/config/SectionRenderer.tsx Added routing for new TokenSection
web/src/components/config/RawYamlEditor.tsx Added border and minimum height styling improvements
web/src/components/config/ConfigSidebar.tsx Added token section to sidebar with icon and ordering
.github/workflows/build-pyinstaller.yml Added cleanup of web/dist directory for CLI-only builds to ensure no frontend assets are included

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

@BlueSkyXN BlueSkyXN deleted the copilot/review-config-functionality-issues branch February 6, 2026 05:59
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

Comments