Skip to content

Commit 28cca4e

Browse files
atulmguptaCopilot
andcommitted
fix(windows): wire Helix page to live AI settings source
Helix (/integrations/helix) is PageContainer + AISettings (provider/key/model, ~60 per-feature opt-in toggles, restore panel, usage/cost card) but was registered with EmptyAiSettingsSource so it rendered blank (read as 'just basic'). Register HelixPage with the live AiSettingsSource(api, engine, options) so it shows the real AI configuration surface. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6e41223 commit 28cca4e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

apps/windows/TeslaSync.App/Shell/ShellWindow.xaml.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,6 +1288,14 @@ private void RegisterDataBackedPages()
12881288
new FeatureViews.LiveSignalsTableSource(_data.Api, _data.Engine, _data.Options),
12891289
_data.Localizer));
12901290

1291+
// Helix (AI integration) — web /integrations/helix is PageContainer + AISettings. Wire the live
1292+
// AiSettingsSource so the page shows the real provider/key/model, the per-feature opt-in toggles and
1293+
// the usage/cost card instead of the empty default (which read as "just basic").
1294+
_viewModel.PageFactory.Register("Helix", () =>
1295+
new FeatureViews.Settings.HelixPage(
1296+
new FeatureViews.AiSettingsSource(_data.Api, _data.Engine, _data.Options),
1297+
_data.Localizer));
1298+
12911299
// Settings hub — mount the full Appearance / General / Advanced settings surfaces (each backed by the
12921300
// shared settings repository over the live data layer) so the Settings page is a complete settings
12931301
// surface instead of a thin hub. The hub's navigation + tour-launcher wiring is preserved.

0 commit comments

Comments
 (0)