akfatimeline 3.0.1 → 3.0.2
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 +12 -0
- package/README.md +8 -0
- package/dist/index.js +1629 -80
- package/dist/styles.css +10 -2
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ 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
|
+
## [3.0.2] - 2026-02-05
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **Timeline satır sanallaştırma (row virtualization)**: 100+ kaynakta sadece görünen satırlar render edilir; react-window `List` ile sol (kaynaklar) ve sağ (timeline grid) sütunları sanal liste, scroll senkronu (`scrollToRow`) ile uyumlu.
|
|
12
|
+
- **`flattenTimelineRows`** yardımcı fonksiyonu: gruplu/grupsuz ve kapalı gruplarla düz satır listesi + `getItemSize`.
|
|
13
|
+
- **`VirtualizedResources`** bileşeni: sol sütun için sanal kaynak listesi.
|
|
14
|
+
- **`test:timeline`** scripti: `npm run test:timeline` ile sanallaştırma mantığı testi (Jest gerekmez).
|
|
15
|
+
- Jest uyumlu test dosyası: `src/utils/__tests__/flattenTimelineRows.test.js`.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- `TimelineContent` ve `Timeline.jsx`: sanallaştırma eşiği (varsayılan 100 satır) üzerinde sanal liste kullanımı; body yüksekliği ResizeObserver ile ölçülüyor.
|
|
19
|
+
|
|
8
20
|
## [2.2.1] - 2025-12-29
|
|
9
21
|
|
|
10
22
|
### Fixed
|
package/README.md
CHANGED
|
@@ -76,6 +76,14 @@ veya
|
|
|
76
76
|
yarn add akfatimeline
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
+
### Timeline satır sanallaştırma testi
|
|
80
|
+
|
|
81
|
+
Kaynak listesini düzleştiren `flattenTimelineRows` ve sanallaştırma mantığını test etmek için (Jest kurulumu gerekmez):
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npm run test:timeline
|
|
85
|
+
```
|
|
86
|
+
|
|
79
87
|
---
|
|
80
88
|
|
|
81
89
|
## 🚀 Hızlı Başlangıç
|