Commit Graph

130 Commits

Author SHA1 Message Date
Saad Mohsin
6cc4472feb Harden upsell reliability and ticket context completeness.
Add strict linked-product upsell controls, improve retrieval consistency, persist full storefront escalation transcripts, and upgrade ticket APIs/UI for complete thread visibility and safer human handoff workflows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 23:45:47 +05:00
root
942970f7ac fix: Ui changes and Hyperlink fix 2026-05-12 22:52:07 +05:00
root
bd883a9c96 new attributes for AI 2026-05-12 22:35:05 +05:00
root
710ab671b3 table fix 2026-05-12 21:57:35 +05:00
root
6765e2bbf4 fix: filters, UI 2026-05-12 21:40:23 +05:00
root
23ab998311 fix: ai analytics 2026-05-12 00:30:41 +05:00
root
c5ed06697e revamp: ai analytics 2026-05-12 00:12:10 +05:00
root
a1646f3af9 fixed: upselling suggestions 2026-05-11 23:44:05 +05:00
root
db9b09e09a fix: cart premlink fixed 2026-05-11 23:06:18 +05:00
root
d1b657cba7 fix: cart premlink fixed 2026-05-11 22:51:33 +05:00
root
26fc46068f Feature: upselling, add to cart modules 2026-05-11 22:25:35 +05:00
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