@arbocollab/arbo-plugin-item-table 0.0.194 → 0.0.196
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 +247 -0
- package/lib/es/index.es.js +9364 -9342
- package/lib/style.css +1 -1
- package/lib/umd/index.umd.js +70 -70
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,253 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.0.194] - 2026-02-26
|
|
6
|
+
|
|
7
|
+
### 🚀 Features
|
|
8
|
+
|
|
9
|
+
**Status Selection Enhancement**
|
|
10
|
+
|
|
11
|
+
- **AddNewStatus Component:** Improved status selection with immediate dropdown hide behavior
|
|
12
|
+
- Status selection now auto-hides dropdown after selection
|
|
13
|
+
- Enhanced event handling with better propagation control (`stopImmediatePropagation`, `preventDefault`, `stopPropagation`)
|
|
14
|
+
- Added comprehensive console logging for debugging toggle behavior
|
|
15
|
+
|
|
16
|
+
**SearchList Component - Event System Refactor**
|
|
17
|
+
|
|
18
|
+
- **Enhanced Event Handling:**
|
|
19
|
+
- Updated select event signature: `select: [item: OptionItemType, e: Event]`
|
|
20
|
+
- Now passes both item and event object for better control
|
|
21
|
+
- Improved click event binding with proper event passing
|
|
22
|
+
- Enhanced keyboard selection with event object in `selectCurrentItem()`
|
|
23
|
+
|
|
24
|
+
### 🔧 Bug Fixes
|
|
25
|
+
|
|
26
|
+
- Fixed status selection not triggering dropdown hide after selection
|
|
27
|
+
- Improved event propagation in status toggle handler to prevent unwanted bubbling
|
|
28
|
+
- Fixed `handleSelect` to properly receive and handle event objects
|
|
29
|
+
|
|
30
|
+
### 📦 Updates
|
|
31
|
+
|
|
32
|
+
- Version: `0.0.193` → `0.0.194`
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## [0.0.193] - 2026-02-26
|
|
37
|
+
|
|
38
|
+
### 🚀 Features
|
|
39
|
+
|
|
40
|
+
**Checkbox Component Enhancement**
|
|
41
|
+
|
|
42
|
+
- **Dynamic Size System:** Complete refactor of size handling
|
|
43
|
+
- Added support for numeric sizes: `number | '${number}px'`
|
|
44
|
+
- Smart size calculation with `checkboxSize` computed property
|
|
45
|
+
- Size presets: small (14px), medium (20px), large (24px)
|
|
46
|
+
- CSS variable-based sizing with `--input-size`
|
|
47
|
+
- Better flexibility for custom dimensions
|
|
48
|
+
|
|
49
|
+
**Drag & Drop Improvements**
|
|
50
|
+
|
|
51
|
+
- **DragDropItem Component:**
|
|
52
|
+
- Added `disableDragTooltip` prop for custom tooltip messages
|
|
53
|
+
- Replaced inline SVG icons with reusable `Icon` component
|
|
54
|
+
- Metric type indicators now use consistent icon system:
|
|
55
|
+
- Woohoo metric: `ChartPie` icon
|
|
56
|
+
- Point metric: `Bullseye` icon
|
|
57
|
+
- Max-width adjustments for better text overflow handling (170-180px)
|
|
58
|
+
- Checkbox size updated to `16px` for consistency
|
|
59
|
+
|
|
60
|
+
**Table Customization**
|
|
61
|
+
|
|
62
|
+
- **Enhanced UX:**
|
|
63
|
+
- Search box auto-focuses when dropdown opens via `nextTick`
|
|
64
|
+
- Changed from `max-height` to fixed `height` for consistency
|
|
65
|
+
- Added `.has-warning` class for better warning state styling
|
|
66
|
+
- Grid template updates to support warning banner display
|
|
67
|
+
|
|
68
|
+
**Status Management**
|
|
69
|
+
|
|
70
|
+
- **AddNewStatus Component:**
|
|
71
|
+
- Enhanced status fetching with pagination support
|
|
72
|
+
- Added `per_page: PAGINATION.PER_PAGE` parameter for efficient loading
|
|
73
|
+
- Improved status toggling logic with auto-hide behavior
|
|
74
|
+
- Better integration with entity-level status filtering
|
|
75
|
+
|
|
76
|
+
**Header Sorting**
|
|
77
|
+
|
|
78
|
+
- **Metric Type Display:**
|
|
79
|
+
- Added visual indicators for primary/secondary metrics
|
|
80
|
+
- Woohoo metric (primary): ChartPie icon with proper color
|
|
81
|
+
- Point metric (secondary): Bullseye icon with gray color
|
|
82
|
+
- Fixed metric type detection logic: `metric.type === MetricType.POINT`
|
|
83
|
+
- Improved visual hierarchy in metric columns
|
|
84
|
+
|
|
85
|
+
**UI/UX Enhancements**
|
|
86
|
+
|
|
87
|
+
- **Snackbar Component:**
|
|
88
|
+
- Reduced z-index from 999 to 2 for better layer management
|
|
89
|
+
- Prevents overlap issues with modals and popups
|
|
90
|
+
- **Item Table Resizing:**
|
|
91
|
+
- Dynamic height calculation: `clientHeight - 78px` (adjusted from 42px)
|
|
92
|
+
- Added window resize listener for responsive table height
|
|
93
|
+
- Proper cleanup with `removeEventListener` on component unmount
|
|
94
|
+
- **Create Scene Workflow:**
|
|
95
|
+
- Added 'close-open' mode for faster scene creation
|
|
96
|
+
- Better form state management during creation flow
|
|
97
|
+
|
|
98
|
+
### 🔧 Technical Improvements
|
|
99
|
+
|
|
100
|
+
**Event Handling**
|
|
101
|
+
|
|
102
|
+
- Better event propagation control in status selection
|
|
103
|
+
- Improved focus management in table customization
|
|
104
|
+
- Enhanced window resize handling with proper cleanup
|
|
105
|
+
|
|
106
|
+
**Icon System**
|
|
107
|
+
|
|
108
|
+
- Unified icon usage across drag & drop components
|
|
109
|
+
- Consistent color theming with CSS variables
|
|
110
|
+
- Reduced SVG duplication by using Icon component
|
|
111
|
+
|
|
112
|
+
**Code Quality**
|
|
113
|
+
|
|
114
|
+
- Removed hardcoded SVG markup in favor of Icon component
|
|
115
|
+
- Better prop typing with `disableDragTooltip`
|
|
116
|
+
- Improved computed properties for size calculations
|
|
117
|
+
|
|
118
|
+
### 📦 Updates
|
|
119
|
+
|
|
120
|
+
- Version: `0.0.191` → `0.0.193`
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## [0.0.191] - 2026-02-26
|
|
125
|
+
|
|
126
|
+
### 🚀 Features
|
|
127
|
+
|
|
128
|
+
**API Enhancements**
|
|
129
|
+
|
|
130
|
+
- **ItemService Updates:**
|
|
131
|
+
- Enhanced `getAssignableStatuses` with pagination parameters
|
|
132
|
+
- Added `page?: number` and `per_page?: number` options
|
|
133
|
+
- Better support for entity-level status fetching with flexible filtering
|
|
134
|
+
- Improved query parameter handling for status assignment
|
|
135
|
+
|
|
136
|
+
**Cell Rendering Logic**
|
|
137
|
+
|
|
138
|
+
- **CellFactory Improvements:**
|
|
139
|
+
- Enhanced editability checks with comprehensive logging
|
|
140
|
+
- Smart cell renderer selection based on data availability
|
|
141
|
+
- Added `renderSelecterForCell` helper function for conditional rendering
|
|
142
|
+
- Better handling of metric vs. standard columns
|
|
143
|
+
- Improved loading state detection with multiple conditions:
|
|
144
|
+
- Checks if `params.data === undefined`
|
|
145
|
+
- Checks if `params.node.data === undefined`
|
|
146
|
+
- Checks if field value is undefined
|
|
147
|
+
- More accurate determination of when to show loading skeletons
|
|
148
|
+
|
|
149
|
+
**Loading Component**
|
|
150
|
+
|
|
151
|
+
- **Enhanced LoadingComponent:**
|
|
152
|
+
- Added proper lifecycle methods:
|
|
153
|
+
- `getValue()` - Returns current parameter value
|
|
154
|
+
- `isPopup()` - Returns false for non-popup behavior
|
|
155
|
+
- `getPopupPosition()` - Returns undefined for default positioning
|
|
156
|
+
- Event listener cleanup with `destroy()` method
|
|
157
|
+
- Better click event prevention with `addEventListener` instead of onclick
|
|
158
|
+
- Proper `refresh()` method with explicit `boolean` return type
|
|
159
|
+
- Improved component lifecycle compatibility with AG Grid
|
|
160
|
+
|
|
161
|
+
**Data Management**
|
|
162
|
+
|
|
163
|
+
- **useRowUpdater Refactor:**
|
|
164
|
+
- Commented out metric values update logic to prevent race conditions
|
|
165
|
+
- More predictable row update behavior
|
|
166
|
+
- Prevents overwriting of metric data during concurrent updates
|
|
167
|
+
- Better separation of concerns for data management
|
|
168
|
+
|
|
169
|
+
**Item Table**
|
|
170
|
+
|
|
171
|
+
- **FilterStatus Integration:**
|
|
172
|
+
- Added `entityId` prop support for entity-specific filtering
|
|
173
|
+
- Better integration with status filtering system
|
|
174
|
+
- Improved filter state management
|
|
175
|
+
|
|
176
|
+
**Scene Creation**
|
|
177
|
+
|
|
178
|
+
- **CreateNewScene Component:**
|
|
179
|
+
- Added `entityId` prop to AddNewStatus for proper status fetching
|
|
180
|
+
- Improved error handling with scene ID validation
|
|
181
|
+
- Enhanced console logging for debugging creation flow
|
|
182
|
+
- Better failure state management when scene creation fails
|
|
183
|
+
- Prevents form closure on error for better user recovery
|
|
184
|
+
|
|
185
|
+
### 🔧 Bug Fixes
|
|
186
|
+
|
|
187
|
+
**Cell Editability**
|
|
188
|
+
|
|
189
|
+
- Fixed editable cell detection to properly handle undefined values
|
|
190
|
+
- Changed condition from `||` to proper nested checks
|
|
191
|
+
- Now correctly identifies cells that should show loading skeletons
|
|
192
|
+
- Prevents editing attempts on cells with undefined data
|
|
193
|
+
|
|
194
|
+
**Loading State Display**
|
|
195
|
+
|
|
196
|
+
- Improved loading skeleton display logic
|
|
197
|
+
- Fixed cases where skeletons weren't showing for undefined field values
|
|
198
|
+
- Better visual feedback during data loading phases
|
|
199
|
+
|
|
200
|
+
**Status Fetching**
|
|
201
|
+
|
|
202
|
+
- Fixed status fetching to use correct API endpoint with pagination
|
|
203
|
+
- Proper entity ID passing for filtered status lists
|
|
204
|
+
- Better error handling in status API calls
|
|
205
|
+
|
|
206
|
+
### 🎨 UI/UX
|
|
207
|
+
|
|
208
|
+
**Loading States**
|
|
209
|
+
|
|
210
|
+
- Better loading state visual feedback with proper skeleton display
|
|
211
|
+
- Consistent loading behavior across all cell types
|
|
212
|
+
- Improved user perception of data loading
|
|
213
|
+
|
|
214
|
+
**Error Messages**
|
|
215
|
+
|
|
216
|
+
- Enhanced error messages for scene creation failures
|
|
217
|
+
- Better console logging for debugging issues
|
|
218
|
+
- More informative failure states
|
|
219
|
+
|
|
220
|
+
**Click Prevention**
|
|
221
|
+
|
|
222
|
+
- Loading cells now properly prevent click interactions
|
|
223
|
+
- Better event propagation control with `stopImmediatePropagation`
|
|
224
|
+
|
|
225
|
+
### 🔧 Technical Improvements
|
|
226
|
+
|
|
227
|
+
**Code Quality**
|
|
228
|
+
|
|
229
|
+
- Added comprehensive console logging for editability checks
|
|
230
|
+
- Better debugging capabilities with detailed parameter logging
|
|
231
|
+
- Improved code documentation with inline comments
|
|
232
|
+
- More maintainable cell rendering logic
|
|
233
|
+
|
|
234
|
+
**Type Safety**
|
|
235
|
+
|
|
236
|
+
- Proper typing for LoadingComponent methods
|
|
237
|
+
- Better parameter type checking in cell rendering
|
|
238
|
+
- Improved type inference for cell params
|
|
239
|
+
|
|
240
|
+
**Performance**
|
|
241
|
+
|
|
242
|
+
- Smarter loading state detection reduces unnecessary renders
|
|
243
|
+
- Better event listener management with proper cleanup
|
|
244
|
+
- Optimized cell refresh behavior
|
|
245
|
+
|
|
246
|
+
### 📦 Updates
|
|
247
|
+
|
|
248
|
+
- Version: `0.0.190` → `0.0.191`
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
5
252
|
## [0.0.190] - 2026-02-25
|
|
6
253
|
|
|
7
254
|
### ⚡ Performance
|