Skip to content

Feature/carousel new block#359

Open
reunefe wants to merge 9 commits into
release/v6.0.0from
feature/Carousel_new-block
Open

Feature/carousel new block#359
reunefe wants to merge 9 commits into
release/v6.0.0from
feature/Carousel_new-block

Conversation

@reunefe

@reunefe reunefe commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@reunefe
reunefe requested a review from bertyhell July 17, 2026 07:05
reunefe and others added 3 commits July 17, 2026 09:10
# Conflicts:
#	ui/src/react-admin/modules/maintenance-alerts/views/MaintenanceAlertsEditForm.tsx
#	ui/src/react-admin/modules/translations/views/TranslationsOverview.tsx
#	ui/src/shared/helpers/admin-core-config.tsx
editorProps: {
options: GET_FULL_HEADING_TYPE_OPTIONS(),
},
validator: (value: string) => validateRequiredValue(value, 'titletype is verplicht'),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this also be a translation?

image: {
label: tText('Item image'),
editorType: ContentBlockEditor.FileUpload,
validator: (value: string) => validateRequiredValue(value, 'Afbeelding is verplicht'),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translation?

},
],
},
validator: (value: string) => validateRequiredValue(value, 'Weergave is verplicht'),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translation

&-nav {
display: flex;
align-items: center;
gap: .8rem;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variables.$g-spacer-unit

Comment on lines +119 to +136
width: 28rem !important;

.c-block-overview-with-carousel__slide-image {
min-height: 28rem;
}

.c-block-overview-with-carousel__slide-description {
flex: unset;
}
}

&__round {
width: 28rem !important;
border-radius: 140px 140px 0 0;

.c-block-overview-with-carousel__slide-image {
height: 28rem;
clip-path: circle();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move 28rem to variable

Comment on lines +118 to +130
icon={<Icon name="arrowLeft" />}
title={tText('Vorige slide')}
ariaLabel={tText('Vorige slide')}
onClick={() => controlledSwiper?.slidePrev()}
/>
)}
{showNextSlideButton && (
<Button
variants={['black', 'sm']}
icon={<Icon name="arrowRight" />}
title={tText('Volgende slide')}
ariaLabel={tText('Volgende slide')}
onClick={() => controlledSwiper?.slideNext()}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these translations are HET_ARCHIEF only? since the blok is hetarchief only


if (!value && emptyFieldValidatorMessage) {
errorArray.push(emptyFieldValidatorMessage);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we have an else with a default message if !value && !emptyFieldValidatorMessage?
or otherwise emptyFieldValidatorMessage should always be a string

…types

fix(ARC-3790): fix typescript types
@bertyhell
bertyhell force-pushed the feature/Carousel_new-block branch from 94534b0 to e66c5c3 Compare July 20, 2026 14:13
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