AI-Studio/documentation/compatibility-shims/2026-07-chat-data-source-options.md
Thorsten Sommer 972ed73fe8
Some checks are pending
Build and Release / Determine run mode (push) Waiting to run
Build and Release / Read metadata (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
Added configuration plugin options for default chat data sources (#833)
2026-07-05 14:46:31 +02:00

1.3 KiB

Chat Data Source Options

  • Status: Active
  • Introduced: 2026-07-05
  • Remove after: 2027-01-05
  • Code references:
    • app/MindWork AI Studio/Settings/DataModel/DataChat.cs

User Impact

Older settings files store default chat data source options in the nested DataChat.PreselectedDataSourceOptions object.

Without this shim, those defaults would be lost after upgrading to a version that exposes the individual data source default fields to configuration plugins.

Compatibility Behavior

DataChat.PreselectedDataSourceOptions remains available as a compatibility property. Reading it maps the new individual fields into a DataSourceOptions object, and setting it copies values from the legacy nested object into the new fields.

This lets older settings files load without a settings version migration and keeps existing UI bindings working while configuration plugins manage the individual fields.

Removal Checklist

  • Confirm supported settings files are expected to contain PreselectedDataSourcesDisabled, PreselectedDataSourcesAutomaticSelection, PreselectedDataSourcesAutomaticValidation, and PreselectedDataSourceIds.
  • Remove DataChat.PreselectedDataSourceOptions.
  • Update any remaining callers to use the individual fields or a dedicated helper.
  • Update this document's status to Removed.