Skip to content

openimis/openimis-fe-individual_js

Repository files navigation

openIMIS Frontend Individual module

This repository holds the files of the openIMIS Frontend Individual module. It is dedicated to be bootstrap development of openimis-fe_js modules, providing an empty (yet deployable) module.

Please refer to openimis-fe_js to see how to build and and deploy (in developement or server mode).

The module is built with rollup. In development mode, you can use npm link and npm start to continuously scan for changes and automatically update your development server.

License: AGPL v3 Total alerts

Main Menu Contributions

  • Beneficiares and Households (individual.mainMenu translation key)

    Individuals (individual.menu.individuals key), displayed if user has the right 159001 Groups (individual.menu.groups key), displayed if user has the right 159001

Other Contributions

  • core.Router: registering individuals, individual, routes in openIMIS client-side router

Available Contribution Points

  • individual.TabPanel.label, labels for tab panels displaying Individuals
  • individual.TabPanel.panel, panels for tab panels displaying Individuals

Dispatched Redux Actions

  • INDIVIDUAL_MUTATION_{REQ|ERR}, sending a mutation
  • INDIVIDUAL_DELETE_INDIVIDUAL_RESP receiving a result of delete Individual mutation
  • INDIVIDUAL_UPDATE_INDIVIDUAL_RESP receiving a result of update Individual mutation
  • GROUP_DELETE_GROUP_RESP receiving a result of delete Group mutation
  • GROUP_UPDATE_GROUP_RESP receiving a result of update Group mutation
  • GROUP_INDIVIDUAL_DELETE_GROUP_INDIVIDUAL_RESP receiving a result of delete GroupIndividual mutation
  • GROUP_INDIVIDUAL_UPDATE_GROUP_INDIVIDUAL_RESP receiving a result of update GroupIndividual mutation
  • INDIVIDUAL_INDIVIDUALS_{REQ|RESP|ERR} fetching Individuals (as triggered by the searcher)
  • INDIVIDUAL_INDIVIDUAL_{REQ|RESP|ERR} fetching chosen Individual
  • GROUP_GROUPS_{REQ|RESP|ERR} fetching Groups (as triggered by th searcher)
  • GROUP_GROUP_{REQ|RESP|ERR} fetching chosen Group
  • GROUP_INDIVIDUAL_GROUP_INDIVIDUALS_{REQ|RESP|ERR} fetching GroupIndividuals (as triggered by th searcher)
  • INDIVIDUAL_EXPORT_{REQ|RESP|ERR} export of Individuals
  • GROUP_EXPORT_{REQ|RESP|ERR} export of Groups
  • GROUP_INDIVIDUAL_EXPORT_{REQ|RESP|ERR} export of GroupIndividuals

Other Modules Listened Redux Actions

None

Other Modules Redux State Bindings

  • state.core.user, to access user info (rights,...)

Configurations Options

None