Bosu taking over for Manvitha - Phase 4 Student Daily Log Frontend - #4225
Bosu taking over for Manvitha - Phase 4 Student Daily Log Frontend#4225myeeli wants to merge 20 commits into
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Anusha-Gali
left a comment
There was a problem hiding this comment.
Hi Manvitha,
I have tried to review your PR locally but i am unable to sign in nor open that link in an already signed in page. You can see this in the below video as well.
4225.mp4
|
Please verify the jwtdecode version added in the note |
- Merge development into Manvitha-Phase4-Daily-Log branch - Resolve package.json conflicts: keep jwt-decode v4, accept jspdf v4 and jspdf-autotable - Resolve CPLogin.jsx and EPLogin.jsx: accept development's improved null checks - Resolve UserSkillsProfile.jsx: remove duplicate imports - Resolve routes.jsx: merge daily log routes with development's education portal routes
…nd fix null-check bug in KitchenandInventoryLogin
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
DISMISSED: All issues raised have been resolved in the latest commits.
Fixes applied:
- Resolved all merge conflicts with development branch (package.json, routes.jsx, login components)
- Fixed jwt-decode v4 compatibility: updated all imports from default to named exports (import { jwtDecode }) and updated all test mocks accordingly
- Fixed null-check bugs in EPLogin, CPLogin, and KitchenandInventoryLogin components
- All ESLint errors resolved (0 errors)
- All unit tests passing (313/313 test files, 0 failures)
- Build verified passing
The login/white-screen issues were caused by jwt-decode v4 breaking changes and merge conflicts, which are now fully resolved.
Issues ResolvedAuthor: SharadhaKasiviswanathan (taking over for Manvitha) What was fixed:1. Merge Conflicts Resolved (6 files)
2. ESLint Fixed (3 errors → 0)
3. Unit Tests Fixed (9 failures → 0)
4. Build: Verified passing Local Verification Results:
Note:The login/white-screen issues reported by reviewers were caused by jwt-decode v4 breaking changes (named vs default export) combined with merge conflicts. All root causes have been identified and resolved. |
HemanthNidamanuru
left a comment
There was a problem hiding this comment.
Hi Sharadha,
I tested this PR locally. The Daily Log page is working overall, but I was unclear about part of the workflow.
After submitting a log and adding notes to the teacher, the Save and Cancel buttons do not appear to work. When returning to the Daily Log page, the submitted entry is also not displayed. Could you please confirm whether this is the intended behavior?
As a usability suggestion, dropdowns may be better than text fields for selecting the duration.
PR.4225.mov
- Add DailyLogContext to share state between DailyLogPage and TimeLogDetail - Notes to teacher now persist when navigating back to daily log - New log entries persist after submission (no longer lost on navigation) - Save button shows success feedback after saving - Duration field changed from text input to hour/minute dropdowns - Fix jwt-decode v4 mock in authInit test (named export)
|
I have addressed all the issues: Fixes applied:
Also fixed: jwt-decode v4 mock in (was using auto-mock which doesn't handle named exports). All tests passing (2104/2104), 0 lint errors |
kzou55
left a comment
There was a problem hiding this comment.
Hi Sharadha,
I ran and tested the PR locally.
Verified
- Users Can add new time long consisting of course, duration(hrs and minutes) and notes
- Users can click view on a time long and add a note
- Cancel button reverts the note back to its last saved state
- Save button saves the current note and shows the message "Note saved successfully."
- Functionality works in Dark Mode
Recording.2026-07-17.140416.mp4
Issues
- Not sure if this is within scope of the PR, but Dark Mode needs improvement. Only the main background component has Dark Mode applied to it.
akv-iu
left a comment
There was a problem hiding this comment.
Tested this PR locally.
Verified:
-Adding a new time log with course, duration (hours and minutes), and notes works
-Clicking "View" on a time log and adding a note works
-Cancel reverts the note to its last saved state
-Save persists the note and shows "Note saved successfully."
-Functionality works correctly in dark mode
Issue:
-Dark mode styling is broken on this page. Screenshot attached. Functionality is unaffected, this is a visual bug only.
|
















Description
Related PRS (if any):
This frontend PR is related to the development backend PR.
…
Main changes explained:
…
How to test:
npm installand...to run this PR locallyScreenshots or videos of changes:
1.mp4
Note:
The data which is used here is mock data. API yet to be integrated
Jwt-Decode version should be 4.0.0 to do that do npm install jwt-decode@4