GithubHelp home page GithubHelp logo

codetanzania / emis-api-states Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 5.03 MB

Redux state management for EMIS web

License: MIT License

JavaScript 100.00%
codetanzania emis emis-web emis-api-states emis-redux-state emergency-situation emergency

emis-api-states's People

Contributors

benmaruchu avatar dependabot[bot] avatar lykmapipo avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

emis-api-states's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): replace dependency babel-eslint with @babel/eslint-parser 7.11.0
  • chore(deps): replace dependency faker with @faker-js/faker
  • chore(deps): replace dependency rollup-plugin-babel with @rollup/plugin-babel 5.0.0
  • chore(deps): update commitlint monorepo to v8.3.6 (@commitlint/cli, @commitlint/config-conventional, @commitlint/travis-cli)
  • chore(deps): update dependency commitizen to v4.3.0
  • chore(deps): update dependency eslint-plugin-jsx-a11y to v6.8.0
  • fix(deps): update dependency inflection to v1.13.4
  • fix(deps): update dependency prop-types to v15.8.1
  • fix(deps): update dependency redux-thunk to v2.4.2
  • chore(deps): update dependency @testing-library/react to v15
  • chore(deps): update dependency eslint to v9
  • chore(deps): update dependency eslint-config-airbnb to v19
  • chore(deps): update dependency eslint-config-prettier to v9
  • chore(deps): update dependency eslint-plugin-jest to v28
  • chore(deps): update dependency eslint-plugin-jsdoc to v48
  • chore(deps): update dependency eslint-plugin-prettier to v5
  • chore(deps): update dependency faker to v6
  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency lint-staged to v15
  • chore(deps): update dependency prettier to v3
  • chore(deps): update dependency rollup to v4
  • fix(deps): update dependency inflection to v3
  • fix(deps): update dependency react-redux to v9
  • fix(deps): update dependency redux to v5
  • fix(deps): update dependency redux-starter-kit to v2
  • fix(deps): update dependency redux-thunk to v3
  • fix(deps): update react monorepo to v18 (major) (react, react-dom)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @codetanzania/emis-api-client >=0.16.3
  • axios >=0.19.0
  • inflection >=1.12.0
  • lodash >=4.17.15
  • prop-types >=15.7.2
  • react >=16.11.0
  • react-redux 7.2.4
  • redux 4.1.0
  • redux-starter-kit >=1.0.1
  • redux-thunk >=2.3.0
  • @babel/core 7.14.6
  • @babel/preset-env 7.14.5
  • @babel/preset-react 7.14.5
  • @commitlint/cli 8.3.5
  • @commitlint/config-conventional 8.3.4
  • @commitlint/travis-cli 8.3.5
  • @testing-library/react 11.2.7
  • babel-eslint 10.1.0
  • babel-jest 26.6.3
  • commitizen 4.2.4
  • cz-conventional-changelog 3.3.0
  • eslint 7.28.0
  • eslint-config-airbnb 18.2.1
  • eslint-config-prettier 7.2.0
  • eslint-plugin-import 2.22.1
  • eslint-plugin-jest 23.20.0
  • eslint-plugin-jsdoc 30.7.13
  • eslint-plugin-jsx-a11y 6.4.1
  • eslint-plugin-prettier 3.4.0
  • eslint-plugin-react 7.22.0
  • faker 5.5.3
  • generate-changelog 1.8.0
  • husky 4.3.8
  • jest 26.6.3
  • lint-staged 10.5.4
  • prettier 2.3.1
  • react-dom 17.0.2
  • redux-mock-store 1.5.4
  • rollup 2.51.2
  • rollup-plugin-babel 4.4.0
travis
.travis.yml
  • node 10

  • Check this box to trigger a request for Renovate to run again on this repository

There should be unit test for Connect function

This will test for both scenarios as follows

  • Scenario 1.
const mapStateToProps = state => ({ alerts : state.alerts.list }) 

export Connect(component,mapStateToProps);
  • Scenario 2
export Connect(component, { alerts : 'alerts.list'});

add missing actions

  1. add Items actions
  2. add Adjustments actions
  3. add Warehouse actions
  4. add Question actions
  5. add Indicator actions

should expose store provider

Idea:

import { StoreProvider } from 'emis-api-states';

ReactDOM.render(
  <StoreProvider>
    <App />
  </StoreProvider>,
  document.getElementById('root')
);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.