Skip to content

Initial Setup: NeuroMarket with Visual Search & Admin Dashboard#1

Open
google-labs-jules[bot] wants to merge 6 commits intojules-omniflow-init-9829391916123052810from
feature/neuromarket-setup-815314061840741036
Open

Initial Setup: NeuroMarket with Visual Search & Admin Dashboard#1
google-labs-jules[bot] wants to merge 6 commits intojules-omniflow-init-9829391916123052810from
feature/neuromarket-setup-815314061840741036

Conversation

@google-labs-jules
Copy link
Contributor

This PR sets up the initial structure for NeuroMarket, an AI-first E-commerce platform. It includes:

  1. Project Renaming: omniflow -> neuromarket.
  2. Database Schema: Updated tables for products, orders, reviews, and coupons, including vector embeddings for semantic search.
  3. Visual Search: A "Snap to Shop" feature using Gemini Vision and Supabase Vector Search.
  4. Admin Dashboard: A "God Mode" dashboard with a real-time war room map and profit prediction chart.
  5. Mobile Layout: A high-density, mobile-first design inspired by Shopee/Lazada.

PR created automatically by Jules for task 815314061840741036 started by @banksaisuoy

- Renamed project to NeuroMarket.
- Updated database schema for E-commerce entities.
- Implemented Visual Search with Gemini Vision integration.
- Created "War Room" admin dashboard with Profit Predictor and Real-time Map.
- Implemented Mobile-First layout with sticky nav and infinite scroll.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

- Renamed project to NeuroMarket.
- Updated database schema for E-commerce entities.
- Implemented Visual Search with Gemini Vision integration.
- Created "War Room" admin dashboard with Profit Predictor and Real-time Map.
- Implemented Mobile-First layout with sticky nav and infinite scroll.
- Configured Google Gemini API Key.
- Corrected dependency versions for Next.js 15.
- Downgraded to Next.js 15.1.0 to resolve compatibility issues.
- Fixed `app/search` routing by moving results to `app/search/page.tsx` and adding `force-dynamic`.
- Updated `app/page.tsx` search input to redirect to correct search URL.
- Fixed hydration errors in `app/page.tsx` and `RealTimeMap.tsx` due to `Math.random`.
- Fixed ESLint warnings.
- Added dummy Supabase keys to `.env.local` to prevent crash.
- Verified Admin Dashboard and Home page via screenshots.
@banksaisuoy banksaisuoy marked this pull request as ready for review December 26, 2025 09:39
@banksaisuoy
Copy link
Owner

test 1

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 5 to 9
create table products (
id uuid default gen_random_uuid() primary key,
name text not null,
title text not null,
description text,
description_html text, -- Generated by AI
price decimal(10, 2) not null,

Choose a reason for hiding this comment

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

P1 Badge Align product inserts with renamed schema

schema.sql now defines products with a title column and omits the old description_html/tags fields, but lib/actions/upload-product.ts still inserts name, description_html, and tags into products. After this schema is applied those inserts will raise “column does not exist” errors, so the product upload flow will always fail. Update the action (and any other writers) to match the new column names and shape.

Useful? React with 👍 / 👎.

- **DB Schema**: Added `search_logs`, `blacklists`, and updated `products`/`coupons` with cost/competitor fields. Added RLS and RPCs.
- **Voice Commander**: Added `VoiceCommander.tsx` and API for natural language DB mutation.
- **Spyglass**: Added API to scrape competitor prices using `cheerio` and Gemini.
- **Negotiator**: Added Chat UI and API for AI-driven price negotiation and coupon generation.
- **Trend Oracle**: Added API to analyze search gaps.
- **Fraud Predator**: Added Middleware for Shadow Banning IPs.
- **QA**: Fixed types and linting errors. Verified builds.
@banksaisuoy
Copy link
Owner

ไฟนอล

- Created `schema.sql` defining tables: `profiles`, `products`, `orders`, `order_items`, `reviews`, `system_logs`.
- Enabled `pgvector` and added `search_products` RPC function for semantic search.
- Configured Row Level Security (RLS) policies for secure data access.
- Added `ai_generated_tags` and `embedding` columns to `products` for AI features.
- Added `system_logs` for AI diagnostic tracking.
- **Cart**: Implemented Zustand store for persistent cart management.
- **Product Page**: Added dynamic product detail page with 'Add to Cart'.
- **Checkout**: Created checkout page with Slip Upload simulation and Order creation.
- **Admin**: Added Product Management (CRUD) and Realtime Order Management dashboard.
- **Navigation**: Updated mobile nav to link new flows.
- **Actions**: Added `createOrder` and `createProduct` server actions.
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