Skip to content

feat: Add client-side user preferences using localStorage (Fixes #59) - #214

Closed
shaikhgalib272 wants to merge 3 commits into
asheesh109:mainfrom
shaikhgalib272:fix-auth-error-ui
Closed

shaikhgalib272 wants to merge 3 commits into
asheesh109:mainfrom
shaikhgalib272:fix-auth-error-ui

Conversation

@shaikhgalib272

@shaikhgalib272 shaikhgalib272 commented Oct 19, 2026 •

Copy link
Copy Markdown

Description

Implemented client-side user preferences using localStorage and React Context as per issue #59. Farmers can now save their region and preferences locally without requiring traditional account login/signup.

Changes Made

  • Added useLocalStorage custom hook for persistent storage.
  • Added PreferencesContext to handle regional/crop preferences globally.
  • Wrapped root layout with PreferencesProvider.
  • Updated Footer component with UserPreferencesModal integration.

Closes #59

@vercel

vercel Bot commented Oct 19, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the ashishparab03-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@shaikhgalib272 shaikhgalib272 changed the title fix(ui): improve auth error message styling and prevent layout overflow (#121) feat: Add client-side user preferences using localStorage (Fixes #59) Oct 19, 2026
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.

Login / Sign Up Page Missing from Website

1 participant