Skip to content

feat(ui): add cron settings section#141

Open
Kaguya-19 wants to merge 1 commit into
OpenBMB:mainfrom
Kaguya-19:feat/setting-cron
Open

feat(ui): add cron settings section#141
Kaguya-19 wants to merge 1 commit into
OpenBMB:mainfrom
Kaguya-19:feat/setting-cron

Conversation

@Kaguya-19
Copy link
Copy Markdown
Collaborator

cron in setting ui

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

Adds a new Cron configuration section to the PilotDeck Settings UI, allowing users to configure the background scheduler settings used by Cron jobs via pilotdeck.yaml-shaped config.

Changes:

  • Adds new i18n strings for Cron section navigation + panel fields (EN + zh-CN).
  • Extends the settings tab navigation (section list, grouping, and icon) to include Cron.
  • Introduces a new CronSection UI for cron.enabled, cron.timezone, and cron.maxConcurrentRuns.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
ui/src/i18n/locales/zh-CN/settings.json Adds zh-CN strings for the new Cron settings section and its fields.
ui/src/i18n/locales/en/settings.json Adds EN strings for the new Cron settings section and its fields.
ui/src/components/settings/view/tabs/PilotDeckConfigTab.tsx Adds Cron config typing, navigation entry/icon, and the new Cron settings panel UI.

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

Comment on lines +1757 to +1759
const cron = config.cron ?? {};
const enabled = cron.enabled !== false;

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