Commit Graph
36 Commits
Author SHA1 Message Date
isaaccladandCursor 742592ab0d Propagate shared copy-button component and clipboard helper.
Deploy Ladill Merchant / deploy (push) Successful in 57s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 23:04:05 +00:00
isaacclad 6fdb64bc9f Sync mobile notification badge and dashboard icon-link partials.
Deploy Ladill Merchant / deploy (push) Successful in 43s
Align mobile unread badge with desktop and add plus icon support for panel actions.
2026-07-03 22:41:00 +00:00
isaaccladandCursor 2b23140a3e Cap launcher dropdown at 15 visible apps (5 rows).
Deploy Ladill Merchant / deploy (push) Successful in 45s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 17:44:10 +00:00
isaaccladandCursor 909d3eb862 Hide launcher down arrow when scrolled to the end.
Deploy Ladill Merchant / deploy (push) Successful in 50s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 14:47:51 +00:00
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 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
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 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 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
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 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 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
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 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 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
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 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 326f0e1bff Booking storefront: add full Branding section (logo, cover, brand color)
Deploy Ladill Merchant / deploy (push) Successful in 54s
The booking editor only had bare logo/cover inputs and no Brand Color,
while the booking landing page already renders logo_path/cover_path/
brand_color and the manager already persists them. Add the same Branding
section menu/shop use so owners can set all three.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 17:24:43 +00:00
isaaccladandClaude Opus 4.8 ed21d332d8 Use storefront icon for the Storefronts nav (was the give heart icon).
Deploy Ladill Merchant / deploy (push) Successful in 42s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 11:02:32 +00:00
isaaccladandClaude Opus 4.8 f48592077f Block SVG uploads for storefront logos/covers/product images.
Deploy Ladill Merchant / deploy (push) Successful in 24s
SVG can embed JavaScript and would run as stored XSS when served inline on a
public storefront page, and we have no SVG sanitizer. Allow only raster
formats:
- item_images validation: image rule (permits SVG) -> mimes:jpeg,jpg,png,gif,webp
- QrCodeManagerService: reject image/svg+xml / .svg(z) in brand-image and
  item-image storage (defense in depth, since those only checked the image/* prefix)
- file pickers: accept raster mimes only

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 10:42:04 +00:00
isaaccladandClaude Opus 4.8 8b68fad82c Build real shop/menu/booking storefronts (replace church giving UI).
Deploy Ladill Merchant / deploy (push) Successful in 1m1s
The storefront create/edit/manage UI and the public storefront page were
give's church-donation flow relabeled. Replace with genuine merchant
storefronts, reusing the QR-core manager + validator (which already build
sections/services content):

- Merchant create: type picker (shop/menu/booking) + per-type editors in a
  shared partial (products/menu items with prices; bookable services with
  days/hours). x-if per type so inputs never collide across types.
- StorefrontController store/update/create now delegate to QrCodeManagerService
  for all three types (was hardcoded church org_type/denomination/collection).
- Storefront show = QR preview + download + live toggle + delete + full editor.
- QrCodeManagerService: shop/menu/booking are free (no QR-wallet gate); drop
  the duplicate church TYPE_SHOP arm in hasContentChanges.
- Public: new storefront catalog+cart view for shop/menu (posts items[] to the
  existing order/Pay flow); route shop+menu to it. Booking already had a real
  public page; church TYPE_SHOP landing branch retired.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 10:24:39 +00:00
isaaccladandClaude Opus 4.8 de5bd16219 Fix systemic extraction breakage in authenticated UI.
Deploy Ladill Merchant / deploy (push) Successful in 28s
The give→merchant transform left several independent breakages that 500'd
once a logged-in user hit the pages:

- /storefronts/{create,show,update,...} were wired to Qr\QrCodeController,
  which renders events-lineage qr-codes.* views referencing 14 undefined
  events.* routes. Rewire to StorefrontController (clean storefronts.* views).
- storefronts/show.blade.php @include('give.storefronts.partials.*') — the
  view dir was renamed give→merchant but the include namespace wasn't.
- /payouts + /search queried qr_sale_orders.*_minor; migration created *_ghs.
- Remove dead GiveDonation model (nonexistent give_donations table).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 09:42:06 +00:00
isaaccladandCursor f718b9cfbf Initial Ladill Merchant app with Gitea deploy pipeline.
Shop, menu, and booking storefronts with OIDC SSO, Pay checkout, and merchant.ladill.com deployment workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 23:05:21 +00:00