@egovernments/digit-ui-module-workbench 0.0.3 → 0.1.0-rc-optim-01

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/README.md CHANGED
@@ -1,5 +1,3 @@
1
- <!-- TODO: update this -->
2
-
3
1
  # digit-ui-module-workbench
4
2
 
5
3
  ## Install
@@ -23,7 +21,7 @@ frontend/micro-ui/web/package.json
23
21
  ```
24
22
 
25
23
  ```json
26
- "@egovernments/digit-ui-module-workbench":"0.0.1",
24
+ "@egovernments/digit-ui-module-workbench":"1.0.0",
27
25
  ```
28
26
 
29
27
  then navigate to App.js
@@ -55,27 +53,44 @@ _Add this configuration to enable this module [MDMS Enabling Workbench Module](h
55
53
 
56
54
  ## List of Screens available in this versions were as follows
57
55
 
58
- 1. Search Master Data
59
- // TODO Add more information
56
+ 1 . Search Master Data
57
+ > -Provides a screen based on Schema and renders the search result if data is present
58
+ > -It also provides a dynamic filter based on which data can be filtered
59
+
60
+
61
+ 2 . Add Master Data based on selected schema
62
+ > -Provides a screen to add new master data according to the schema
63
+ > -Provides a Dropdown if it has any referenced master
64
+
65
+ 3 . Update Master data for selected data.
66
+ > -View the master data from search screen
67
+ > -Disable/Enable the master data if required
68
+ > -Update the master data value except the unique-identifier field mentioned in the schema
60
69
 
61
70
 
62
- 2. Add Master Data based on selected schema
63
- // TODO Add more information
64
71
 
72
+ 4 . Localisation screens
73
+ > -Provides a screen to search the localisation present in the environment
74
+ > -Add new localisation
75
+ > -Update existing localisation
76
+ > -Bulk Upload of Localisation data
65
77
 
66
- 3. Update Master data for selected data.
67
- // TODO Add more information
78
+ 5 . MDMS UI Schema
68
79
 
69
- # Mandatory changes to use Workbench module
80
+ 6 . Data push for any API based on schema
70
81
 
71
- 1. Assuming core module is already updated with 1.5.38+ and related changes were taken
82
+ 7 . Json-edit-react to view and edit schema
72
83
 
73
- 2. add the following hook method in micro-ui-internals/packages/libraries/src/hooks/useCustomAPIMutationHook.js
84
+ ### Mandatory changes to use Workbench module
85
+
86
+ 1 . Assuming core module is already updated with 1.5.38+ and related changes were taken
87
+
88
+ 2 . add the following hook method in micro-ui-internals/packages/libraries/src/hooks/useCustomAPIMutationHook.js
74
89
 
75
90
  reference::
76
91
  https://github.com/egovernments/DIGIT-Dev/blob/6e711bdc005c226c7debd533209681fc77078a3e/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/useCustomAPIMutationHook.js
77
92
 
78
- 3. add the following utility method in micro-ui-internals/packages/libraries/src/utils/index.js
93
+ 3 . add the following utility method in micro-ui-internals/packages/libraries/src/utils/index.js
79
94
  ```jsx
80
95
  didEmployeeHasAtleastOneRole
81
96
 
@@ -85,35 +100,72 @@ const didEmployeeHasAtleastOneRole = (roles = []) => {
85
100
 
86
101
  ```
87
102
 
88
- 4. stylesheet link has to be added
103
+ 4 . stylesheet link has to be added
89
104
  ```jsx
90
105
  <link rel="stylesheet" href="https://unpkg.com/@egovernments/digit-ui-css@1.2.114/dist/index.css" />
91
106
  ```
92
107
  Reference commit for the enabling workbench
93
108
  https://github.com/egovernments/DIGIT-OSS/pull/99/commits/6e711bdc005c226c7debd533209681fc77078a3e
94
109
 
95
- ## Coming Soon
96
110
 
97
- 1. Localisation screens
98
- 2. MDMS UI Schema
99
- 3. Data push for any API based on schema
100
111
 
101
-
102
- # Changelog
112
+ ### Changelog
103
113
 
104
114
  ```bash
115
+ 1.0.2-beta.7 : localisation admin issue fixed
116
+ 1.0.2-beta.6 : boundary screen updated for support migration of data
117
+ 1.0.2-beta.4 If you dont want to use modulename and mastername in mdms-v2 data create and update api use {MDMS_SCHEMACODE_INACTION} this constant in global config and set it as false
118
+ 1.0.2-beta.3 updated the bulkupload time for MDMS data create
119
+ 1.0.2-beta.2 added audit history feature
120
+ 1.0.2-beta.1 fix after build issue of ajv package
121
+ 1.0.1-beta.14 added direct boundary bulk upload screen
122
+ 1.0.1-beta.4 Added boundary bulk upload screen
123
+ 1.0.1-beta.3 minor fixes in create hierarchy screen
124
+ 1.0.1-beta.2 Added create heirarchty screen
125
+ 1.0.1-beta.1 Republished after merging with Master due to version issues.
126
+ 1.0.0-beta.14 Added info message in localisation search
127
+ 1.0.0-beta.13 Added new role to support hcm localisation create
128
+ 1.0.0-beta.13 Added customisable label for custom dropdown through workbench ui schema
129
+ 1.0.0-beta.11 Added customisable label for custom dropdown through workbench ui schema
130
+ 1.0.0-beta.10 fixed the dropdown undefined issue
131
+ 1.0.0-beta.9 Added new role to support hcm manage masters
132
+ 1.0.0-beta.8 minor fixes
133
+ 1.0.0-beta.7 Added Bulk Upload Ui for MDMS Add
134
+ 1.0.0-beta.6 Added Bulk Upload Ui for MDMS Add
135
+ 1.0.0-beta.5 Fixed some loading issue
136
+ 1.0.0-beta.2 custom api support added
137
+ 1.0.0-beta.1 republished due to some version issues
138
+ 1.0.1 Fixes related to the limits
139
+ 1.0.0 Workbench v1.0 release
140
+ 1.0.0-beta workbench base version beta release
105
141
  0.0.3 readme updated
106
142
  0.0.2 readme updated
107
143
  0.0.1 base version
108
144
  ```
109
145
 
110
- # Contributors
146
+ ### Contributors
111
147
 
112
- [jagankumar-egov]
148
+ - [jagankumar-egov](https://github.com/jagankumar-egov)
149
+ - [nipun-egov](https://github.com/nipun-egov)
113
150
 
114
- ## Published from DIGIT Core
115
- Digit Dev Repo (https://github.com/egovernments/Digit-Core/tree/digit-ui-core)
116
151
 
117
152
  ## License
118
153
 
119
- MIT © [jagankumar-egov](https://github.com/jagankumar-egov)
154
+ [MIT](https://choosealicense.com/licenses/mit/)
155
+
156
+ ## Documentation
157
+
158
+ Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui)
159
+ Workbench Documentation(https://workbench.digit.org/platform/functional-specifications/workbench-ui)
160
+
161
+ ## Maintainer
162
+
163
+ - [jagankumar-egov](https://www.github.com/jagankumar-egov)
164
+
165
+
166
+ ### Published from DIGIT Frontend
167
+ DIGIT Frontend Repo (https://github.com/egovernments/Digit-Frontend/tree/master)
168
+
169
+
170
+ ![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png)
171
+