These are chat archives for reactioncommerce/reaction

19th
Sep 2016
3Maestros
@3Maestros
Sep 19 2016 00:44
I have picked latest from development branch as I wanted to get the fix for shipping issue, but I am seeing strange navigation issue of search result, is anyone seeing the same?
Brent Hoover
@zenweasel
Sep 19 2016 00:44
I have not seen any. What are you seeing exactly?
Brent Hoover
@zenweasel
Sep 19 2016 01:28
Actually I take that back, I am seeing this: reactioncommerce/reaction#1402
3Maestros
@3Maestros
Sep 19 2016 03:24
exactly this what even I am seeing , I will comment .
thank you
do you have any data as to how many transactions/sec is the framework tested right now? Transaction as in purchases.
Brent Hoover
@zenweasel
Sep 19 2016 03:27
not that I know of. Josh is putting together some load testing but not sure how exactly that will manifest
plus there are a lot of variables that have nothing to do with RC
3Maestros
@3Maestros
Sep 19 2016 03:47
I was just trying to get a idea give a HW spec where it is at WRT to this, yeah there are quite few variable it is tied to.
Brent Hoover
@zenweasel
Sep 19 2016 03:54
yeah, at some point we will need to create some common configs based on traffic, though I think transactions are not going to be a bottleneck for most people
soyJsus
@soyJSus
Sep 19 2016 16:10
@zenweasel thanks
soyJsus
@soyJSus
Sep 19 2016 16:58
I'm developing a plugin to add recipes, and would create the new collection ?
soyJsus
@soyJSus
Sep 19 2016 17:05
This page was not found.
:/
soyJsus
@soyJSus
Sep 19 2016 17:14
my register.js
Mike Murray
@mikemurray
Sep 19 2016 17:17
@soyJSus you also need layout. Example below:
import { Reaction } from "/server/api";

Reaction.registerPackage({
  label: "Product Detail Simple",
  name: "product-detail-simple",
  icon: "fa fa-cubes",
  autoEnable: true,
  registry: [{
    route: "/product/:handle/:variantId?",
    name: "product",
    template: "productDetailSimple",
    workflow: "coreProductWorkflow"
  }, {
    label: "Product Settings",
    provides: "settings",
    route: "/product/:handle/:variantId?",
    container: "product",
    template: "ProductAdmin"
  }],
  layout: [{
    layout: "coreLayout",
    workflow: "coreProductWorkflow",
    collection: "Products",
    theme: "default",
    enabled: true,
    structure: {
      template: "productDetailSimple",
      layoutHeader: "layoutHeader",
      layoutFooter: "",
      notFound: "productNotFound",
      dashboardHeader: "",
      dashboardControls: "productDetailDashboardControls",
      dashboardHeaderControls: "",
      adminControlsFooter: "adminControlsFooter"
    }
  }]
});
and you have to do a reset for the changes to apply
workflow is also very very important. Notice the registry entry with the route " /product/:handle/:variantId?" has a template and workflow properties, that match with the layout
soyJsus
@soyJSus
Sep 19 2016 17:19
ok
Mike Murray
@mikemurray
Sep 19 2016 17:20
coreLayout is just the overall container for all the partial templates
soyJsus
@soyJSus
Sep 19 2016 17:20
i change in plugin teme coreLayout
soyJsus
@soyJSus
Sep 19 2016 17:28
mmmm