Jul 7th Simplified User Viewing and enhanced performance.
Simplified User Viewing π The update in
DonorUploadNew/index.js
ensures that theViewEntity
component, which allows users to view information, will always be displayed in theentity
tab, regardless of the server response. This helps in maintaining a consistent user experience! πSelector Update for Enhanced Performance π Weβve shifted the selectors for
profile
anddonor_fields
inDonorViewEntity/components/ProductForm/ProfileCard.js
, now using theviewEntityProfile
slice of state rather thanviewEntity
. This will provide smoother and more efficient state management, helping the system run even better! β¨Improved Reducer Import for Enhanced Organization π In
DonorViewEntity/index.js
, the reducer imported was modified fromviewEntity
toviewEntityProfile
, aligning selectors and actions accordingly. Dependencies for theuseEffect
hook were also expanded to includeclient_id
,program_id
,session_id
, andentity_id
. These changes promote better project organization and allows for stronger oversight! πAction and Thunk Names Update for Consistency π Within
DonorViewEntity/store/dataSlice.js
, we've updated the actions and thunk names fromviewEntity/data
toviewEntityProfile/data
. This keeps everything uniform and further improves code readability! πState Slice Name Revision for Clarity π In
DonorViewEntity/store/stateSlice.js
, the state slice name has been shifted fromviewEntity/state
toviewEntityProfile/state
. This change will help developers quickly understand and navigate through the flow of state changes within the app! π‘
Remember, every little improvement brings us closer to perfection, let's keep moving forward and doing amazing work! π
Last updated
Was this helpful?