Skip to content

Suggestions to Improve Navbar, User Flow, and Access Control in Attendance Tracker #2

@pranjaljain45

Description

@pranjaljain45

1. Navbar Improvements

  • Navbar should appear on top of the background image, not as a separate yellow section. This will make the design cleaner and more modern.

2. Role-Based Access Control

- Students should not be able to mark attendance.
- They should only be able to view their attendance.
- Only authorized users (e.g., teachers/admin) should have permission to mark attendance.

3. User Flow and Messages

  • After creating an account, the user is shown a plain PHP message like “Success: true, Account creation successful” on a white screen.
    Instead, the user should be: Redirected to the attendance page.
    Shown a success message in a proper alert box or styled section.

  • After marking attendance, the system also shows a plain PHP message.
    This should be improved with a toast notification or styled alert, and the user should be redirected to the appropriate page.

  • When login fails (e.g., wrong email or password), the system shows a plain PHP message.
    This should be replaced with a proper error message on the same login page, such as:
    “Login failed: Please check your email and password.”

I'll happy to work on these issues:) please assign to me.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions