Skip to content

feat: Add new components, nameFormatter prop, and audit trail plugin enhancements#24

Merged
SudoThijn merged 9 commits intodevelopmentfrom
feature/REGISTERS-483/changes-for-audit-trails
Mar 30, 2026
Merged

feat: Add new components, nameFormatter prop, and audit trail plugin enhancements#24
SudoThijn merged 9 commits intodevelopmentfrom
feature/REGISTERS-483/changes-for-audit-trails

Conversation

@SudoThijn
Copy link
Copy Markdown
Contributor

@SudoThijn SudoThijn commented Mar 20, 2026

Summary

  • New components: CnDetailGrid (label-value grid), CnJsonViewer (CodeMirror JSON viewer with light/dark themes), CnStatsPanel (generic statistics panel with sections and list items)
  • nameFormatter prop: Added nameFormatter function prop to CnDeleteDialog, CnMassDeleteDialog, CnCopyDialog, CnMassCopyDialog, and CnIndexPage — allows custom display names in dialogs for items without a simple name field (e.g. audit trails)
  • CnRowActions: Fixed menu remaining open after action click; disabled now accepts a function (row) => boolean
  • CnKpiGrid: Added custom CSS class support for grid items
  • CnStatsBlock: Fixed color inheritance issues
  • Audit trail store plugin: Expanded with statistics computation, change tracking, and filtering capabilities
  • Theme utility: Added getTheme.js helper for light/dark mode detection (used by CnJsonViewer GitHub themes)
  • Documentation: Added docs for CnDetailGrid, CnJsonViewer, CnStatsPanel; updated docs for all dialog components and CnIndexPage with nameFormatter; expanded audit trail plugin docs

based off of: #18

Base automatically changed from feature/REGISTERS-482/changes-for-configuration-page to development March 30, 2026 11:50
@SudoThijn SudoThijn merged commit 9ef5434 into development Mar 30, 2026
1 check passed
@SudoThijn SudoThijn deleted the feature/REGISTERS-483/changes-for-audit-trails branch March 30, 2026 11: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