Commit Graph
62 Commits
Author SHA1 Message Date
isaaccladandCursor 1ea5397ca5 Revert launcher scroll rail and fade; keep down arrow hint.
Deploy Ladill Merchant / deploy (push) Successful in 1m3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 14:00:42 +00:00
isaaccladandCursor bd443b17fb Make launcher scroll affordance visible on open.
Deploy Ladill Merchant / deploy (push) Successful in 58s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 13:51:55 +00:00
isaacclad 0b17b602e0 Sync app launcher from registry
Deploy Ladill Merchant / deploy (push) Successful in 1m19s
2026-06-29 13:29:27 +00:00
isaacclad c5b190db00 Always show launcher scroll indicator and cap at 18 apps.
Deploy Ladill Merchant / deploy (push) Successful in 1m3s
Apply ladill-launcher-apps scroll styles unconditionally with a persistent
scrollbar track; propagate launcher blade and CSS across all Ladill apps.
2026-06-29 13:03:28 +00:00
isaaccladandCursor 9430cfaab6 Use + icon buttons on mobile dashboards.
Deploy Ladill Merchant / deploy (push) Successful in 33s
Sync mobile-header-btn partials, mobile x-btn.create, and update dashboard header actions for consistent mobile FABs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 16:22:45 +00:00
isaaccladandCursor 60a3ad7391 Place wallet widget after Billing link in mobile profile sheet.
Deploy Ladill Merchant / deploy (push) Successful in 1m4s
Remove duplicate Billing header above Home; wallet card follows Billing
in menu order to match the desktop avatar dropdown.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 14:06:44 +00:00
isaaccladandCursor 12ee164c19 Sync mobile profile wallet card and 24h session idle timeout.
Deploy Ladill Merchant / deploy (push) Successful in 1m13s
Show wallet balance prominently in the mobile profile bottom sheet with refresh
on open; align session lifetime with the platform default.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 12:46:19 +00:00
isaaccladandCursor c07ab6b750 Hide header avatar on mobile and sync shared mobile nav partials.
Deploy Ladill Merchant / deploy (push) Successful in 1m25s
Profile moves to the bottom nav sheet on small screens; optional search tab
support is synced from the Ladill platform template.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 12:04:32 +00:00
isaacclad 0038b84fc2 Sync app launcher from registry — add Frontdesk.
Deploy Ladill Merchant / deploy (push) Successful in 31s
2026-06-28 01:46:16 +00:00
isaaccladandCursor 60979fe6a2 Sync app launcher from registry
Deploy Ladill Merchant / deploy (push) Successful in 40s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 19:03:57 +00:00
isaaccladandCursor 05b30c9fd6 Sync app launcher from registry
Deploy Ladill Merchant / deploy (push) Successful in 36s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 18:28:04 +00:00
isaaccladandCursor c2721c795a Redirect legacy /q/* URLs to canonical ladl.link addresses.
Deploy Ladill Merchant / deploy (push) Successful in 32s
External /q requests 301/307 to ladl.link; internal X-Ladill-Internal requests still serve content for platform proxying.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 17:19:04 +00:00
isaaccladandCursor 2991d71ea0 Fix remaining merchant surfaces still using merchant.ladill.com/q URLs.
Deploy Ladill Merchant / deploy (push) Successful in 26s
Storefront QR cards, slug preview, payment callbacks, and document downloads now use LadillLink so displayed and encoded links match ladl.link.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 16:06:32 +00:00
isaaccladandCursor a3029d475d Use ladl.link URLs for all front-facing QR and short-link surfaces.
Deploy Ladill Merchant / deploy (push) Successful in 35s
Public landing pages, asset paths, payment callbacks, and redirects now go through QrCode::publicPath() / LadillLink instead of ladill.com/q/* routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 15:46:12 +00:00
isaaccladandCursor de2eab7ef8 Add LadillLink helper for ladl.link public QR paths.
Deploy Ladill Merchant / deploy (push) Successful in 34s
Storefront and landing views use publicPath() so menu, shop, and booking pages resolve asset URLs on ladl.link.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 15:28:50 +00:00
isaacclad f20360777b Sync app launcher from registry
Deploy Ladill Merchant / deploy (push) Successful in 29s
2026-06-27 15:15:34 +00:00
isaaccladandCursor eee78aa3d2 Make guest landing-page checkouts email-optional like Ladill Mini.
Deploy Ladill Merchant / deploy (push) Successful in 59s
Drop required buyer email on public merchant forms; require phone for bookings so merchants can reach guests without Ladill accounts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 14:18:45 +00:00
isaaccladandClaude Opus 4.8 24d47ac04e Surface connected domains in Ladill Domains' My Domains
Deploy Ladill Merchant / deploy (push) Successful in 1m36s
Push the customer's connected domain to the central connected-domains registry
so it appears under My Domains (with Transfer in if not registered with Ladill).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 20:16:51 +00:00
isaaccladandClaude Opus 4.8 55a2cc71a7 Fix custom-domain test fixtures (public_id, bypass platform.session)
Deploy Ladill Merchant / deploy (push) Successful in 28s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 17:06:21 +00:00
isaaccladandClaude Opus 4.8 b2aede5963 Add opt-in custom domains with automatic SSL
Deploy Ladill Merchant / deploy (push) Successful in 29s
Customers can connect their own domain to a merchant page (storefront/event):
add a domain, point an A record (apex + www) to the app server, click Verify —
DNS is checked, then Ladill Domains' central SSL service issues + installs the
Let's Encrypt cert and calls back to flip it live. The custom domain then serves
the mapped page (host resolution on /). Feature-gated: only active when a Domains
SSL API key is set, so this deploy is inert until wired.

- custom_domains table + CustomDomain model
- CustomDomainService (DNS verify, request cert), DomainsSslClient, DnsResolver
- settings UI panel, signed SSL callback receiver, host resolution on /
- feature tests (DNS verify/fail, signed callback, ownership)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 16:59:19 +00:00
a4974098ee Add Accounting to the app launcher
Deploy Ladill Merchant / deploy (push) Successful in 33s
Ladill Accounting is now live at accounting.ladill.com; add its row + icon to
the shared app launcher (byte-identical across all Ladill apps).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 13:48:54 +00:00
isaaccladandClaude Opus 4.8 6119ba3dae Load CRM catalog on the storefront edit form so products can be added
Deploy Ladill Merchant / deploy (push) Successful in 24s
The storefront editor has an 'Add from products' picker (+ per-item photo
upload), but the edit page (storefronts.show) never passed the CRM $catalog to
editor-fields, so the picker was hidden (x-show=catalog.length) — there was no
way to add products to an existing storefront. show() now loads catalogProducts()
and forwards it to the editor, matching the create form.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 09:51:22 +00:00
isaaccladandClaude Opus 4.8 80968954d1 Fix Storefronts sidebar icon stroke weight
Deploy Ladill Merchant / deploy (push) Successful in 1m19s
The Storefronts icon was a custom glyph wrapped in scale(1.7143) +
vector-effect=non-scaling-stroke, so its stroke rendered heavier than the other
sidebar icons. Swap it for the standard Heroicons building-storefront outline,
which uses the same 24x24 viewBox and stroke treatment as its siblings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 09:34:27 +00:00
isaaccladandClaude Opus 4.8 8dbdf171cb Add branded boot splash (Ladill Mail style) on app pages
Deploy Ladill Merchant / deploy (push) Successful in 59s
InjectBootSplash middleware shows a self-branded loading splash once per session
while the app boots, then fades out.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 22:14:33 +00:00
isaaccladandClaude Opus 4.8 2ced61fed0 Push paid menu orders to the Ladill POS kitchen
Deploy Ladill Merchant / deploy (push) Successful in 45s
When a menu (food) storefront order is paid, best-effort POST it to the
merchant's Ladill POS kitchen ingest (config/kitchen.php → KITCHEN_API_URL/KEY)
so it lands on their Kitchen Display alongside dine-in tabs. Failures are logged,
never surfaced — order completion is unaffected; POS ignores orders for accounts
that don't run a POS kitchen.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 23:57:30 +00:00
isaaccladandClaude Opus 4.8 20ec89f534 Update POS launcher icon (app launcher + marketing)
Deploy Ladill Merchant / deploy (push) Successful in 1m13s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 07:46:25 +00:00
isaaccladandClaude Opus 4.8 b19e2654a1 Add Products page backed by the CRM products API + storefront catalog picker
Deploy Ladill Merchant / deploy (push) Successful in 30s
- New Products page (merchant.products.*) with full CRUD proxied to the Ladill
  CRM products API via a new CrmClient + config/crm.php (owner-scoped, type=product).
- Sidebar gains a Products entry.
- The new storefront form loads the merchant's catalog: each shop/menu section
  gets an "Add from products…" picker that drops a CRM product in as an item
  (name, price, description). Catalog fetch is resilient — empty if CRM is down.

Wires CRM_API_URL + CRM_API_KEY_MERCHANT on the merchant env (matches CRM).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 07:32:58 +00:00
isaaccladandCursor 08d3c99996 Sync app launcher config and add POS icon.
Deploy Ladill Merchant / deploy (push) Successful in 23s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 22:53:06 +00:00
isaaccladandCursor c1f5b029b4 Prefill storefront creation from CRM won-deal links.
Deploy Ladill Merchant / deploy (push) Successful in 23s
Decode CRM prefill tokens so payment storefronts open with deal label and product line items.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 20:07:18 +00:00
isaaccladandCursor 06f9742b34 Standardize desktop topbar widgets to match CRM layout.
Deploy Ladill Merchant / deploy (push) Successful in 39s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 18:15:29 +00:00
isaaccladandClaude Opus 4.8 f201632382 Add wallet balance widget to the profile menu (after Billing)
Deploy Ladill Merchant / deploy (push) Successful in 36s
Wallet balance peek rendered as a menu row directly under Billing, backed by
a /wallet/balance endpoint (BillingClient) and guarded by Route::has. Also
opens Afia via a direct window event for reliability.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 12:26:19 +00:00
isaaccladandClaude Opus 4.8 99835e9fb0 Add CRM to the Ladill app launcher
Deploy Ladill Merchant / deploy (push) Successful in 45s
crm.ladill.com is now live in the suite; add its launcher row + icon
(byte-identical shared launcher config).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 22:41:28 +00:00
isaaccladandClaude Opus 4.8 9800280af0 Platform fee 3.5% (Ladill Pay standard)
Deploy Ladill Merchant / deploy (push) Successful in 39s
Match the platform-wide 3.5% standard: QrSaleOrder::PLATFORM_FEE_RATE 0.055 -> 0.035.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 19:34:32 +00:00
isaaccladandClaude Opus 4.8 9da0f6e6e1 Add Invoice to the app launcher
Deploy Ladill Merchant / deploy (push) Successful in 26s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 14:19:11 +00:00
isaaccladandCursor 904e76a7a2 Bind app sessions to the platform auth session.
Deploy Ladill Merchant / deploy (push) Successful in 24s
Clear local sessions when auth.ladill.com signs out and ping the platform session from keepalive.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-20 08:26:30 +00:00
isaaccladandCursor 1422b98807 Add Ladill SMS to shared app launcher.
Deploy Ladill Merchant / deploy (push) Successful in 42s
Include sms.ladill.com in the cross-app launcher and ship the SMS icon asset.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:12:36 +00:00
isaaccladandCursor 586a04fdad Lower Merchant platform fee from 9% to 5.5%.
Deploy Ladill Merchant / deploy (push) Successful in 25s
Update checkout constant, payout copy, and Afia prompts to match the new Ladill Pay rate.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 19:51:34 +00:00
isaaccladandCursor fb60664bce Hide the current page link in the unified profile dropdown.
Deploy Ladill Merchant / deploy (push) Successful in 42s
Skip Home, account, and admin menu items when the user is already on that destination.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 10:16:26 +00:00
isaaccladandCursor 80584a5d2e Fix corrupted profileMenuItems in layouts after menu propagation.
Deploy Ladill Merchant / deploy (push) Successful in 49s
Remove orphaned array entries that caused Blade parse errors and 500 responses on authenticated pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 10:04:26 +00:00
isaaccladandCursor e8b680059b Unify logged-in profile dropdown with platform account menu.
Deploy Ladill Merchant / deploy (push) Successful in 32s
Wire UserProfileMenu and shared Blade partial into topbar, mobile nav, and layouts so menu items match the account portal (Ladill Mail excluded).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 09:33:42 +00:00
isaaccladandCursor 924d97e833 Remove centralized account nav from app sidebar; redirect legacy URLs.
Deploy Ladill Merchant / deploy (push) Successful in 26s
Wallet, Billing, Team, Developers, and Support live on account.ladill.com.
Siloed sidebars keep product nav and app Settings only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 00:42:15 +00:00
isaaccladandCursor 701e83d867 Restore silent SSO on app entry for users switching between apps.
Deploy Ladill Merchant / deploy (push) Successful in 22s
Guests without a local session try prompt=none SSO first; marketing pages
are only for visitors with no platform session (localhost fix retained).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 13:46:59 +00:00
isaaccladandCursor 9aad952eb0 Fix guest entry: correct marketing URL and stop auto silent SSO.
Deploy Ladill Merchant / deploy (push) Successful in 1m12s
Correct localhost marketing_url default and stop redirecting guests through
/sso/connect on visit; SSO starts only via explicit sign-in.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 13:08:47 +00:00
isaaccladandCursor f057b3285f Send SSO guests to ladill.com/products/merchant instead of subdomain landings.
Deploy Ladill Merchant / deploy (push) Successful in 38s
Remove interactive OAuth fallback on silent SSO failure and add ladill.marketing_url config so app subdomains open the dashboard when signed in locally.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 22:21:58 +00:00
isaaccladandCursor 94fac8fbee Lower sales platform fee from 15% to 9%.
Deploy Ladill Merchant / deploy (push) Successful in 27s
Align merchant settlement and booking checkout with the updated Ladill Pay sales tier.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 19:32:24 +00:00
isaaccladandClaude Opus 4.8 93682bad8b Afia: render markdown bold in chat instead of showing raw asterisks
Deploy Ladill Merchant / deploy (push) Successful in 41s
Replies came back with **bold** markup that displayed literally to users.
Render the bubble as HTML (escaped first for safety) and convert **text** to
<strong>; newlines already handled by whitespace-pre-line.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 08:41:07 +00:00
isaaccladandClaude Opus 4.8 ff9002c8e3 Afia: rebrand merchant assistant from QR Plus/Give to Merchant
Deploy Ladill Merchant / deploy (push) Successful in 34s
The merchant app shipped the QR Plus Afia: the chat panel subtitle read
'Give assistant' and the system prompt identified as 'Ladill QR Plus' and
described QR-code features (Link/PDF/WiFi/styling) instead of this app's
storefronts. Rewrite the prompt for Ladill Merchant (storefronts —
shop/menu/booking, orders, payouts, fees) and fix the subtitle to
'Merchant assistant'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 06:14:06 +00:00
isaaccladandClaude Opus 4.8 6cc6751c71 Afia: fix dangling QrTypeCatalog::eventTypes() in chat context
Deploy Ladill Merchant / deploy (push) Successful in 27s
AfiaController::context() called QrTypeCatalog::eventTypes(), which does
not exist on this app's catalog (leftover from the Events-app template) —
every Afia chat 500'd with 'Afia could not respond right now' before the
LLM was ever reached. Use storefrontTypes() (shop/menu/booking), the QR
types this merchant app actually owns.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 23:16:13 +00:00
isaaccladandClaude Opus 4.8 00b1644887 Storefront polish + QR share + importer deactivate fix
Deploy Ladill Merchant / deploy (push) Successful in 35s
- Storefronts use Figtree as the default font (shop/menu, booking, book)
- Remove "Powered by Ladill" branding from the storefront header
- Fix storefront logo hiding behind the cover (logo row now relative z-10)
- Add a Share button to storefront QR downloads using the Web Share API
  (native mobile share sheet for image+link; clipboard fallback)
- storefronts:import-legacy: --deactivate-source now also retires the
  platform copy of already-imported (skipped) codes, no --refresh needed

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 19:16:48 +00:00
isaaccladandClaude Opus 4.8 2fe8babab4 Default platform_qr disk to the monolith's production storage path
Deploy Ladill Merchant / deploy (push) Successful in 29s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 17:27:44 +00:00