Skip to content

Commit

Permalink
version updated and fixed staff and resources search (#1503)
Browse files Browse the repository at this point in the history
* version updated and fixed staff and resources search

* Update README.md

* version updated
  • Loading branch information
jagankumar-egov authored Oct 11, 2024
1 parent a65c85b commit 922ae70
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@egovernments/digit-ui-module-core": "1.8.2-beta.13",
"@egovernments/digit-ui-module-utilities": "1.0.1-beta.30",
"@egovernments/digit-ui-react-components": "1.8.2-beta.11",
"@egovernments/digit-ui-module-hcmworkbench":"0.0.41",
"@egovernments/digit-ui-module-hcmworkbench":"0.0.43",
"@egovernments/digit-ui-module-campaign-manager": "0.2.0",
"@egovernments/digit-ui-module-hcmmicroplanning": "0.0.1",
"@egovernments/digit-ui-module-microplan":"0.0.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# digit-ui-module-hcmworkbench

## Install

```bash
npm install --save digit-ui-module-hcmworkbench
```

## Limitation

```bash
This Package is more specific to DIGIT-UI's can be used across mission's
```

## Usage

After adding the dependency make sure you have this dependency in

```bash
frontend/micro-ui/web/package.json
```

```json
"@egovernments/digit-ui-module-hcmworkbench" :"0.0.41",
```

then navigate to App.js

```bash
frontend/micro-ui/web/src/App.js
```

```jsx
/** add this import **/

import { initWorkbenchHCMComponents } from "@egovernments/digit-ui-module-hcmworkbench"

/** inside enabledModules add this new module key **/

const enabledModules = ["HCMWORKBENCH"];

/** inside init Function call this function **/

const initDigitUI = () => {
initWorkbenchHCMComponents();
};

```
## List of features available in this versions were as follows

1 . View Projects
2 . View Projects relations like childrens, staff, facility and resources
3 . Helps in settings of admin console for boundary and settings itself


### Changelog

```bash
0.0.40 base version
```

### Contributors

- [jagankumar-egov](https://github.com/jagankumar-egov)
- [Bhavya-egov](https://github.com/Bhavya-egov)
- [himanshukeshari-eGov](https://github.com/himanshukeshari-eGov)


## License

[MIT](https://choosealicense.com/licenses/mit/)

## Documentation

Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui)
Workbench Documentation(https://workbench.digit.org/platform/functional-specifications/workbench-ui)

## Maintainer

- [jagankumar-egov](https://www.github.com/jagankumar-egov)


### Published from DIGIT Frontend
DIGIT Frontend Repo (https://github.com/egovernments/Digit-Frontend/tree/master)


![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png)

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egovernments/digit-ui-module-hcmworkbench",
"version": "0.0.41",
"version": "0.0.43",
"description": "Workbench-HCM",
"main": "dist/index.js",
"module": "dist/index.modern.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ProjectBeneficiaryComponent = (props) => {

body: {
ProjectResource: {
projectId: props.projectId
projectId: [props.projectId]
},
// apiOperation: "SEARCH"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ProjectStaffComponent = (props) => {
},
body: {
ProjectStaff: {
projectId: props.projectId,
projectId: [props.projectId],
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion health/micro-ui/web/workbench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@egovernments/digit-ui-module-core": "1.8.2-beta.13",
"@egovernments/digit-ui-module-utilities": "1.0.1-beta.35",
"@egovernments/digit-ui-react-components": "1.8.2-beta.11",
"@egovernments/digit-ui-module-hcmworkbench":"0.0.41",
"@egovernments/digit-ui-module-hcmworkbench":"0.0.43",
"@egovernments/digit-ui-module-campaign-manager": "0.2.0",
"babel-loader": "8.1.0",
"clean-webpack-plugin": "4.0.0",
Expand Down

0 comments on commit 922ae70

Please sign in to comment.