Skip to content

Adds CnCard component and enhances UI features#16

Merged
SudoThijn merged 10 commits intodevelopmentfrom
feature/REGISTERS-480/changes-for-data-sources
Mar 30, 2026
Merged

Adds CnCard component and enhances UI features#16
SudoThijn merged 10 commits intodevelopmentfrom
feature/REGISTERS-480/changes-for-data-sources

Conversation

@SudoThijn
Copy link
Copy Markdown
Contributor

Introduces CnCard, a new generic, prop-driven card component for displaying entities with a title, icon, description, labels, and stats. This component offers explicit control over its properties, serving as a flexible alternative for fixed-structure entities, differentiating it from schema-driven cards.

Enhances CnStatusBadge with a solid prop, allowing badges to display with a solid background and white text. This improves visibility and aesthetic integration when badges are placed on colored backgrounds, such as within an active CnCard.

Improves CnFormDialog by adding support for enumLabels within fieldOverrides. This enables the display of human-readable labels for enum dropdown options, enhancing the user experience in schema-driven forms.

Adds an openDeleteDialog public method to CnIndexPage, providing a programmatic way to trigger the single-item deletion dialog.

@remko48 remko48 changed the base branch from docs/i18n-and-customization-guides to development March 30, 2026 08:41
@SudoThijn SudoThijn merged commit 13bef3d into development Mar 30, 2026
1 check passed
@SudoThijn SudoThijn deleted the feature/REGISTERS-480/changes-for-data-sources branch March 30, 2026 09:51
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