@crownpeak/dqm-react-component 1.2.1 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,39 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.2.4] - 2026-01-08
9
+
10
+ ### Added
11
+ - **Marketing Website**: New Next.js marketing/documentation website deployed to GitHub Pages
12
+ - Hero section with animated feature highlights
13
+ - Interactive demo section with live sidebar preview
14
+ - Integration section with code examples and copy functionality
15
+ - Multi-language support (English, German, Spanish) using react-i18next
16
+ - Framer Motion animations throughout
17
+ - Built with Tailwind CSS and shadcn/ui components
18
+ - WCAG AA accessibility compliant (proper aria-labels, 4.5:1+ contrast ratios)
19
+ - Static export for GitHub Pages hosting
20
+ - **AI Agent Documentation**: Added comprehensive Website section to `.github/copilot-instructions.md`
21
+
22
+ ## [1.2.2] - 2026-01-08
23
+
24
+ ### Fixed
25
+ - **AI Translation Reliability**: Resolved issue where AI translations were not triggered automatically
26
+ - Translation now starts automatically when AI summary completes
27
+ - Translation now starts automatically when AI engine becomes ready
28
+ - Fixed race condition where blocked translations would never retry
29
+
30
+ ### Added
31
+ - **300ms Debounce**: API calls are now debounced to prevent accidental spam when state changes rapidly
32
+ - **Reactive State Management**: `summaryGenerating` and `engineIsReady` are now proper effect dependencies
33
+ - **Automatic Retry Logic**: Translation automatically restarts when blocking conditions are resolved
34
+ - **Unit Tests**: 13 new tests for `useAITranslation` hook covering debounce, blocking, cache, and abort behavior
35
+ - **Integration Tests**: 6 new tests for Summary→Translation flow with API call counting
36
+
37
+ ### Changed
38
+ - AI Translation hook now uses reactive dependencies instead of refs for blocking conditions
39
+ - Improved cleanup on component unmount (cancels pending debounce timers and aborts requests)
40
+
8
41
  ## [1.2.0] - 2026-01-07
9
42
 
10
43
  ### Added
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Crownpeak Technology GmbH
3
+ Copyright (c) 2025-2026 Crownpeak Technology GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1 +1 @@
1
- {"version":3,"file":"DQMSidebar.d.ts","sourceRoot":"","sources":["../src/DQMSidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiD,MAAM,OAAO,CAAC;AA4CtE,OAAO,KAAK,EAA8B,eAAe,EAAc,MAAM,SAAS,CAAC;AA0jFvF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAahD,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"DQMSidebar.d.ts","sourceRoot":"","sources":["../src/DQMSidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiD,MAAM,OAAO,CAAC;AA4CtE,OAAO,KAAK,EAA8B,eAAe,EAAc,MAAM,SAAS,CAAC;AAukFvF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAahD,CAAC;AAEF,eAAe,UAAU,CAAC"}