@egovernments/digit-ui-module-cms 1.0.2 → 1.0.3

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,6 +1,29 @@
1
1
  # Changelog
2
2
  All notable changes to this module will be documented in this file.
3
3
 
4
+ ## [1.0.3] - 2026-03-05
5
+ ### Fixed
6
+ - **PGR Inbox Search and Filter Issues**
7
+ - Fixed search and filter inputs losing values while typing
8
+ - Fixed "Assigned to Me" filter triggering incorrect API calls
9
+ - Fixed state mutation in UICustomizations preProcess function
10
+ - Added mobile number validation with proper prefix and pattern rules
11
+ - Memoized config object to prevent unnecessary re-renders
12
+ - Consolidated config processing for better performance
13
+ - Fixed lodash import in PGRInbox.js
14
+ - Updated useEffect dependencies to prevent config reset on every render
15
+
16
+ **Files Modified:**
17
+ - `src/pages/employee/PGRInbox.js` - Config memoization, mobile validation, proper React hooks
18
+ - `src/configs/UICustomizations.js` - Deep cloning to avoid state mutation, improved filter handling
19
+
20
+ **Impact:**
21
+ - Search and filter inputs now retain values when typing
22
+ - "Assigned to Me" / "Assigned to All" filters work correctly
23
+ - Mobile validation active with MDMS rules
24
+ - No state corruption or unnecessary re-renders
25
+ - Search and filter operate independently
26
+
4
27
  ## [1.0.2] - 2026-02-27
5
28
  ### Fixed
6
29
  - CCSD-1617: Employee inbox — restored broken search, filter, and pagination functionality on the PGR inbox page