Skip to content

fix(ui): config generator never mounts ConfigGeneratorYamlPreview, so it never shows the user the YAML it generates #6183

Description

@JSONbored

Context

components/site/app-panels/config-generator-yaml-preview.tsx:10 is a fully-implemented component, but is imported only by its own test file (config-generator-yaml-preview.test.tsx:4) — no real route/panel mounts it. config-generator-panel.tsx:1-18 (the actual config generator UI) builds formState via AiProviderModeFieldGroup + ReesAnalyzerFieldGroup but never renders ConfigGeneratorYamlPreview, meaning the config generator's own generated YAML is never actually shown to the user — the one thing this tool exists to produce.

Requirements

  • Mount ConfigGeneratorYamlPreview inside config-generator-panel.tsx, wired to the same formState the field groups already build, so the generated YAML is visibly shown as the user fills in the form.
  • Do not change ConfigGeneratorYamlPreview's own rendering logic — it's already implemented and tested; this is purely a "mount it" fix.
  • This is a UI-only change under apps/**.

Deliverables

  • config-generator-panel.tsx renders ConfigGeneratorYamlPreview, reflecting the live formState.

Expected Outcome

A user using the config generator actually sees the YAML it's producing, instead of filling in a form that visibly produces nothing.

Links & Resources

  • apps/loopover-ui/src/components/site/app-panels/config-generator-yaml-preview.tsx:10
  • apps/loopover-ui/src/components/site/app-panels/config-generator-panel.tsx:1-18

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:bugGittensor-scored bug fix — scores a 0.05x multiplier.help wantedExtra attention is neededvisualUI/web visual work — owner-led, NOT for Gittensor contributors (extensions excepted)

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions