Giter Site home page Giter Site logo

capcreator's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

capcreator's Issues

Validate manually-created polygons

The interactive map tool should only accept a polygon that is properly formed (no intersecting sides), with correct winding order, minimum of 4 points and the first vertex = last vertex.

Enable easy configuration of client analytics

Integrate with a system like Google Analytics and record stats like

  • Number of alerts published
  • Number of views of the XML and HTML alert feeds and pages

Make it easy to configure by adding id to settings_prod.py in CAP Collector.

"Describe the alert area" field re-populates deleted text after adding additional area templates

Area template selection: Deleting the content from the “Describe the alert area” and selecting another template re-populates all the old content in the field again

Steps to reproduce:

  1. Go through the alert creation workflow until you reach the alerting area section
  2. Select at least two area templates and see the text appear in the "Describe the alert area" field
  3. Delete one or more of the values in the "Describe the alert area" field
  4. Select any new area template from the drop down
  5. You can see the “Describe the alert area” is filled in with all your old selected values again

Caution against usage of "Unknown" urgency, severity, certainty

Although the CAP standard allows use of the value "Unknown" in the elements "urgency", "severity" and "certainty", the tool should warn against using these values. Coding "Unknown" can cause the alert to be ignored by CAP implementations that treat unknown as equivalent to insignificant.

Add option to apply custom ordering to message template drop downs

Use case: After creating message templates, the drop down that shows the list of templates on the alert creation page sorts the list alphabetically by template name.

It would be more user friendly if the ordering could be customized to correspond to the order in which alerts would be issued or any other ordering that is useful for alert issuer.

As a workaround, I currently pre-pend numbers to the template names to arrange custom ordering.

Ability to have a single alert update multiple active alerts

To do this, we'd need something like a checkbox next to each of the "Currently active" alerts, a way to select multiple checkboxes, then click an "Update all" button. The key thing is that is populated with references to each of the checked alerts.

"restrictions" is required when the element "scope" has the value of "Restricted" or "Private"

The tool should enforce that the element "restrictions" is required when the element "scope" has the value of "Restricted" or "Private". The CAP standard states:
“Private” - For dissemination only to specified addresses (see , below)
The notes for the "addresses" element state:
Each recipient SHALL be identified by an identifier or an address;
Multiple space-delimited addresses MAY be included. Addresses including whitespace MUST be enclosed in double-quotes.

Enable creating alerts with multiple <info>s

The tool currently only allows creation of alerts with a single . CAP supports multiple, for instance, to specify the same alert content in different languages.

Current workaround is to issue separate alerts.

Focus map on area selected from template

Use case:

  1. Define area templates with polygons or circles
  2. Go through the alert creation workflow and select an area from the area template drop down. Depending on the size each circle or polygon and the overall responsibility area for the agency, it is difficult to locate the selected alerting area on map.

It may be helpful to to focus the map on the area selected in the case of polygons or circles.

Enable easy posting of an alert to social media

Integrate with various social media APIs and enable, via checkboxes during the "Release alert" step, every CAP alert to be accompanied by a post to those social media sites. Posts can link to the html version of the alert.

Avoid page reload when manually adding templates

When adding message and area templates, use jQuery style pop-up instead of opening a new window.
When pop-up closes, refresh the templates list, defaulting to the previously selected value.

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.