Description
Please do work for this task in a branch called issue-93.
Not all events are equal. We need a way for a user to specify the events that they are interested in.
Upon logging in, the user will find a new link in their nav bar called "Alert Manager". This takes them to a page that enables them to configure "Alerts". An alert is a user-configurable representation for a set of Events that are of interest to a user. Each alert has a name, and its configuration can be based on at least the following:
- location
- threshold values for frequency, voltage, THD
- frequency of occurrence of events within a duration
- length of occurrence of events
- some combination of the above
Alerts should be able to represent ITIC values. It would be nice provide shrink-wrapped Alert configurations for all ITIC values that users can enable out of the box.
Once the specification of the Alert has been made, the user can select a time interval (start day and end day), and press "Submit".
The system will then invoke a Meteor Method to find all Events that satisfy this set of constraints and show them to the user in a table.
The display of events could be based on the Event Inspector (#75)