@egovernments/digit-ui-module-workbench 2.0.0-dev-13 → 2.0.0-dev-14

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/CHANGELOG.md +0 -243
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-module-workbench",
3
- "version": "2.0.0-dev-13",
3
+ "version": "2.0.0-dev-14",
4
4
  "license": "MIT",
5
5
  "main": "dist/main.js",
6
6
  "module": "dist/main.js",
@@ -23,8 +23,8 @@
23
23
  "styled-components": "5.x"
24
24
  },
25
25
  "dependencies": {
26
- "@egovernments/digit-ui-components": "2.0.0-dev-51",
27
- "@egovernments/digit-ui-react-components": "2.0.0-dev-14",
26
+ "@egovernments/digit-ui-components": "2.0.0-dev-52",
27
+ "@egovernments/digit-ui-react-components": "2.0.0-dev-15",
28
28
  "@egovernments/digit-ui-libraries": "2.0.0-dev-11",
29
29
  "@rjsf/core": "5.10.0",
30
30
  "@rjsf/utils": "5.10.0",
package/CHANGELOG.md DELETED
@@ -1,243 +0,0 @@
1
- # Changelog
2
-
3
- ## ["2.0.0-dev-10"] [23-Feb-2026]
4
- ### Bug Fix: Boundary Excel Upload Validation Failure
5
-
6
- ## Issue:
7
- Uploading a boundary Excel file via the UI was failing with errors like: BOUNDARY_ROW 2: BOUNDARY_COLUMN "Service Boundary Code" BOUNDARY_FILLED "Community" BOUNDARY_EMPTY
8
-
9
- ## Root Cause:
10
- The client-side validation in validateBoundaryExcel.js used t("HCM_ADMIN_CONSOLE_BOUNDARY_CODE") to find the "Service Boundary Code" column header and exclude metadata columns from hierarchical validation.
11
-
12
- ## Fix:
13
-
14
- ## File Changes :
15
-
16
- validateBoundaryExcel.js : Added hierarchyColumnsCount parameter to determine how many columns to validate. Removed dependency on t() for column identification. Removed unused useTranslation import.
17
-
18
- ViewHierarchy.js : Both call sites now pass hierData?.length (from the boundary hierarchy definition API) as the hierarchy column count.
19
-
20
- ## Why this approach:
21
-
22
- Works in all locales (en, fr, pt) — no translation matching
23
- Works if localization values change — no hardcoded strings
24
- Works if hierarchy levels change — count comes from the API dynamically
25
- Fails safely — falls back to headers.length if hierData is unavailable
26
-
27
- ## ["2.0.0-dev-03"] [16-Dec-2025]
28
- -Added boundary management screens
29
-
30
- ## ["2.0.0-dev-01"] [26-Sep-2025]
31
- -Optimised packages of core with lazy implementation - republish
32
-
33
-
34
- ## ["2.0.0-rc19-05"] [26-Sep-2025]
35
- -Optimised packages of core with lazy implementation
36
-
37
- ## [2.0.0-rc19-03] [09-Sept-2025]
38
- -Webpack changes to fix reload issue
39
-
40
- ## [2.0.0-rc19-02] [02-Sept-2025]
41
- -Webpack and package.json changes
42
- -MDMSManageMaster and MDMSSearchv2 chages for solving infinite loop issue
43
-
44
- ## [2.0.0-rc19-01] [26-Aug-2025]
45
- ### 🔧 Critical Memory Leak & Stability Fixes
46
-
47
-
48
- ## [1.0.19-test.2] [18-Jun-2025]
49
- -React19 compatible as per latest workbench from develop
50
-
51
-
52
- ## [1.1.0] [28-October-2025]
53
-
54
- ### 🚀 Major Features & UI/UX Redesign
55
-
56
- #### MDMS Interface Redesign:
57
- - **Card-Based Navigation**: Complete redesign from dropdown to interactive card-based interface
58
- - Module selection cards with visual hierarchy
59
- - Master details cards for selected modules
60
- - Responsive grid layout (mobile, tablet, desktop)
61
- - **Real-Time Search Functionality**:
62
- - Filter modules and masters by name/translated value
63
- - Case-insensitive search with instant results
64
- - Dynamic placeholders (WBH_SEARCH_MODULES/WBH_SEARCH_MASTERS)
65
- - No results message handling
66
- - **Text Truncation with Hover Display**:
67
- - Smart ellipsis for long module/master names
68
- - Full text display on hover with visual feedback
69
- - CSS class: `employee-card-sub-header`
70
-
71
- #### 📁 Bulk Upload System:
72
- - **Excel/JSON Bulk Upload**: New BulkModal component with progress tracking
73
- - Support for XLSX, XLS, and JSON file formats
74
- - Real-time progress bar with success/error tracking
75
- - Batch processing with configurable delays
76
- - Template generation and download functionality
77
- - **File Management**: Enhanced BulkUpload component with drag-drop interface
78
- - Drag and drop file upload with validation
79
- - File preview and deletion capabilities
80
- - Error handling with toast notifications
81
- - Submit confirmation with action bars
82
-
83
- #### 🔧 Advanced Form Features:
84
- - **Enhanced JSON Forms**: Major updates to DigitJSONForm component
85
- - Localization support with MDMS code generation
86
- - Custom widgets: CustomSwitch, improved CheckboxWidget
87
- - Context-based state management with AdditionalPropertiesContext
88
- - JSON viewer integration for data inspection
89
- - PopUp modals for better user interaction
90
- - **Boundary Management**: New BoundaryHierarchyTypeAdd functionality
91
- - Administrative boundary hierarchy creation
92
- - Form composer integration for structured data entry
93
- - Validation and error handling for boundary types
94
-
95
- #### Technical Improvements:
96
- - **Component Architecture Overhaul**:
97
- - New components: BulkModal, BulkUpload, CustomSwitch, LevelCards, JSONViewer
98
- - Enhanced DigitJSONForm with context providers and advanced widgets
99
- - Replaced Dropdown components with Card-based components (CardHeader, CardText, CardSubHeader)
100
- - Added TextInput for real-time search functionality
101
- - Updated imports from @egovernments/digit-ui-react-components and @egovernments/digit-ui-components
102
- - **Module System Enhancement**:
103
- - Added HCM admin schemas support (`hcm-admin-schemas` moduleCode)
104
- - TourProvider integration for guided user experience
105
- - Enhanced component registration with better logging
106
- - Module prefix configuration with `CORE_UI_MODULE_LOCALE_PREFIX`
107
- - **State Management Enhancement**:
108
- - Context-based state management with AdditionalPropertiesContext
109
- - Replaced `currentSchema`, `masterName`, `moduleName` with `selectedModule`
110
- - Added new state variables: `searchQuery`, `showModules`
111
- - Implemented filtered data using `filteredModules`, `filteredMasters`
112
- - Auto-clear search functionality on navigation transitions
113
- - **Utility Functions**:
114
- - New BulkUploadUtils for template generation and file processing
115
- - Enhanced localization utilities with tranformLocModuleName
116
- - Improved parsing utilities for data transformation
117
-
118
- #### Performance Improvements:
119
- - Increased schema limit from 200 to 500 for better data handling
120
- - Optimized filtering logic with useMemo hooks
121
- - Reduced component re-renders through efficient state management
122
- - Faster search response with debounced filtering
123
-
124
- #### Global Config Support:
125
- - Compatible with `OVERRIDE_ROOT_TENANT_WITH_LOGGEDIN_TENANT` flag
126
- - Supports multi-tenant MDMS configurations
127
- - Enhanced schema definition criteria handling
128
-
129
- ## [1.1.0-rc2] [27-Oct-2025]
130
- - Test Build for release after master merge
131
-
132
- ## [1.1.0-rc1] [27-Oct-2025]
133
- - Test Build for release
134
-
135
- ## [1.0.29] [28-October-2025]
136
-
137
- ### 🚀 Major UI/UX Redesign - MDMS Manage Master Interface
138
-
139
- #### New Features:
140
- - **Card-Based Navigation**: Complete redesign from dropdown to interactive card-based interface
141
- - Module selection cards with visual hierarchy
142
- - Master details cards for selected modules
143
- - Responsive grid layout (mobile, tablet, desktop)
144
- - **Real-Time Search Functionality**:
145
- - Filter modules and masters by name/translated value
146
- - Case-insensitive search with instant results
147
- - Dynamic placeholders (WBH_SEARCH_MODULES/WBH_SEARCH_MASTERS)
148
- - No results message handling
149
- - **Text Truncation with Hover Display**:
150
- - Smart ellipsis for long module/master names
151
- - Full text display on hover with visual feedback
152
- - CSS class: `employee-card-sub-header`
153
- - **Enhanced Navigation Flow**:
154
- - Two-step process: Modules → Masters → Management
155
- - Back button navigation with state management
156
- - URL parameter support for deep-linking
157
-
158
- #### Technical Improvements:
159
- - **Component Architecture**:
160
- - Replaced Dropdown components with Card components
161
- - Added TextInput for search functionality
162
- - Implemented useMemo for efficient filtering
163
- - **SCSS Integration**:
164
- - Moved styles from MDMSCards.css to workbench.scss
165
- - Theme variables integration (digitv2.lightTheme)
166
- - Responsive breakpoints using theme screens
167
- - **State Management**:
168
- - New state: `searchQuery`, `showModules`
169
- - Filtered data using `filteredModules`, `filteredMasters`
170
- - Auto-clear search on navigation
171
-
172
- #### Performance:
173
- - Search response time < 100ms
174
- - 50% reduction in clicks to reach target
175
- - 30% faster navigation overall
176
-
177
- #### Global Config Support:
178
- - Compatible with `OVERRIDE_ROOT_TENANT_WITH_LOGGEDIN_TENANT` flag
179
- - Supports multi-tenant configurations
180
- - Increased schema limit from 200 to 500
181
-
182
- ## [1.0.28] [30-July-2025]
183
- - Workbench View and edit state issues
184
- -
185
- ## [1.0.27] [29-Jul-2025]
186
- - File Upload Issues Resolved & Edit MDMS view incorrect data fix
187
-
188
- ## [1.0.26] [18-Jun-2025]
189
- - Provided schema download & upload
190
-
191
- ## [1.0.25] [16-Jun-2025]
192
- - Set default download capability disabled 'ENABLE_MDMS_BULK_DOWNLOAD'
193
-
194
- ## [1.0.24] [16-Jun-2025]
195
- - provided download of all data per schema & enable based on flag
196
- - flag name 'ENABLE_MDMS_BULK_DOWNLOAD'
197
-
198
-
199
- ## [1.8.23] [10-Jun-2025]
200
- - integrated with updated version
201
-
202
- ## [1.0.22] [28-Apr-2025]
203
- - Localization Bulk Upload - Updated SheetName and Column Widths
204
-
205
- ## [1.0.21] [8-Apr-2025]
206
- - Manage Sidebars
207
-
208
- ## [1.0.20] [25-Mar-2025]
209
- - Enhancements in Localization Add Screen - Bulk Upload
210
-
211
- ## [1.0.19] [3-Mar-2025]
212
- - Disabled json-edit-react & enable based on flag
213
- - Introduced new Globalvariable to enable bulk upload of master dataa 'ENABLE_JSON_EDIT'
214
-
215
-
216
- ## [1.0.18] [25-Feb-2025]
217
- - Compilation issue fix
218
-
219
- ## [1.0.17] [25-Feb-2025]
220
- - Added json-edit-react to view and edit schema data
221
-
222
- ## [1.0.15] [21-Feb-2025]
223
- - Publishing a new version for more stability & as part of Components Release
224
-
225
- ## [1.0.13] [3-Feb-2025]
226
- - Updated some of the loader component
227
- - fixed the add master data issue
228
-
229
- ## [1.0.13] [1-Feb-2025]
230
- - FEATURE/HCMPRE-1425 : Added the workbench module patches and Updated localisation search screen, and core module #2181
231
- - Upgraded with new Components in core, workbench screens
232
- - Introduced new Globalvariable to enable bulk upload of master dataa 'ENABLE_MDMS_BULK_UPLOAD'
233
- - Localisation search introduced a search bar for better usablility
234
- - Enhanced support for Customisations
235
-
236
- ## [1.0.11]
237
- - added support for dynamic locale in workbench module with key CORE_UI_MODULE_LOCALE_PREFIX
238
-
239
- ## [1.0.3]
240
- - Fixed the module stablity & new components integrated
241
-
242
- ## [1.0.0]
243
- - Base version.