@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 +33 -0
- package/LICENSE +1 -1
- package/dist/DQMSidebar.d.ts.map +1 -1
- package/dist/auth-ui/assets/index-CcFepUgA.js +158 -0
- package/dist/auth-ui/index.html +1 -1
- package/dist/context/ai/useAITranslation.d.ts.map +1 -1
- package/dist/dqm-widget.esm.js +78 -78
- package/dist/dqm-widget.iife.js +4 -4
- package/dist/index.cjs +38 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3777 -3740
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/dist/auth-ui/assets/index-YKFZYENy.js +0 -158
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
|
package/dist/DQMSidebar.d.ts.map
CHANGED
|
@@ -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;
|
|
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"}
|