Skip to content

Fix/sites 44191 eds viewtype fieldtype#1889

Open
devgurjar wants to merge 2 commits into
devfrom
fix/SITES-44191-eds-viewtype-fieldtype
Open

Fix/sites 44191 eds viewtype fieldtype#1889
devgurjar wants to merge 2 commits into
devfrom
fix/SITES-44191-eds-viewtype-fieldtype

Conversation

@devgurjar

Copy link
Copy Markdown
Contributor

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes and the overall coverage did not decrease.
  • All unit tests pass on CircleCi.
  • I ran all tests locally and they pass.

Devendra Gurjar and others added 2 commits May 25, 2026 11:54
…(SITES-44191)

Adds hidden granite:hidden select fields for ./fd:viewType directly to
component dialogs so the Content API's content-definition endpoint can
surface EDS variant options without depending on include-stub expansion
(SITES-43893).

Changes:
- panelcontainer: add fd:viewType select with accordion/modal/wizard options
- textinput: add fd:viewType select with password option
- numberinput: add fd:viewType select with range/rating options
- termsandconditions: add missing fieldType select (panel) + fd:viewType select (tnc)

Without these fields, all EDS components defaulted to field_type='panel'
and variants sharing a resourceType (Range vs Number Input, Password vs
Text Input, Panel vs Accordion/Modal/Wizard) were indistinguishable in
the componentDefinitions response.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds hidden select fields for fieldType (file-input) and fd:viewType
(signature) to the scribble component dialog so the Content API
componentDefinitions endpoint surfaces the correct type metadata for
EDS signature components.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov

codecov Bot commented May 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adobe-bot

Copy link
Copy Markdown

Accessibility Violations Found

Id Impact
aria-required-attr critical
empty-heading minor
label-title-only serious
target-size serious

@adobe-bot

Copy link
Copy Markdown

Accessibility Violations Found

Id Impact
aria-required-attr critical
empty-heading minor
label-title-only serious
page-has-heading-one moderate
target-size serious

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.

2 participants