genius god #14 Add API Error Handling UI Layer - #2
Open
aishwarya100406-max wants to merge 7 commits into
Open
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
genius god
#14
Add API Error Handling UI Layer
errors debugged