Repository navigation
fix(ecommerce): add shop categories page, shop links dialog and pinned table fixes - #1674
Merged
Merged
Conversation
…d table fixes - Web shop: new /shop/<ws>/categories page; webshop.getLink takes page=categories; the Ecommerce bar's Get link opens a dialog with the shop, cart and categories links (one preview token per page load) - A sub-category under a hidden parent is no longer listed (its products are hidden with the parent); grid and filters share one grouping helper - Cart lines keep their place when their quantity changes - Data table: pinned cells are opaque with valid oklch colors and repaint the row hover/selected tint, header included - Product import / Meta catalog dialogs: footer without a separator Co-Authored-By: Claude Opus 5.5 <[email protected]>
hello-jackytruong
referenced
this pull request
in hello-jackytruong/ChatWorkAI
Nov 22, 2026
…d table fixes (#1674) - Web shop: new /shop/<ws>/categories page; webshop.getLink takes page=categories; the Ecommerce bar's Get link opens a dialog with the shop, cart and categories links (one preview token per page load) - A sub-category under a hidden parent is no longer listed (its products are hidden with the parent); grid and filters share one grouping helper - Cart lines keep their place when their quantity changes - Data table: pinned cells are opaque with valid oklch colors and repaint the row hover/selected tint, header included - Product import / Meta catalog dialogs: footer without a separator Co-authored-by: Deathgiver <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/shop/<ws>/categoriespage shows the shop's visible top-level categories as cards, with their sub-categories listed under each. A card opens the shop filtered to that category.webshop.getLink(andchatbotx webshop link) now acceptspage=categories.createWebshopShareLinks); before, it signed a token for each link.visibleShopCategories). Its products are already hidden with the parent, so the link led to an empty page. The category grid and the product filters now share one grouping helper.hsl(var(--…))on oklch tokens, which is invalid and rendered them transparent. They now get an opaque background, so scrolled columns no longer show through.The "Start a flow" checkout behaves as it does on
main: the customer fills in the form, the order is placed, and then the checkout flow runs in their chat. For an order paid online, the flow runs once the payment comes in, and each order gets the flow only once.Test plan
pnpm lint(i18n parity in all 21 locales,check:invariants)pnpm check-types(pre-commit typecheck, 19/19 tasks)vitest: order + webshop suites, 151 tests. New:cart-lines,shop-categories, a "Start a flow" order placed by form, and a cash-on-delivery order that runs the checkout flow.api-parity-manifestandedge-instrumentation-graphtestsinvariant-guardagent: no violations/categoriespage, pinned-column tables (hover the header row)🤖 Generated with Claude Code