Skip to content

Conversation

@3clyp50
Copy link
Contributor

@3clyp50 3clyp50 commented Dec 26, 2025

Settings Refactoring

  • Extracted settings UI into modular components (agent/, external/, mcp/, a2a/, backup/, developer/, memory/)
  • Added new settings-store.js
  • Moved A2A settings out of MCP directory
  • Backend: added dropdown option validation, knowledge subdirectory selector, API key and root password masking

Scheduler Redesign

  • Created standalone scheduler modal with dedicated components (task-list, task-editor, task-detail)
  • Added new scheduler-store.js
  • Fixed flickering and polling issues
  • Fixed edit task with project bug

CSS & Cleanup

  • Extracted shared styles into buttons.css, tables.css, scheduler.css
  • Removed deprecated scheduler.js and settings.js
  • Cleaned up index.html and index.js

Wabifocus and others added 27 commits December 21, 2025 01:09
- Simplified task detail opening logic by integrating it into the `settingsModalStore`
- Updated the visibility condition for the task detail view in `scheduler-task-detail.html` to rely solely on the selected task state

rm attributes from components

simplify task display logic

settings components init

scheduler componentize

- Removed the inline scheduler settings script from `index.html` and replaced it with a new component structure in `scheduler-settings.html`, `scheduler-task-editor.html`, `scheduler-task-list.html`, and `scheduler-task-detail.html`.
- Introduced a dedicated `scheduler-store.js` to manage state and logic for the scheduler, enhancing maintainability and separation of concerns.
- Updated the `index.js` to remove the now obsolete `openTaskDetail` function, integrating task detail handling within the new store.
- Removed the deprecated `scheduler.js` file, consolidating functionality into the new component architecture.

settings modal store rename

- Replaced all instances of `$store.settingsModalStore` with `$store.settingsStore` across various settings components.

scheduler tab content x-if
Updated the settings UI to work with the new backend format that separates settings values from additional metadata.

- Settings components now read from the new structure (settings + additional)
- Removed legacy field-based rendering in favor of direct value binding
- Root passwd masking
- Added knowledge subdirectory selector support
- Enhanced backend `convert_out()`: now ensures current values are always present in dropdown options, preventing UI glitches
- Cleaned up old conversion functions marked for removal
Modified buildPayloadFromEditingTask() to only include project fields when creating a new task (isCreating === true), not when updating an existing one
- Restrict code fence stripping to fences at start-of-line (prevents inline "~~~markdown" from being treated as a fence and merging lines)
- Only strip fences for full JSON templates in Agent.read_prompt() and files.parse_file()
- Preserve fenced examples in markdown/tool prompts while keeping json-only prompts parseable
- Add regression tests for fence stripping and prompt fence policy
3clyp50 and others added 12 commits January 2, 2026 10:59
- Simplified task detail opening logic by integrating it into the `settingsModalStore`
- Updated the visibility condition for the task detail view in `scheduler-task-detail.html` to rely solely on the selected task state

rm attributes from components

simplify task display logic

settings components init

scheduler componentize

- Removed the inline scheduler settings script from `index.html` and replaced it with a new component structure in `scheduler-settings.html`, `scheduler-task-editor.html`, `scheduler-task-list.html`, and `scheduler-task-detail.html`.
- Introduced a dedicated `scheduler-store.js` to manage state and logic for the scheduler, enhancing maintainability and separation of concerns.
- Updated the `index.js` to remove the now obsolete `openTaskDetail` function, integrating task detail handling within the new store.
- Removed the deprecated `scheduler.js` file, consolidating functionality into the new component architecture.

settings modal store rename

- Replaced all instances of `$store.settingsModalStore` with `$store.settingsStore` across various settings components.

scheduler tab content x-if
@3clyp50 3clyp50 changed the title refactor: settings and scheduler frontend refactor: settings and scheduler frontend, confirmation buttons, tooltips Jan 2, 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.

4 participants