@arbocollab/arbo-plugin-item-table 0.0.148 → 0.0.150
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 +137 -0
- package/lib/es/index.es.js +15509 -15417
- package/lib/style.css +1 -1
- package/lib/umd/index.umd.js +82 -82
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,143 @@
|
|
|
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.138] - 2026-02-05
|
|
6
|
+
|
|
7
|
+
### 🔧 Core Table Package
|
|
8
|
+
|
|
9
|
+
**CellFactory.ts - Enhanced Parameter Building**
|
|
10
|
+
|
|
11
|
+
- **buildCommonCellParams Refactor:**
|
|
12
|
+
- Now accepts `overrideParams` as either object or function
|
|
13
|
+
- Function-based override params receive full cell params for dynamic configuration
|
|
14
|
+
- Improved permission checks to use `params` instead of `params.colDef?.context`
|
|
15
|
+
- Better separation of concerns between cell params and column context
|
|
16
|
+
|
|
17
|
+
- **Permission Handling Improvements:**
|
|
18
|
+
- Fixed permission checks to read from cell params instead of column context
|
|
19
|
+
- Replaced `checkPermissionDisabled(...).type` with dedicated `checkEditType()` function
|
|
20
|
+
- Enhanced `cellEditorSelector` and `cellRendererSelector` to properly pass params
|
|
21
|
+
- Dynamic cell class naming with type-based classes (e.g., `editable`, `readOnly`)
|
|
22
|
+
|
|
23
|
+
**CellPermission.ts - Permission System Overhaul**
|
|
24
|
+
|
|
25
|
+
- **Updated Permission Checks:**
|
|
26
|
+
- Changed to accept cell params instead of context object
|
|
27
|
+
- Fixed permission reading from `cellParam?.data?.permissions`
|
|
28
|
+
- Improved `readOnly` logic for metric fields based on auth permissions
|
|
29
|
+
- Added stricter fallback to `readOnly: true` when permissions are missing
|
|
30
|
+
- Better handling of formula metrics and permission levels
|
|
31
|
+
|
|
32
|
+
### 🎨 UI Package
|
|
33
|
+
|
|
34
|
+
**DragDropItem.vue - Metric Type Indicators**
|
|
35
|
+
|
|
36
|
+
- **Visual Indicators:**
|
|
37
|
+
- Added metric type badges with icons:
|
|
38
|
+
- ★ for rating metrics
|
|
39
|
+
- ƒx for formula metrics
|
|
40
|
+
- # for number metrics
|
|
41
|
+
- Added Woohoo metric indicator with custom SVG icon
|
|
42
|
+
- Added Point metric indicator with custom SVG icon
|
|
43
|
+
|
|
44
|
+
- **Selection Management:**
|
|
45
|
+
- Implemented `isDisableNewCheck` prop to prevent selecting more than 5 metrics
|
|
46
|
+
- Added `disableDrag` and `disableCheckbox` props for granular control
|
|
47
|
+
- Better distinction between drag and checkbox disable states
|
|
48
|
+
- Updated grid layout to accommodate new metric indicators
|
|
49
|
+
|
|
50
|
+
**TableCustomization.vue - 5 Metric Limit**
|
|
51
|
+
|
|
52
|
+
- **Warning System:**
|
|
53
|
+
- Added warning banner when 5 metric columns are selected
|
|
54
|
+
- Implemented `isDisableNewCheck` to enforce 5-metric limit
|
|
55
|
+
- Added `numberOfMetricSelected` computed property for tracking
|
|
56
|
+
|
|
57
|
+
- **Enhanced UX:**
|
|
58
|
+
- Separated drag disable from checkbox disable logic
|
|
59
|
+
- Provided `isDisableNewCheck` to child components via provide
|
|
60
|
+
- Better user feedback when metric limit is reached
|
|
61
|
+
|
|
62
|
+
**CreateNewScene.vue - Quick Actions**
|
|
63
|
+
|
|
64
|
+
- **New Action Buttons:**
|
|
65
|
+
- Added `AssigneeUpdateButton` for quick assignee selection
|
|
66
|
+
- Added `StatusUpdateButton` for quick status changes
|
|
67
|
+
- Added `DateUpdateButton` for quick date range setup
|
|
68
|
+
- Added "continue creation" checkbox option
|
|
69
|
+
- Updated grid layout to accommodate new action buttons
|
|
70
|
+
|
|
71
|
+
- **Behavior Changes:**
|
|
72
|
+
- Disabled click-outside behavior (commented out for better UX)
|
|
73
|
+
- Better state management during scene creation
|
|
74
|
+
|
|
75
|
+
**Checkbox.vue - Size System Refactor**
|
|
76
|
+
|
|
77
|
+
- **CSS Variable System:**
|
|
78
|
+
- Refactored size handling using `--input-size` CSS variable
|
|
79
|
+
- Improved consistency across small/medium/large variants
|
|
80
|
+
- Cleaner size calculation and application
|
|
81
|
+
|
|
82
|
+
**Renderer Components - Default Read-Only**
|
|
83
|
+
|
|
84
|
+
- **Security Improvements:**
|
|
85
|
+
- Set default `readOnly: true` for:
|
|
86
|
+
- `AssigneeGroupRenderer`
|
|
87
|
+
- `DateRangeRenderer`
|
|
88
|
+
- `MetricRenderer`
|
|
89
|
+
- `StatusRenderer`
|
|
90
|
+
- Prevents accidental edits when permissions are not explicitly set
|
|
91
|
+
|
|
92
|
+
### 🐛 Bug Fixes
|
|
93
|
+
|
|
94
|
+
**Permission System**
|
|
95
|
+
|
|
96
|
+
- Fixed permission reading from row data instead of column context
|
|
97
|
+
- Fixed row permission updates in `useRowUpdater.ts`
|
|
98
|
+
- Better fallback handling when permissions are missing
|
|
99
|
+
- Consistent permission checks across all cell types
|
|
100
|
+
|
|
101
|
+
**Code Quality**
|
|
102
|
+
|
|
103
|
+
- Removed excessive `console.log` statements across multiple files
|
|
104
|
+
- Cleaner logging for debugging without noise
|
|
105
|
+
- Better error handling in permission checks
|
|
106
|
+
|
|
107
|
+
### 🔧 Technical Improvements
|
|
108
|
+
|
|
109
|
+
**Type Safety**
|
|
110
|
+
|
|
111
|
+
- Better typing for override params (object | function)
|
|
112
|
+
- Improved cell params type inference
|
|
113
|
+
- Enhanced permission type definitions
|
|
114
|
+
|
|
115
|
+
**Code Organization**
|
|
116
|
+
|
|
117
|
+
- Clearer separation of permission logic
|
|
118
|
+
- Better function naming with `checkEditType()`
|
|
119
|
+
- More maintainable cell renderer/editor selection
|
|
120
|
+
|
|
121
|
+
**Performance**
|
|
122
|
+
|
|
123
|
+
- Reduced unnecessary permission checks
|
|
124
|
+
- Better caching of computed permission states
|
|
125
|
+
- Optimized cell class name generation
|
|
126
|
+
|
|
127
|
+
### 📦 Version Updates
|
|
128
|
+
|
|
129
|
+
- **@arbocollab/ag-grid-ui-components:** Updated from `0.0.23` to `0.0.24`
|
|
130
|
+
- **@arbocollab/arbo-plugin-item-table:** Updated from `0.0.137` to `0.0.138`
|
|
131
|
+
|
|
132
|
+
### Key Highlights
|
|
133
|
+
|
|
134
|
+
- 🔐 **Better Permission Handling:** Moved from column context to cell params for more accurate checks
|
|
135
|
+
- 🎯 **5-Metric Limit Enforcement:** Visual warnings and checkbox disabling when limit reached
|
|
136
|
+
- ⚡ **Quick Actions:** New buttons for faster scene creation with assignees, status, and dates
|
|
137
|
+
- 🎨 **Metric Type Indicators:** Clear visual badges for different metric types
|
|
138
|
+
- 🛡️ **Security Defaults:** All renderers now default to read-only for safer operation
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
5
142
|
## [0.0.137] - 2026-02-05
|
|
6
143
|
|
|
7
144
|
### 🚀 Features
|