Commit Graph

119 Commits

Author SHA1 Message Date
root
7ecdc917d6 fix: ui bugs 2026-05-02 14:18:45 +05:00
root
cfe267d540 feat(vendor): AI analytics page, business metrics API, enhanced dashboard
Add vendor AI Analytics with charts backed by storefront/chat/Gmail data,
optional model-quality snapshot UI, and business-metrics estimates from cached
orders. Enhance Overview with KPI sparklines, profit/fees charts, product
margins table, and ESLint-safe Recharts tooltips.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-02 14:00:57 +05:00
root
43149059d4 fixed: AI modules 2026-04-14 22:05:28 +05:00
root
9ccf3cf08c fix: migrations 2026-04-14 20:50:22 +05:00
talatops
4ecd967d09 Small change to deploy this niggerss 2026-04-14 16:47:24 +05:00
talatops
7b32ad5c7c Small change to deploy this nigger 2026-04-14 16:41:39 +05:00
talatops
e1c4cf777d
Merge pull request #6 from talatops/talat/ai-fixes
Improve storefront escalation, ticket workflows, and status UX.
2026-04-14 15:09:50 +05:00
talatops
1c059bb1e7 Improve storefront escalation, ticket workflows, and status UX.
Standardize OpenAI-driven routing/replies, add robust customer email draft/send flows in ticket detail, and fix supplier/vendor on-hold status visibility and persistence handling.

Made-with: Cursor
2026-04-14 15:08:08 +05:00
talatops
9dee467cc0 Small change to deploy this nigger 2026-04-14 12:25:58 +05:00
talatops
f082124a54
Merge pull request #5 from talatops/talat/updates
Storefront OTP session settings, inbox empty-session filter, low stoc…
2026-04-12 20:22:41 +05:00
talatops
ffbeaf493f Storefront OTP session settings, inbox empty-session filter, low stock, inventory load-stock, migrations
Made-with: Cursor
2026-04-12 20:22:12 +05:00
talatops
7c817dd68b
Merge pull request #4 from talatops/talat/onhold
feat(supplier): on-hold reasons, Shopify fulfillment holds, tag + met…
2026-04-12 17:21:22 +05:00
Saad Mohsin
d80b39ff9c bruh 2026-04-12 17:20:07 +05:00
talatops
6d45f6ec66 feat(supplier): on-hold reasons, Shopify fulfillment holds, tag + metafield
- Add CachedOrder holdReasonCode/holdNote and ON_HOLD fulfillment status
- Supplier UI: modal for hold reasons; vendor dashboard shows hold details
- Sync to Shopify: native fulfillmentOrderHold (GraphQL) plus JUNO_ON_HOLD tag
  and juno.supplier_hold metafield; release holds when clearing
- Preserve pending supplier fulfillment on webhook cache updates
- Docker volume for gmail-reply-logos; settings note for API scopes

Made-with: Cursor
2026-04-12 17:14:23 +05:00
Saad Mohsin
bfc9ea2eb0 prompt changes 2026-04-12 16:44:47 +05:00
talatops
f3cedae713 feat & fixes: Gmail appearence feature & UI fixes 2026-04-12 13:57:59 +05:00
talatops
61b4db37c0 fix: UI fixes for Modules, Customer, Storefront 2026-04-12 12:11:13 +05:00
Saad Mohsin
2235ab6770 small ui changes 2026-04-12 04:21:56 +05:00
Saad Mohsin
80b53535c1 yes 2026-04-12 04:15:11 +05:00
talatops
4e83c12ddd feat: AI part 2026-04-12 00:40:25 +05:00
talatops
7958b32159 fix: fixes to extract the metafields for products 2026-04-11 23:09:18 +05:00
talatops
a86c805cda fix: so many fixed and others 2026-04-11 21:13:20 +05:00
talatops
bbeb43adb1 fix: Separate JUNO CHAT, Stock fixed on both ends 2026-04-11 19:45:38 +05:00
talatops
e49a0047aa KBs and Embeddings for both structured & import 2026-04-11 17:22:59 +05:00
talatops
4dd56f3aae feat: Supplier support 2026-04-03 18:25:31 +05:00
talatops
fae9e9ce7d feat: Customizable storefront chat 2026-04-03 18:19:20 +05:00
talatops
7b2cb3485e feat(storefront-chat): add vendor customization modal and manual inject flow
Introduce per-store chat branding (name, tagline, color, font, logo), open customization on enable, and separate Save vs INJECT actions so theme sync is explicitly vendor-triggered while preserving safe disable behavior.

Made-with: Cursor
2026-04-03 16:49:35 +05:00
talatops
9f5cd954e0 fix: previous commit redeployed 2026-04-03 12:54:30 +05:00
talatops
aa871ff942 fix(storefront-chat): ground AI replies in catalog and stop KB noise
- Filter stopwords from retrieval term matching so generic words do not
  score unrelated KB chunks.
- For product-availability questions with no product or KB hits, return
  a deterministic cannot-confirm reply (skip LLM).
- Tighten system prompt: no invented inventory, menus, or URLs; lower
  temperature.

Made-with: Cursor
2026-04-02 22:32:48 +05:00
talatops
53c2ed7a4e fix(storefront-chat): normalize shop domain matching
Handle shop domain variants (protocol/trailing slash/case) when resolving storefront chat stores so enabled widgets do not return false 403 Widget disabled responses.

Made-with: Cursor
2026-04-02 22:17:49 +05:00
talatops
8e25dd88e8 fix(storefront-chat): allow widget iframe embedding via CSP frame-ancestors
Shopify storefronts embed the chat widget cross-origin; Firefox blocks
unless the response allows framing. Set Content-Security-Policy with
frame-ancestors * for /storefront-chat/widget routes.

Made-with: Cursor
2026-04-02 21:57:26 +05:00
talatops
0b384fcc59 feat(storefront-chat): add synchronous GROQ AI replies
Add blended KB/FAQ + product context retrieval for storefront chat, generate synchronous AI responses, persist AI messages, and update widget/debug inbox to display threaded CUSTOMER/AI conversations.

Made-with: Cursor
2026-04-02 17:19:12 +05:00
talatops
ce5049a64f refactor(storefront-chat): switch to theme asset injection flow
Replace ScriptTag/App Proxy storefront injection with Theme API asset injection, add theme helper utilities, and polish the iframe chat panel UI/contrast. Also clean up legacy injector routes and add onboarding guidance for required theme scopes.

Made-with: Cursor
2026-04-02 17:07:41 +05:00
talatops
7fe7ac9cac fix(shopify): use app proxy for storefront chat injector
Serve widget injector JS via Shopify App Proxy and point ScriptTag src to /apps/juno-chat to avoid ngrok/ORB/CSP script load failures.

Made-with: Cursor
2026-04-02 15:53:55 +05:00
talatops
676ef09f4f fix(shopify): bypass ngrok interstitial for scripttag
Made-with: Cursor
2026-04-02 15:46:52 +05:00
talatops
b7254e9c2b fix(storefront): use popup button instead of iframe
Made-with: Cursor
2026-04-02 15:39:23 +05:00
talatops
2a4ab2a749 fix(storefront): robust shop detection for widget
Made-with: Cursor
2026-04-02 15:31:52 +05:00
talatops
23d3165cc7 chore(storefront): remove unused theme extension
Made-with: Cursor
2026-04-02 15:21:25 +05:00
talatops
ec600012d1 feat(storefront): script tag toggle injection
Made-with: Cursor
2026-04-02 15:15:17 +05:00
talatops
8af711a6c9 feat(storefront-chat): add customer widget + vendor toggle
Made-with: Cursor
2026-04-02 14:31:35 +05:00
talatops
d3122d44bf fix: UI audit 2026-04-02 14:02:41 +05:00
talatops
5fb777496b feat(chat): rich typed attachments with modal
Made-with: Cursor
2026-04-02 13:26:44 +05:00
talatops
2e28ae8ed3 fix: wire PWA icons and manifest for installability
Update app metadata and service worker icon references to use the PWA icon set, and add required public icon assets so Chrome can offer install.

Made-with: Cursor
2026-03-31 22:25:42 +05:00
talatops
bcd479b76a fix: harden Shopify tracking sync for closed fulfillments
Make supplier-side Shopify sync update tracking on existing fulfillments when fulfillment orders are closed, and make EC2 deploy extraction deletion-safe to prevent stale files from breaking builds.

Made-with: Cursor
2026-03-31 22:05:33 +05:00
talatops
b67ef3190c feat: automate supplier fulfillment sync with vendor readonly tracking
Make supplier tracking/status updates the single source of truth, show them as readonly in vendor views, and sync fulfillment to Shopify from the backend with status normalization and fallback handling.

Made-with: Cursor
2026-03-31 21:44:33 +05:00
talatops
164df26310 fix: encryption schema removed from database 2026-03-31 19:16:04 +05:00
talatops
d4e5f16814
Merge pull request #3 from talatops/fix/talat
fix: supplier order side & removed chat encryption
2026-03-31 19:10:26 +05:00
talatops
28ec17409f fix: supplier order side & removed chat encryption 2026-03-31 18:16:30 +05:00
Saad Mohsin
b426372f89 fix: make supplier invite flow seamless
Made-with: Cursor
2026-03-31 18:16:15 +05:00
Saad Mohsin
036ad53acb add: dev compose, fix: ui bugs on vendor 2026-03-31 16:48:17 +05:00