Commit Graph
42 Commits
Author SHA1 Message Date
elviraandClaude Opus 5.5 f0a1b928dd Reviews: submit without a redirect, answered with Turbo Streams
The review form now submits through Turbo (data-turbo="true"; Drive
stays off) and storeReview answers with Turbo Streams instead of a
redirect with flashed data:
- success: the new review is prepended to the list (same Blade partial
  as the existing ones), the empty message is removed, the stars/count
  under the title and the tab label are updated (count and average from
  the DB, which is what the index builds them from), the form is removed
  and the thank-you goes into a live region and gets focus
- validation error: 422 + a stream that replaces the form with inline
  errors (aria-invalid/aria-describedby) and the entered values, focus on
  the first invalid field

Nothing on the product page reads the session any more: no
session('reviewSubmitted'), old() or $errors, and
mergeJustSubmittedReview and the justSubmittedReview flash are gone.
searchableSync() stays.

Without JS it's a plain POST that redirects back to ?tab=reviews,
without inline errors or the thank-you, and the new review shows once
Meilisearch catches up. The ?tab=reviews query parameter is noted in
the controller as a variant to handle once product pages are cached.

New: product/partials/review, product/partials/rating-summary,
product/streams/review-stored|review-invalid, and a small
focus-on-connect Stimulus controller that only appears on streamed
markup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:09:58 +02:00
elviraandClaude Opus 5.5 702609da1e Header: account and wishlist links no longer depend on login
Both links are now the same for every visitor, so the header can be
cached:
- Account always goes to route('account'); the auth middleware sends
  guests to login, and after login they land back on the account page
  (url.intended) instead of home.
- Wishlist always goes to route('wishlist'); WishlistController::guest
  already redirects logged-in users to account.wishlist.
- One neutral label, storefront.nav.account, on desktop and mobile.

header.blade.php no longer calls auth().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:02:34 +02:00
elviraandClaude Opus 5.5 4fc7880187 Markup: stable island targets for wishlist, account link and CSRF meta
- x-wishlist-button gets data-wishlist-product on its form root; the
  server-rendered aria-pressed stays for now.
- Both header account links (desktop and mobile menu) share
  [data-account-link].
- The CSRF meta tag gets id="csrf-token".

No visible change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:01:42 +02:00
elviraandClaude Opus 5.5 6948c134e3 Header: give the cart badge a stable id for islands
The badge is absolute inside the fixed-size cart button, so showing it
or growing from 1 to 2 digits doesn't move the header. Adds #cart-badge
as a Turbo Stream target and records the rule that no island may change
the size of its container. cart-count-controller is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:01:21 +02:00
elviraandClaude Opus 5.5 d31b423f2a Nav: move FAQ before Contact
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:19:29 +02:00
elviraandClaude Opus 5.5 fb239a97cb Breadcrumbs: always start at Home, full category trail, BreadcrumbList JSON-LD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:19:29 +02:00
elvira b2f53ea952 improvements on faq page 2026-10-26 16:24:34 +02:00
elvira 1e4da2c8cc faq page 2026-10-26 16:06:55 +02:00
elvira 50ec0eebf2 temporary image handling and some responsive 2026-10-24 00:51:38 +03:00
elvira 0ae5f49bcf responsive design 2026-10-24 00:20:57 +03:00
elvira 9217960de0 Feat: Live search accessibility, no-results message and View all styling 2026-10-23 20:59:23 +03:00
arvanitakis 4f56edc4fc Feat: Adding Search prefixes to homepage search 2026-10-19 17:32:35 +03:00
elvira b522d60954 multilingual content, change in how we show header categories and homepage hero products 2026-09-28 19:42:35 +03:00
elvira ca362f81c8 setup for stoic settings, changes in legal pages to use core's store details and contact page to show contact info next to form 2026-09-28 17:09:08 +03:00
arvanitakis 060b6c647e Merge branch 'box-now-test-' into cart-temp 2026-09-28 10:11:26 +03:00
arvanitakis 36806cac5b Chore: Moving Wishlist from 3dealer to Core 2026-09-28 10:10:50 +03:00
elvira 8e186fc231 minor improvement in showing custom fields in product page and boboko-core sourced locally 2026-09-25 22:39:14 +03:00
elvira ab7e560a3d add to cart button disabled when 0 stock and newsletter form theming 2026-09-25 20:23:22 +03:00
elvira e2d7bbb043 order emails theming, sold out product card, contact page hcaptcha 2026-09-25 17:44:42 +03:00
arvanitakis a51e9456d6 Feat: Moving File Handling To Core 2026-09-25 13:47:58 +03:00
elvira 540da1af24 reviews photos clickable and contact form functionality 2026-09-24 21:03:59 +03:00
elvira cf3681260b account pages: login, order history, order details, account details, wishlist 2026-09-24 17:27:58 +03:00
elvira 580adac33a product custom fields 2026-09-23 17:53:23 +03:00
elvira e3a6267059 fix in product page links and tabs, fixes in email template, minor change in reviews theming 2026-09-22 19:18:55 +03:00
elvira 24851184c4 temp emails, reviews theming and form, minor change in checkout module, validation translations seeder 2026-09-22 19:00:34 +03:00
elvira a107184010 product options layout and add to cart button in homepage 2026-09-21 18:53:45 +03:00
elvira afa1993c53 stock check, variants in cart, variant buttons in product page 2026-09-17 21:52:39 +03:00
elvira 7577426f49 cart drawer and general structure 2026-09-04 19:39:37 +03:00
elvira 1f0612861b general products page and small rewrite of search and category controllers etc 2026-09-03 21:32:40 +03:00
elvira 210ed3b094 removed search from category filters and fixed product links 2026-09-02 14:05:20 +03:00
elvira 8a07c772f8 product category page: front-end sorting and filtering using turboframes 2026-08-31 22:56:40 +03:00
elvira b070a7d1e6 category page filters components and general ui - no functionality yet 2026-08-31 21:52:47 +03:00
arvanitakis c7cd1138fe Feat: Updating routes and controllers to use the updated Services coming from boboko/core 2026-08-29 00:17:34 +03:00
arvanitakis defe1dab12 Feat: Updating Product imports after Boboko restructure 2026-08-27 11:46:33 +03:00
arvanitakis 0dcaf112be Feature: Updating Core imports after restructure 2026-08-27 01:21:57 +03:00
arvanitakis b3405c1b60 Feat: Updating Home, Product and Category Controllers and veiws to utilize the product service 2026-08-27 00:55:56 +03:00
elvira 90e32e337d localization from boboko core and product service too 2026-08-26 18:28:16 +03:00
elvira fab9cc08a8 contact page, legal pages and category page 2026-08-26 13:43:30 +03:00
elvira 45057f9083 homepage stuff and text animation fix 2026-08-22 21:59:17 +03:00
elvira 7677d10821 price function global (needs review) 2026-08-08 15:10:37 +03:00
elvira e46276a31b homepage, new newsletter section, multilang support 2026-08-08 14:50:10 +03:00
elvira bf8b9219fc setting up front 1 2026-07-31 17:41:55 +03:00