Skip to content

Feature/firebase backend#5

Merged
sunnwydays merged 17 commits intomainfrom
feature/firebase-backend
Oct 12, 2025
Merged

Feature/firebase backend#5
sunnwydays merged 17 commits intomainfrom
feature/firebase-backend

Conversation

@sunnwydays
Copy link
Copy Markdown
Owner

Main change

I use Firestore from Firebase to save and load data by signing in to a Google account. Local storage (browser cache) still works, but cloud data is prioritized.

All tests pass, and my courses seem to be working nicely!

Other change made to support main change

I also eliminated unnecessary prop drilling in Maker, replacing it with context from Layout which also allows other components (specifically Signin in Navbar) to have access to data.

…r other state variables

---
Use context to pass savedLayout state variable and setter between Maker and SignIn components
Ensure the savedLayouts array does not have undefined values when writing to firestore document
…yout, SaveLayout, and CourseGrid

- Might also be able to eliminate other types, used by function returns
…t keys do not remain in order after deserialization from Firestore
@vercel
Copy link
Copy Markdown

vercel bot commented Oct 12, 2025

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

Project Deployment Preview Comments Updated (UTC)
ecepathmaker Ready Ready Preview Comment Oct 12, 2025 5:10pm

@sunnwydays
Copy link
Copy Markdown
Owner Author

lgtm, If all tests pass and you have also made code improvements, then great!

@sunnwydays sunnwydays merged commit f6e0b13 into main Oct 12, 2025
4 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.

1 participant