feat(network): add responsive sponsor hierarchy

This commit is contained in:
syntaxbullet
2026-07-31 16:41:02 +02:00
parent ebecf66e6f
commit 30efb4b36e
11 changed files with 438 additions and 37 deletions

View File

@@ -106,7 +106,13 @@ describe('Payload field inventory', () => {
'netzwerk.patronage.greetingVideoTitle',
'netzwerk.patronage.greetingVideoDescription',
'netzwerk.patronage.greetingVideoCloseLabel',
'netzwerk.partners.eyebrow',
'netzwerk.partners.heading',
'netzwerk.partners.description',
'netzwerk.partners.detailLabel',
'netzwerk.partners.tiers',
'netzwerk.partners.tiers.label',
'netzwerk.partners.tiers.note',
'netzwerk.partners.modal.websiteLabel',
'netzwerk.sponsoringForm.steps',
'netzwerk.sponsoringForm.requiredFieldError',
@@ -153,6 +159,15 @@ describe('Payload field inventory', () => {
expect(field).not.toHaveProperty('defaultValue')
})
it('keeps sponsor tier copy separate from collection-owned tier assignment and ordering', () => {
expect(findField(netzwerkFields, 'netzwerk.partners.tiers')).toMatchObject({
type: 'array',
dbName: 'network_tiers',
})
expect(findField(netzwerkFields, 'netzwerk.partners.tiers.label')).toMatchObject({ type: 'text' })
expect(findField(netzwerkFields, 'netzwerk.partners.tiers.note')).toMatchObject({ type: 'text' })
})
it('limits the press contact upload to image media', () => {
const field = findField(pressIndexFields, 'pressIndex.downloads.contactImage')