VictorKwong / DataSense-PRJ666-team-5

https://prj666deploy-9xd1.vercel.app
MIT License
0 stars 0 forks source link

Use Case 23: Set Up User Interface for Alert Configuration #23

Closed ktageja closed 1 week ago

ktageja commented 3 weeks ago

Set Up User Interface for Alert Configuration

User Story

As a user, I want to configure personalized alerts based on sensor thresholds so that I am notified when conditions exceed set limits.

Description

This use case involves creating a UI where users can set threshold values for temperature, humidity, and moisture. Users can enable or disable alerts and specify conditions under which notifications should be sent.

Acceptance Criteria

Testing

Normal Flow of Events

The user navigates to the “Alert Settings” page on the dashboard. The user sets thresholds for temperature, humidity, and moisture. The user enables alerts for each sensor parameter and saves the settings. The system confirms that alert settings have been saved.

S-1: User enters invalid threshold values

The system validates user inputs to prevent invalid values (e.g., negative temperature thresholds). An error message is displayed if values are outside acceptable ranges.

zhifenli commented 1 week ago

The UI for configuring alerts is available on the dashboard. Users can set thresholds for temperature, humidity, and moisture. UI changes are responsive and functional across different devices (desktop, mobile).