@arbocollab/arbo-plugin-item-table 1.0.204 β†’ 1.1.44

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
@@ -1,16 +1,131 @@
1
1
  # Changelog
2
+ ## [1.1.44] - 2026-03-16
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
+ ### πŸ› Bug Fixes
4
5
 
5
- ## [1.0.204] - 2026-03-04
6
+ - **Null safety in terminology retrieval:** Fixed a crash when `ws.terminology` is missing from session storage. Both `getTerminology` in `item-table.vue` and `helpert.ts` now use optional chaining (`data?.find(...)`) before calling `.find()`, preventing a runtime error when data is null.
6
7
 
7
- ### πŸš€ Features
8
+ ### πŸ”§ Improvements
8
9
 
9
- - Enhanced `copyToClipboard` to prevent default event behaviors.
10
+ - **handleOpen logic fix in useSceneAction:** Refactored the `handleOpen` function in `useSceneAction.ts` to correctly handle the `scene_hub` link type:
11
+ - Added early return statements after each branch to prevent fall-through that previously caused double navigation or double `window.open` calls.
12
+ - Removed the redundant `swicther` alias variable.
13
+ - Removed the unnecessary `e instanceof MouseEvent` check (always true given the typed parameter).
14
+ ## [1.1.43] - 2026-03-13
10
15
 
11
- ### πŸ”§ Bug Fixes
16
+ ### πŸš€ Features & Enhancements
17
+
18
+ - **Workspace terminology support:** Added `ws.terminology` session storage support and a shared `getTerminology` helper so scene-related labels and notifications can adapt to workspace-specific naming.
19
+ - **Filter status API support:** Added a dedicated `getFilterStatuses` endpoint across API config, service layer, notification constants, and shared types to support status loading specifically for filtering.
20
+ - **Keyboard navigation foundation:** Added a new `focusableDirective`, `mappingStructure` helper, and `useKeyboardNavigation` composable to support structured focus movement across filters, dropdowns, table actions, and popup menus.
21
+ - **AG Grid editor focus handling:** Added editor focus hooks and `focusUi()` support so Vue cell editors can receive focus more reliably when editing starts.
22
+ - **Open-in actions refinement:** Updated the β€œOpen in” menu to use list-style menu items and improved action labeling for Review, Update, Woohoo Details, and Full view flows.
23
+
24
+ ### 🎨 UI/UX Improvements
25
+
26
+ - **Input and search experience:** Refined `InputText` and `SearchBox` styling, click-to-focus behavior, clear actions, placeholder text, and prefix icon handling for a cleaner and more consistent search/input experience.
27
+ - **Filter panel usability:** Reworked filter popup interactions, clear/apply actions, icon behavior, popup layout, and focus order for assignee, status, archive status, and date range filters.
28
+ - **Button and dropdown polish:** Updated `Button`, `ButtonDropdown`, `ListItem`, and related popup components for cleaner menu presentation, better sizing, more consistent radii, and improved action semantics.
29
+ - **Table customization improvements:** Improved column customization search, drag/drop interaction, checkbox focus handling, and disabled-state messaging when reordering is unavailable.
30
+ - **Notification polish:** Updated snackbar icon colors, spacing, action click handling, and button visuals for more consistent interactive notifications.
31
+ - **Visual consistency:** Standardized many components to use shared radius and spacing tokens across avatars, calendars, popups, wrappers, list items, badges, skeletons, upload areas, and metric/status UI.
32
+
33
+ ### πŸ› Bug Fixes
34
+
35
+ - **Filter status loading:** Filter status requests now use the correct API path and parameter structure instead of reusing assignable-status behavior.
36
+ - **People insight links:** Fixed people insight links to pass the actual selected user id instead of an empty value.
37
+ - **Scene creation feedback:** Updated create-scene notifications to use dynamic terminology and clearer follow-up actions such as β€œFind in table” and β€œFull view”.
38
+ - **Popup close handling:** Prevented popups and tippy-based overlays from closing incorrectly when users interact with snackbar notifications or people insight overlays.
39
+ - **AG Grid editing flow:** Fixed date-range editing so closing the calendar also stops AG Grid edit mode correctly.
40
+ - **Row state handling:** Added disabled-row support based on bulk process state and improved bulk-process rendering so error/processing states are represented more accurately.
41
+ - **Metric icon fallback:** Added a safer fallback icon when metric symbols are missing.
42
+ - **Sort mapping:** Corrected the `completedOn` sort mapping to use `actual_due_date`.
43
+ - **Item mapping resilience:** Hardened several item/permission/metric mapping paths to tolerate incomplete API items by using optional access for item ids and related data.
44
+
45
+ ### πŸ”§ Technical Improvements
46
+
47
+ - **Shared types expanded:** Added shared tooltip parameter types, focus index props, disabled row support, and richer bulk-process typing.
48
+ - **Switch handling updates:** Improved `switchStore` so switch actions can use either injected or stored switch instances more reliably.
49
+ - **Click-outside focus reset:** Added outside-click handling to clear focused grid cells when users click away from the table.
50
+ - **Dependency updates:** Added `@vueuse/core` to `core-table` and upgraded `@arbocollab/arbo-common-utils` to `0.0.9-alpha.0`.
51
+ - **Cleanup and refactoring:** Removed outdated comments and several debug leftovers while restructuring wrappers, popups, and editor integrations.
52
+
53
+ ### πŸ“¦ Version Updates
54
+
55
+ - **Version:** `1.0.203` β†’ `1.1.43`
56
+
57
+ ## [0.1.15] - 2026-03-04
58
+
59
+ ### πŸš€ Features & Enhancements
60
+
61
+ - **InputText Focus:** The `InputText` component now focuses the input field when any part of its wrapper is clicked, improving usability.
62
+ - **DateRangeEditor Behavior:** The `DateRangeEditor` now correctly stops the AG Grid cell editing mode when the calendar is closed, preventing the editor from remaining active.
63
+
64
+ ### 🎨 UI/UX Improvements
65
+
66
+ - **CloseBadgeWrapper:** Adjusted the opacity on adjacent elements for better visual consistency when a badge is active.
67
+ - **DragDropItem:** Refined the line-height of item labels for improved text alignment.
68
+
69
+ ### πŸ“¦ Version Updates
70
+
71
+ - **Version:** `0.1.14` β†’ `0.1.15`
72
+
73
+ ## [0.1.4] - 2026-03-03
74
+
75
+ ### πŸš€ Features & Enhancements
76
+
77
+ **HeaderSorting Component**
78
+
79
+ - **Metric Type Handling:** Enhanced `HeaderSorting` component with improved metric type detection and display
80
+ - Added proper metric type checking for accurate icon and label display
81
+ - Improved visual indicators for different metric types (Woohoo, Point, etc.)
82
+ - Better integration with metric metadata in column definitions
83
+ - Fixed metric type detection logic in header rendering
84
+
85
+ ### πŸ“¦ Version Updates
12
86
 
13
- - Corrected `user_id` assignment in `MiniPeopleCard` to use `props.user.id`.
87
+ - **Version:** `0.1.3` β†’ `0.1.4`
88
+ - Updated package.json with new version
89
+
90
+ ### πŸš€ Features & Enhancements
91
+
92
+ - **Keyboard Navigation:**
93
+ - Introduced `useKeyboardNavigation` composable for improved keyboard accessibility in dropdowns.
94
+ - Enhanced `ButtonDropdown` with full keyboard support (Arrows, Enter, Escape).
95
+ - **Focus Management:**
96
+ - Implemented global focus tracking in the main item table to manage element focus states.
97
+ - Added `data-tab-index` attributes to primary UI controls (`New` button, `Filter`, `Search`, `Refresh`, `Columns`) for a logical tab order.
98
+ - **Styling & UI Refinements:**
99
+ - Standardized checkbox styles across `Checkbox.vue` and `HeaderCheckbox.vue` to match the design spec (default, hover, disabled, checked states).
100
+ - Improved `DisplayWrapper` grid calculation for more robust prefix/suffix element handling.
101
+ - Refined `InputText` and `SearchBox` component styles for better alignment and icon presentation.
102
+ - Enhanced `FilterBox` and `FilterAssignee` UI for better visibility and interaction on hover/focus.
103
+
104
+ ### πŸ”§ Technical Improvements
105
+
106
+ - **Code Quality:** Removed unused styles and console logs from `AgTable.vue` and `CellFactory.ts`.
107
+ - **Component Refactoring:** Refactored multiple components to improve styling, add accessibility attributes, and enhance keyboard interaction.
108
+
109
+ ## [0.1.2] - 2026-03-02
110
+
111
+ ### ⚑ Performance & UX
112
+
113
+ - **Tooltip Responsiveness:**
114
+ - Reduced the default tooltip delay from `1000ms` to `300ms` across the application.
115
+ - This change affects the main `tooltipDirective`, `userProfileDirective`, `ListItem`, and `TippySingleton` helper.
116
+ - Provides faster and more responsive feedback on hover.
117
+
118
+ ## [0.1.1] - 2026-02-27
119
+
120
+ ### πŸ”§ Code Quality
121
+
122
+ - **Cleanup:** Removed various `console.log` statements from several components to clean up the console output. Components cleaned include:
123
+ - `CellFactory.ts`
124
+ - `CreateNewScene.vue`
125
+ - `AssigneeGroupRenderer.vue`
126
+ - `AddNewAssignee.vue`
127
+ - `AddNewStatus.vue`
128
+ - `HeaderWrapper.vue`
14
129
 
15
130
  ## [1.0.203] - 2026-02-27 (Live)
16
131
 
@@ -1607,6 +1722,13 @@ This live milestone consolidates all major improvements delivered from `0.0.36`
1607
1722
 
1608
1723
  **Metric Editor Improvements**
1609
1724
 
1725
+ - **MetricEditorInput:**
1726
+ - Changed to auto-emit mode by default (`autoEmit: true`)
1727
+ - Added cancel event emission
1728
+ - Enhanced keyboard handling (Escape now triggers cancel)
1729
+ - Better blur and cancel event separation
1730
+ - Improved logging for debugging
1731
+
1610
1732
  - **MetricEditorWrapper:**
1611
1733
  - Added error recovery: reverts to original value on update failure
1612
1734
  - Improved cancel handling with proper event propagation
@@ -1941,13 +2063,9 @@ This release works with:
1941
2063
 
1942
2064
  **Metric Editor**
1943
2065
 
1944
- - **MetricEditor:** Added empty line for better code formatting
1945
-
1946
- **MetricUpdateButton**
1947
-
1948
- - Simplified `resetFocus()` logic
1949
- - Removed unnecessary `openIndex` null check
1950
- - Cleaner focus reset behavior
2066
+ - **MetricEditor:** Improved default display label
2067
+ - Changed empty state from "Select one" to "-" for cleaner appearance
2068
+ - Better visual consistency across empty metric cells
1951
2069
 
1952
2070
  ---
1953
2071
 
@@ -2044,7 +2162,6 @@ This release works with:
2044
2162
 
2045
2163
  - **MetricRenderer Improvements:**
2046
2164
  - Added conditional rendering for suffix section based on `disabled` prop
2047
- - Prevents interaction buttons from showing when metric is disabled
2048
2165
  - Better separation of display-only vs. editable states
2049
2166
  - Changed action button visibility: now shows on hover instead of `showActions`
2050
2167
  - Simplified hover state management
@@ -2102,6 +2219,112 @@ This release works with:
2102
2219
 
2103
2220
  **Metric Components**
2104
2221
 
2222
+ - Enhanced metric editing capabilities
2223
+ - Better integration with AG Grid cell editors
2224
+
2225
+ ---
2226
+
2227
+ ## [0.0.111] - 2026-01-30
2228
+
2229
+ ### πŸš€ Features
2230
+
2231
+ **Storybook Configuration**
2232
+
2233
+ - **Enhanced Development Environment:** Added SessionStorageHelper configuration in Storybook preview
2234
+ - Pre-configured workspace code (`w:yngazem`)
2235
+ - Set up API endpoints for dev environment
2236
+ - Added base URLs for main app, review, and assets
2237
+ - Improved development experience with pre-populated session data
2238
+
2239
+ **Metric Components**
2240
+
2241
+ - **MetricEditor Enhancements:**
2242
+ - Added tooltip support for update button ("Update")
2243
+ - Extended props to include `CellParamsCore` for better integration
2244
+ - Added `disabled` and `readOnly` prop support
2245
+ - Implemented `isMetricReadonly` computed property for permission-based access control
2246
+ - Auto-detects formula metrics and makes them read-only
2247
+ - Checks `auth_permission.permission` level (requires level 2 for editing)
2248
+ - Improved wrapper state management with proper disabled/readOnly handling
2249
+
2250
+ - **MetricRenderer Improvements:**
2251
+ - Added conditional rendering for suffix section based on `disabled` prop
2252
+ - Prevents interaction buttons from showing when metric is disabled
2253
+ - Better separation of display-only vs. editable states
2254
+
2255
+ ### πŸ“¦ Version Updates
2256
+
2257
+ - **@arbocollab/ag-grid-ui-components:** Updated from `0.0.14` to `0.0.15`
2258
+ - **@arbocollab/arbo-plugin-item-table:** Updated from `0.0.110` to `0.0.111`
2259
+
2260
+ ### πŸ”§ Technical Improvements
2261
+
2262
+ **Type Safety**
2263
+
2264
+ - Better prop typing with `CellParamsCore` integration in MetricEditor
2265
+ - Improved permission checking with proper type guards
2266
+ - Enhanced computed property definitions
2267
+
2268
+ **Development Experience**
2269
+
2270
+ - Storybook now auto-configures session storage for testing
2271
+ - Reduced manual setup needed for component development
2272
+ - Consistent environment configuration across stories
2273
+
2274
+ **Security & Permissions**
2275
+
2276
+ - Proper permission level checks before allowing edits
2277
+ - Formula metrics automatically marked as read-only
2278
+ - Respects both component-level and permission-level restrictions
2279
+
2280
+ ### 🎨 UI/UX Improvements
2281
+
2282
+ - **Better User Feedback:**
2283
+ - Tooltip on update button provides clear action indication
2284
+ - Disabled/read-only states properly communicated visually
2285
+ - Hidden interaction buttons when editing is not allowed
2286
+
2287
+ - **Permission-Based Interactions:**
2288
+ - Users with insufficient permissions see read-only view
2289
+ - Formula-based metrics cannot be manually edited
2290
+ - Cleaner interface when editing is disabled
2291
+
2292
+ ---
2293
+
2294
+ ### Dependencies
2295
+
2296
+ This release works with:
2297
+
2298
+ - `@arbocollab/ag-grid-ui-components@0.0.15`
2299
+ - Storybook development environment with pre-configured session storage
2300
+ - Dev environment URLs:
2301
+ - API: `https://api.dev.arbocollab.com/api`
2302
+ - App: `https://app.dev.arbocollab.com`
2303
+ - Review: `https://review.dev.arbocollab.com`
2304
+ - Assets: `https://arbodev.s3.ap-south-1.amazonaws.com`
2305
+
2306
+ ---
2307
+
2308
+ ## [0.0.110] - 2026-01-30
2309
+
2310
+ ### πŸš€ Features
2311
+
2312
+ **Input Components**
2313
+
2314
+ - **Enhanced InputText Component:** Complete rewrite with advanced input handling
2315
+ - Added support for multiple input types: `text`, `number`, `email`, `url`, `tel`
2316
+ - Implemented auto-emit mode with configurable debounce delay (default 300ms)
2317
+ - Added intelligent formatters and validators for each input type
2318
+ - Number inputs now limited to 17 digits (excluding decimal point and minus sign)
2319
+ - Text inputs capped at 255 characters (configurable via maxLength)
2320
+ - Email and URL inputs automatically remove spaces
2321
+ - Telephone inputs only allow valid phone characters
2322
+ - Improved keyboard navigation (Enter to submit, Escape to cancel/blur)
2323
+ - Fixed cursor jumping issues during character deletion
2324
+ - Clear button now prevents blur event and maintains focus
2325
+
2326
+ **Metric Components**
2327
+
2105
2328
  - **New MetricEditorInput:** Dedicated component for metric number inputs
2106
2329
  - Supports dynamic decimal place formatting based on metric config
2107
2330
  - Implements proper value caching and revert on Escape