Skip to content

feat: store schedule in Firebase backend with multi-day planning support#6

Merged
ElijahFeldman7 merged 3 commits intoElijahFeldman7:masterfrom
Uday1772002:feature/4-store-schedule
Jan 11, 2026
Merged

feat: store schedule in Firebase backend with multi-day planning support#6
ElijahFeldman7 merged 3 commits intoElijahFeldman7:masterfrom
Uday1772002:feature/4-store-schedule

Conversation

@Uday1772002
Copy link
Copy Markdown
Contributor

  • Replace localStorage with Firebase Realtime Database for schedule storage
  • Add date navigation (previous/next day buttons)
  • Add date picker to jump to any specific date
  • Pass user prop to DailyScheduler component
  • Auto-sync schedule data across devices

Closes #4
Screenshot 2026-01-10 at 11 15 40 PM

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 10, 2026

@Uday1772002 is attempting to deploy a commit to the eli's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
workflow Ready Ready Preview, Comment Jan 10, 2026 6:00pm

@ElijahFeldman7
Copy link
Copy Markdown
Owner

Hi, thanks for the PR. I was experimenting with tests, which I deleted. If you could rebase that would be great. Also, a few changes. Every onBlur event writes data to Firebase. Instead, could you debounce the write with a timeout or save it periodically. Also, the hours in the scheduler are currently hardcoded. Could you modify this, using the same cog icon in habit tracker to allow the user to change the time range.

- Replace localStorage with Firebase Realtime Database
- Add multi-day planning with date navigation and date picker
- Debounce Firebase writes (2 second delay after last change)
- Add configurable time range via settings cog icon (like HabitTracker)
- Store user's time preferences in Firebase
- Add 'Saving...' indicator during debounce
- Pass user prop to DailyScheduler component
- Add comprehensive tests

Closes ElijahFeldman7#4
@Uday1772002 Uday1772002 force-pushed the feature/4-store-schedule branch from df838e4 to e95ad88 Compare January 11, 2026 02:43
Use Object.prototype.hasOwnProperty.call() and String() conversion for safer property access
- Replace contentEditable divs with controlled textarea elements
- Fix re-render interruptions while users are typing
- Add cleanup on date changes to prevent debounce race condition
- Fix timezone bug in date picker parsing
- Update tests to match new textarea implementation
- All 18 tests passing
@ElijahFeldman7 ElijahFeldman7 merged commit cecba65 into ElijahFeldman7:master Jan 11, 2026
0 of 2 checks passed
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.

store schedule

2 participants