Skip to content

feat: implement recipe management features including create and edit functionality - #17

Merged
phishy merged 2 commits into
mainfrom
feat/food-editor
Nov 30, 2025
Merged

phishy merged 2 commits into
mainfrom
feat/food-editor

Conversation

@phishy

@phishy phishy commented Nov 29, 2025

Copy link
Copy Markdown
Owner
  • Added screens for creating and editing recipes.
  • Implemented validation for recipe forms.
  • Integrated saved food management with the ability to list, create, and update saved foods.
  • Enhanced the food search functionality to include saved foods.
  • Updated theme constants for recipe tools.
  • Added actionlint script for workflow linting.

Note

Add saved foods (recipes) with create/edit/list UI, integrate them into food search, and add Supabase schema plus actionlint pre-commit.

  • Recipes UI:
    • Add screens app/(tabs)/tools/recipes/index.tsx, create.tsx, edit.tsx with validation and nutrition field handling.
    • Wire navigation in app/(tabs)/tools/_layout.tsx and add tool card in app/(tabs)/tools/index.tsx.
  • Food Search:
    • Integrate saved foods into results in app/food-search.tsx (local search, combined list, loading indicator, "Yours" badge).
  • Services/Types:
    • Implement services/foods.ts for listing/creating/updating/getting foods and mapping to FoodItem.
    • Extend types/index.ts with SavedFood models and inputs.
  • Database (Supabase):
    • Create public.foods table and RLS policies; add nutrition columns via migrations 20251129120000_*.
  • Theming & Icons:
    • Add toolCardRecipes accent to palettes in constants/theme.ts.
    • Map icon book.closed.fill in components/ui/icon-symbol.tsx.
  • Tooling:
    • Add actionlint script and hook (scripts/actionlint.mjs, .husky/pre-commit) and devDependency; update package metadata.

Written by Cursor Bugbot for commit 8009e29. This will update automatically on new commits. Configure here.

…functionality

- Added screens for creating and editing recipes.
- Implemented validation for recipe forms.
- Integrated saved food management with the ability to list, create, and update saved foods.
- Enhanced the food search functionality to include saved foods.
- Updated theme constants for recipe tools.
- Added actionlint script for workflow linting.
@vercel

vercel Bot commented Nov 29, 2025

Copy link
Copy Markdown

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

Project Deployment Preview Comments Updated (UTC)
magicmeal Ready Ready Preview Comment Nov 29, 2025 8:45pm

@supabase

supabase Bot commented Nov 29, 2025

Copy link
Copy Markdown

Updates to Preview Branch (feat/food-editor) ↗︎

Deployments Status Updated
Database Sat, 29 Nov 2025 20:43:13 UTC
Services Sat, 29 Nov 2025 20:43:13 UTC
APIs Sat, 29 Nov 2025 20:43:13 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations Sat, 29 Nov 2025 20:43:14 UTC
Migrations Sat, 29 Nov 2025 20:43:15 UTC
Seeding Sat, 29 Nov 2025 20:43:15 UTC
Edge Functions Sat, 29 Nov 2025 20:43:15 UTC

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on December 3

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread app/food-search.tsx
Comment thread app/(tabs)/tools/recipes/index.tsx Outdated
fixes remaining bugs
@phishy
phishy merged commit 29afa0f into main Nov 30, 2025
5 checks passed
@phishy
phishy deleted the feat/food-editor branch November 30, 2025 16:41
@phishy

phishy commented Nov 30, 2025

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 0.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant