Code Monkey home page Code Monkey logo

ewea-web's Introduction

ewea-web

Build Status Commitizen friendly Renovate enabled

EWEA Logo

About EWEA

EWEA web is an Early Warning, Early Action tool that facilitates the dissemination of warnings, communication and actions associated with the warnings.

Information that is shared with the tool can be analyzed in order generate insights for local authorities and communities to better manage disasters and increase resilience to disaster risk. The data is organized in core components as shown below.

EWEA Homepage

EWEA Components

Issued Alerts

Issued Alerts consists of alerts have been sent to stakeholders. These alerts are normally sent with actions to be taken.

View repository.

Actions Taken

Actions Taken is a set of visualizations that show activity for actions that have been dispatched with issued alerts

View repository.

Emergency Functions

Emergency Functions is a collection of all major activities that are expected to take place during emergency management.

View repository.

Action Catalog

Action Catalog is a collection of all tasks that can take place when an alert is issued.

View repository.

Stakeholders

EWEA Stakeholders contains an up to date database of all stakeholders responsible for emergency/disaster management within a specific area. They are categorized into three groups

  • Focal People - Individual personnel who has a responsibility in disaster management.
  • Agencies - Organizations that carry out disaster management activities.
  • Roles - These are configured functions that a focal person or agency is part of.

View repository.

Alert Types

Alert Types are configured names of all expected events

View repository.

Geographical Features

Geographical Features provides an up to date geographical database of all features of interest that can be used to study and control the expected and the actual extent of impact that may be caused in case of an emergency/disaster. It includes administrative boundaries of regions, districts, wards, sub-wards (streets), evacuation centers, facilities, warehouses and critical infrastructures.

View repository.

Dashboards

EWEA dashboards consists of maps used for visualization and analysis of warnings and areas of interest.

View repository.

Contribute

If you are interested in fixing issues and contributing directly to the code base, please read our contributing guide.

Please also read code of conduct to know what we expect of all project participants.

When you are done, go ahead and install the project.

Installation

Clone the project

 git clone https://github.com/CodeTanzania/ewea-web.git

Install all required dependencies

 npm install

In case of chokidar error run

 npm install -f

Run it in development mode

 npm start

and view it on http://localhost:3000

Documentation

References

License

MIT License

Copyright (c) 2019 - present Code Tanzania & Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ewea-web's People

Contributors

benmaruchu avatar lykmapipo avatar mkumbobeaty avatar mloweedgar avatar navish avatar renovate-bot avatar rijkerd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mloweedgar

ewea-web's Issues

[Migration] Migrate to antd v4

Things needs fixing

  • Update logic for rendering actions in top bar
  • Ensure Icons are visible in buttons
  • Remove compatible css after full migration is complete
  • Change password form
  • Migrate all filter forms

Forms which needs migration

fix edit alert form

@lykmapipo currently edit alert doesnot work, partly I think you need to modify the way you are returning area. I will be expecting an array of areas for each alert.

Fix pagination on event types settings page

Describe the bug
An error is thrown when you click on the pagination buttons on event types page.

Expected behavior
Clicking on the pagination button should open the next page on the list.

Screenshots
bug-eventtypes

Desktop (please complete the following information):

  • Ubuntu 18
  • Chrome
  • v78.0.3904.108

Fix layout form

Describe the bug
Form dropdown elements not displaying any values

Expected behaviour
The dropdown should be displaying the value when clicked.

Screenshots
Screenshot 2019-12-03 at 14 55 27

Desktop:

  • OS: MacOS Mojave 10.14.5
  • Browser: chrome 78
  • Version [e.g. 22]

Should provide an overview dashboard

Info Cards:

  • no. of agencies
  • no. of focal people
  • no. of focal per roles
  • no. of focal per roles per area
  • no. of issued alerts
  • no. of issued alerts per area
  • no. of action taken
  • no. of action disseminated(delivered)
  • no. of action acted upon
  • no. of action taken per agency
  • no. of action disseminated(delivered) per agency
  • no. of action acted upon per agency
  • no. of action taken per area
  • no. of action disseminated per area
  • no. of action acted upon per area

References:

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.

Should improve the order of menu

Screenshot from 2019-09-27 15-26-53

1st Row:
Issued Alerts, Action Taken, Action Catalog

2nd Row:
Focal People, Agencies, Roles

3rd Row:
AlertTypes, Geographical Features, Dashboards

Misc improvements and new features

  • Redesign vehicle dispatch form
  • Allow uploading image for focal people and agencies
  • Ensure date filters works for reports
  • Add missing fields in vehicle dispatch list
  • Finish up permissions and access control
  • Finalize emergency parade
  • Improve event view details on mobile view
  • Add details view for dispatch
  • Finalize vehicle dispatch report
  • Finalize stakeholder report especially on map visualization
  • Parade report ๐Ÿ’ช

Update readme

  • Update project description
  • Update project requirements
  • Update about with new UI image

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): update dependency babel-plugin-import to v1.13.8
  • chore(deps): update dependency echarts-for-react to v3.0.2
  • chore(deps): update dependency inflection to v1.13.4
  • chore(deps): update dependency react-ga to v3.3.1
  • chore(deps): update dependency react-map-gl to v6.1.21
  • chore(deps): update dependency @ant-design/compatible to v1.1.2
  • chore(deps): update dependency @ant-design/icons to v4.8.3
  • chore(deps): update dependency antd to v4.24.16
  • chore(deps): update dependency chokidar to v3.6.0
  • chore(deps): update dependency commitizen to v4.3.0
  • chore(deps): update dependency echarts to v5.5.1
  • chore(deps): update dependency eslint-config-prettier to v8.10.0
  • chore(deps): update dependency eslint-plugin-jsx-a11y to v6.9.0
  • chore(deps): update dependency eslint-plugin-react to v7.35.0
  • chore(deps): update dependency history to v5.3.0
  • chore(deps): update dependency moment to v2.30.1
  • chore(deps): update dependency prop-types to v15.8.1
  • chore(deps): update dependency react-router-dom to v5.3.4
  • chore(deps): update dependency react-to-print to v2.15.1
  • chore(deps): update dependency @ant-design/compatible to v5
  • chore(deps): update dependency @ant-design/icons to v5
  • chore(deps): update dependency @craco/craco to v7
  • chore(deps): update dependency antd to v5
  • chore(deps): update dependency craco-less to v3
  • 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 v50
  • chore(deps): update dependency eslint-plugin-prettier to v5
  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency inflection to v3
  • chore(deps): update dependency lint-staged to v15
  • chore(deps): update dependency prettier to v3
  • chore(deps): update dependency react-device-detect to v2
  • chore(deps): update dependency react-map-gl to v7
  • chore(deps): update dependency react-router-dom to v6
  • chore(deps): update dependency react-scripts to v5
  • chore(deps): update dependency react-simple-maps to v3
  • chore(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
  • @ant-design/compatible ^1.0.8
  • @ant-design/icons ^4.6.2
  • @codetanzania/ewea-api-client ^0.24.1
  • @codetanzania/ewea-api-states ^0.31.0
  • @lykmapipo/common ^0.43.1
  • antd ^4.15.5
  • axios ^0.21.1
  • echarts ^5.1.1
  • echarts-for-react ^3.0.1
  • history ^5.0.0
  • inflection ^1.13.1
  • lodash ^4.17.21
  • moment ^2.29.1
  • prop-types ^15.7.2
  • randomcolor ^0.6.2
  • react ^17.0.2
  • react-color ^2.19.3
  • react-device-detect ^1.17.0
  • react-dom ^17.0.2
  • react-ga ^3.3.0
  • react-map-gl ^6.1.15
  • react-router-dom ^5.2.0
  • react-simple-maps ^2.3.0
  • react-to-print ^2.12.4
  • @commitlint/cli 12.1.4
  • @commitlint/config-conventional 12.1.4
  • @commitlint/travis-cli 12.1.4
  • @craco/craco 6.1.2
  • babel-plugin-import 1.13.3
  • chokidar ^3.5.1
  • commitizen 4.2.4
  • craco-less 1.17.1
  • cz-conventional-changelog 3.3.0
  • eslint-config-airbnb 18.2.1
  • eslint-config-prettier 8.3.0
  • eslint-plugin-import 2.23.4
  • eslint-plugin-jest 24.3.6
  • eslint-plugin-jsdoc 34.8.2
  • eslint-plugin-jsx-a11y 6.4.1
  • eslint-plugin-prettier 3.4.0
  • eslint-plugin-react 7.24.0
  • generate-changelog 1.8.0
  • husky 6.0.0
  • lint-staged 11.0.0
  • prettier 2.3.1
  • react-scripts 4.0.3
  • node >=8.11.1
  • npm >=5.6.0
travis
.travis.yml
  • node 10

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

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.