Skip to content

feat: rename agent layout variant methods and export LayoutVariant type [EXT-7094]#2427

Merged
Tyler (tylerwashington888) merged 1 commit intomainfrom
feature/EXT-6962-EXT-7094-rename-agent-layout-variant-methods
Jan 9, 2026
Merged

feat: rename agent layout variant methods and export LayoutVariant type [EXT-7094]#2427
Tyler (tylerwashington888) merged 1 commit intomainfrom
feature/EXT-6962-EXT-7094-rename-agent-layout-variant-methods

Conversation

@tylerwashington888
Copy link
Copy Markdown
Contributor

  • Rename setLayoutVariant to setAgentLayoutVariant
  • Rename layoutVariantChanged to agentLayoutVariantChanged
  • Rename onLayoutVariantChange to onAgentLayoutVariantChange
  • Export LayoutVariant type from types/index.ts
  • Add validation to setAgentLayoutVariant method
  • Update channel calls to use new names
  • Update all tests to use new method names
  • Add comprehensive validation error tests

EXT-6962, EXT-7094

Purpose of PR

PR Checklist

  • Tests are added/updated/not required
  • Tests are passing
  • Typescript typings are added/updated/not required

- Rename setLayoutVariant to setAgentLayoutVariant
- Rename layoutVariantChanged to agentLayoutVariantChanged
- Rename onLayoutVariantChange to onAgentLayoutVariantChange
- Export LayoutVariant type from types/index.ts
- Add validation to setAgentLayoutVariant method
- Update channel calls to use new names
- Update all tests to use new method names
- Add comprehensive validation error tests

EXT-6962, EXT-7094
@tylerwashington888 Tyler (tylerwashington888) merged commit b66a7ee into main Jan 9, 2026
12 checks passed
@tylerwashington888 Tyler (tylerwashington888) deleted the feature/EXT-6962-EXT-7094-rename-agent-layout-variant-methods branch January 9, 2026 15:54
contentful-automation Bot added a commit that referenced this pull request Jan 9, 2026
# [4.51.0](v4.50.0...v4.51.0) (2026-01-09)

### Features

* rename agent layout variant methods and export LayoutVariant type [EXT-7094] ([#2427](#2427)) ([b66a7ee](b66a7ee))
@contentful-automation
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 4.51.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants