Skip to content

genius god #14 Add API Error Handling UI Layer - #2

Open
aishwarya100406-max wants to merge 7 commits into
ArshanKaudinya:mainfrom
aishwarya100406-max:issue32
Open

genius god #14 Add API Error Handling UI Layer#2
aishwarya100406-max wants to merge 7 commits into
ArshanKaudinya:mainfrom
aishwarya100406-max:issue32

Conversation

@aishwarya100406-max

Copy link
Copy Markdown

genius god
#14
Add API Error Handling UI Layer
errors debugged

… and normalized isHabitDue. 🔧

Layout.jsx — markHabitComplete moved/implemented here; it enforces prerequisites and updates habit state. 🔒
AddHabit.jsx — Added UI to choose prerequisite habits and pre-save cycle detection. 📝
HabitList.jsx — Shows locked state (disabled checkbox + lock icon) and uses markHabitComplete. 🔒💬
Calendar.jsx — Excludes locked habits from completion fraction and shows • N locked in the tooltip. 📅
…e habits and view them side by side with metrics such as completion rate, current streak, and consistency. The comparison updates in real time based on existing habit data and integrates seamlessly into the main application without any breaking changes.
…ing to include login and registration pages and protecting habit-related routes using a ProtectedRoute. The application now redirects unauthorized users to the login page, ensures authenticated access to habit pages, and cleanly manages authentication state through a centralized AuthProvider.
…Created Auth infrastructure on the client. System is in an intermediate state where Backend is ready but frontend integration is partially complete (Auth files done, App/Dashboard integration pending).
…e current week by counting completed and missed days. The summary is calculated from existing habit data and displayed in a simple, clean layout that fits with the rest of the app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant