arduino / Arduino-Science-Journal-iOS

Use the sensors in your mobile devices to perform science experiments. Science doesn’t just happen in the classroom or lab—tools like Science Journal let you see how the world works with just your phone.
http://arduino.cc/education
Apache License 2.0
22 stars 9 forks source link

Users have the ability to create alert triggers without alerting-method #54

Open manuelzomer opened 3 years ago

manuelzomer commented 3 years ago

Describe the bug When creating a trigger of the type alert, it is possible to not choose an "Alert me using..." method, this results in a trigger which is active but doesn't do anything.

To Reproduce Steps to reproduce the behavior:

  1. Select a sensor
  2. Create a new trigger
  3. Choose "Alert Trigger" as trigger type
  4. Save without choosing anything in "Alert me using..."

Expected behavior The user should not be able to save if no alert method is selected, the method "Visual Trigger" should be pre-selected. This is also the behaviour on Android.

Screenshots 7c610cba-e5da-4ee4-8c65-348992e31094 9356da85-0613-4bd2-b153-d7c14050f522