Skip to content

feat: introduce redesigned settings center and harden cross-platform updates - #443

Merged
mssssss123 merged 8 commits into
OpenBMB:mainfrom
mssssss123:feat/lightoffice
Jul 23, 2026
Merged

feat: introduce redesigned settings center and harden cross-platform updates#443
mssssss123 merged 8 commits into
OpenBMB:mainfrom
mssssss123:feat/lightoffice

Conversation

@mssssss123

Copy link
Copy Markdown
Collaborator

Summary

  • Replace the legacy settings UI with a redesigned, structured settings center.
  • Add two-level navigation for agent and extension settings.
  • Provide dedicated configuration pages for:
    • General preferences and editor behavior
    • Model providers and agent models
    • Routing, memory, always-on agents, web search, and scheduled tasks
    • External integrations
    • MCP servers and Office preview
    • Security, privacy, advanced settings, and update information
  • Improve visual hierarchy, spacing, typography, selected states, and keyboard focus styles.
  • Collapse dependent configuration fields when Web Search, Cron, or Router features are disabled while preserving saved values.
  • Preserve masked secrets and support explicit editing without unintentionally clearing existing credentials.
  • Keep legacy settings deep links working with the new navigation structure.
  • Improve update and restart compatibility across platforms:
    • Resolve Bash dynamically on Windows.
    • Support PILOTDECK_BASH_PATH.
    • Use a native Windows restart command when appropriate.
    • Return clearer errors when the update runtime cannot be found.

Testing

  • pnpm --dir ui build
  • pnpm --dir ui exec vitest run server/services/updateRuntime.test.js src/components/settingsNew/navigation.spec.ts src/components/settingsNew/view/agentSearch/utils/webSearchConfig.spec.ts
    • 3 test files passed
    • 13 tests passed
  • Targeted ESLint checks for the updated settings components
  • Manually verified the General, Web Search, Scheduled Tasks, MCP Servers, and Office Preview settings pages

…olution and improved error handling

- Introduced functions to resolve the appropriate bash executable based on the environment, improving compatibility across platforms.
- Updated the update application logic to utilize the resolved bash executable for executing update scripts.
- Enhanced error handling to provide more informative messages when the update process fails, particularly regarding bash executable issues.
- Added new service functions for managing update runtime errors and restart commands.
- Implemented unit tests to verify the new functionality and ensure robust error handling.
…adjustments

- Added new styles for the settings content header to improve typography.
- Updated various components to refine spacing and alignment for a more cohesive layout.
- Adjusted font sizes and line heights across settings sections for better readability.
- Enhanced sidebar navigation with consistent padding and hover effects for improved user experience.
- Modified general settings section to streamline visual hierarchy and spacing.
@mssssss123
mssssss123 requested a review from xhd0728 July 23, 2026 06:07
…ation

- Renamed settings components for clarity and consistency.
- Introduced new settings navigation logic to enhance user experience.
- Added unit tests for the new navigation functionality.
- Removed deprecated constants and hooks to streamline the codebase.
- Updated styles for improved layout and readability across settings sections.
@mssssss123
mssssss123 merged commit 55f8ebc into OpenBMB:main Jul 23, 2026
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