Skip to content

Harden generated Show view configurations - #56

Open
DevGiuDev wants to merge 2 commits into
saltcorn:mainfrom
DevGiuDev:fix/view-layout-agent-guidance
Open

Harden generated Show view configurations#56
DevGiuDev wants to merge 2 commits into
saltcorn:mainfrom
DevGiuDev:fix/view-layout-agent-guidance

Conversation

@DevGiuDev

Copy link
Copy Markdown
Contributor

Summary

  • add shared guidance for valid Show layout segment and column pairs
  • tell view-generation agents to use blank for literal labels and never emit type: "text"
  • require existing and plugin-specific configuration to be preserved during updates
  • render generated configuration in a native <details> disclosure, closed by default
  • escape JSON values and constrain expanded previews with scrolling

Validation

PASS tests/view-layout-guidance.test.js
PASS tests/generated-view-preview.test.js
6 tests passed

Closes #53

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.

Harden generated Show layouts and collapse configuration previews

1 participant