@arbocollab/arbo-plugin-item-table 1.1.106 โ†’ 1.1.108

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,32 +1,33 @@
1
1
  # Changelog
2
2
 
3
- ## [0.1.106] - 2026-07-09
3
+ ## [1.1.108] - 2026-07-10
4
4
 
5
5
  ### ๐Ÿš€ Features & Enhancements
6
6
 
7
- - **Permission-aware lock state in `SceneNameEditor`:** Added `canEdit` computed property derived from `permissions.has_edit_permission` on row data.
8
- - Lock icon tooltip now shows a contextual message ("Locked โ€” You can still edit, or unlock by changing the status from completed") when the user has edit permission.
9
- - Lock icon color is visually differentiated: lighter (`#a6a6a6`) for users with edit access, darker (`#232323`) for read-only users.
10
- - **Improved `isLocked` data mapping:** Updated `dataConverter.ts` to derive the locked state from `template_flow_status.is_lock_item` instead of `property.is_locked`, aligning with the correct API field.
11
- - **Permission filter in `ItemService`:** Added `permission: '1,2'` query parameter to the assignable items fetch to filter results by edit/view permissions.
7
+ - **Dynamic error message fetching:** Replaced static bundled error messages with a runtime-fetched approach in `setupErrorHelper.ts`.
8
+ - Error messages are now fetched from a remote URL stored in the `account.tessr_i18n_file_version_url` cookie, enabling live updates without a rebuild.
9
+ - Added `getCookie` / `waitForCookie` helpers with retry logic (10 retries, 300ms delay) to handle cookie availability timing on page load.
10
+ - Added `fetchEnErrorMessages` and `buildMessages` async helpers to compose the i18n message tree at runtime.
11
+ - Enabled `formatFallbackMessages: true` on the i18n instance for better fallback handling.
12
+ - Exported a `dummyError` constant (`E-0-GEN-2 / data_locked`) for use in testing and dev tooling.
12
13
 
13
- ### ๐Ÿ”ง Bug Fixes
14
+ - **Lock UX improvements in `SceneNameEditor`:** Enhanced the locked-row indicator to reflect edit permissions.
15
+ - Added `canEdit` computed property based on `data.permissions.has_edit_permission`.
16
+ - Lock icon color now changes to `#a6a6a6` (lighter) when the user has edit rights, vs `#232323` when fully locked.
17
+ - Lock tooltip now shows a contextual message โ€” _"Locked โ€” You can still edit, or unlock by changing the status from completed"_ โ€” when the user has edit permission, and plain _"Locked"_ otherwise.
14
18
 
15
- - **`LabelEditor` โ€” removed unintended input sanitization:** The `sanitizeInput` call was removed from the save handler so raw input values are saved as entered, preventing unwanted transformations of label text.
16
- - **`EmptyData` โ€” stabilized empty-state icon:** Hardcoded the icon source to `'NoDataGeneral'` to ensure a consistent visual regardless of the dynamic `icon` prop value.
19
+ - **`isLocked` data source corrected in `dataConverter.ts`:** The `isLocked` field now reads from `template_flow_status.is_lock_item` instead of `property.is_locked` for accurate lock state mapping.
17
20
 
18
- ### ๐Ÿงน Chores & Refactoring
21
+ - **Permission filter added to `ItemService`:** The assignable-status API call now includes `permission: '1,2'` to restrict results to items the user has relevant permissions for.
19
22
 
20
- - **`Icon` component style refactor:** Migrated from CSS Modules to scoped SCSS.
21
- - Replaced `v-bind` CSS size binding with a CSS custom property (`--icon-size`) set via inline style.
22
- - Used `:deep(svg)` selector inside scoped styles for proper SVG targeting.
23
- - Color inheritance now driven by `props.color` inline style binding instead of a computed style object.
24
- - **`packages/ui` export configuration:** Restored proper `exports` field in `package.json` with `types`, `import`, and `require` conditions plus `./style.css` export, replacing the interim `main`/`module`/`types` pointing to source files.
23
+ ### ๐Ÿ”ง Bug Fixes & Refinements
25
24
 
26
- ### ๐Ÿ“ฆ Version Updates
25
+ - **UI package exports standardized:** Refactored `packages/ui/package.json` exports to include explicit `types` and `module` paths for better compatibility with various bundler resolution strategies.
26
+
27
+ ### ๐Ÿงน Chores & Refactoring
27
28
 
28
- - **`@arbocollab/arbo-plugin-item-table`:** `0.1.103` โ†’ `0.1.106`
29
- - **`@arbocollab/ag-grid-ui-components`:** `0.0.43` โ†’ `0.0.44`
29
+ - **Icon component styles refactored:** Cleaned up `Icon.vue` styles for consistency; updated `EmptyData.vue` to use a static icon source instead of a dynamic reference.
30
+ - **Version updates:** Bumped dashboard (`0.1.103` โ†’ `1.1.108`), UI package, base-components, and helpers.
30
31
 
31
32
  ## [0.1.103] - 2026-06-18
32
33