uprm-inso4116-2024-2025-s1 / semester-project-SafeRUM

semester-project-safeRUM created by GitHub Classroom
7 stars 0 forks source link

Implementation for admin calendar #230

Open yadrielsamir opened 5 days ago

yadrielsamir commented 5 days ago

Objective:

The objective of this task is to implement a comprehensive admin calendar feature for the SafeRUM application. This feature will enable administrators to efficiently schedule reports, manage pending reports, and track important deadlines. By incorporating a calendar, the application will provide a more organized system for managing campus incident reports, making it easier for administrators to oversee and handle these events in a timely and structured manner.

Task Description:

The admin calendar feature will consist of an interactive and user-friendly interface that allows admins to perform several key functions. Admins will be able to schedule new reports by selecting dates and times directly within the calendar, making the process of organizing emergency reports more intuitive. The calendar will also display pending reports, offering a clear visual overview of what needs attention. In addition, admins will have the ability to set reminders for upcoming deadlines related to reports, ensuring no important events are missed. The calendar will include filtering options, enabling admins to differentiate between various report types, such as emergencies or maintenance requests. The implementation of this feature will involve creating the frontend interface, establishing backend data connections, and integrating with existing SafeRUM functionalities.

Implementation:

The implementation will begin by designing a clean and responsive calendar UI using React Native. A date picker library, such as react-native-calendars, will be employed to ensure that the calendar is visually appealing and easy to navigate. The Python Flask API will be extended to support the necessary endpoints for creating, retrieving, updating, and deleting calendar entries. Once the backend is ready, the frontend will be connected to these API endpoints to enable real-time scheduling and management of reports. Lastly, error handling mechanisms will be put in place to validate data entry, preventing admins from scheduling reports in the past or creating conflicting schedules.

Testing and Debugging:

To ensure the calendar feature works correctly, a thorough testing process will be employed. Unit tests will be created for individual components, such as the date picker and form validation, to confirm that they perform their intended functions without issues. Once the backend and frontend are integrated, integration testing will be conducted to verify that data is correctly transferred between the server and client

Deadline:

Milestone 2

evnd04 commented 4 days ago

I think this task could be split into multiple smaller tasks that focus on smaller achievements to implement the Admin calendar.