Skip to content

Enhance PlantCard and Dashboard with Select UI and AI improvements - #3

Open
Anoop-K-A wants to merge 9 commits into
mulearn-nss:mainfrom
NidhinGireesh:main
Open

Enhance PlantCard and Dashboard with Select UI and AI improvements#3
Anoop-K-A wants to merge 9 commits into
mulearn-nss:mainfrom
NidhinGireesh:main

Conversation

@Anoop-K-A

Copy link
Copy Markdown

No description provided.

Anoop-K-A and others added 8 commits April 17, 2026 01:54
Add @radix-ui/react-select to dependencies and introduce a reusable Select component (client/src/components/ui/select.jsx) for consistent select UIs. Update PlantCard to use useNavigate and make the entire card clickable, show location badge and days-since-last-watered, and refine actions/styles for a cleaner quick-hydrate flow. In CollectionPage, initialize plants from localStorage for offline persistence, add a WEATHER_API_KEY constant, and add search-related state (query, results, loading, selectedLocation, dropdown) to prepare for location/search UX. (Lockfile updated by package manager.)
Install @google/generative-ai (added package files under server/node_modules and updated server package.json) and update server code/config. Update server/.env GEMINI API key. Update client DashboardPage.jsx to add a confirm-delete state/UX (two-tap confirmation with visual pulse) and refactor the delete logic to avoid immediate window.confirm. Also include minor changes to server/src/controllers/ai.controller.js and add several files to server/uploads.
Add Radix Select component and enhance PlantCard with search state
Prevent duplicate Analyze runs and ensure loading state is always cleared in DashboardPage. Reset diagnosis result before requests, replace the previous delayed fallback handler with an immediate local fallback object, add a live AI sync status banner and a 'Done - Start New Session' button to clear state. Update server environment GEMINI_API_KEY and add models_list.txt, nodemon.json and server_log. Add several node module shims/packages (path, process, util and related files) and update server package metadata and dependencies; also modify server AI controller to align with the new fallback behavior.
Improve Dashboard AI fallback and add node shims
@Anoop-K-A

Copy link
Copy Markdown
Author

@copilot

Updated project details, installation steps, and integrated AI usage information.
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.

2 participants