These are chat archives for reactioncommerce/reaction

11th
Mar 2018
Loz
@lozGemachet_twitter
Mar 11 2018 04:02 UTC
Hello, do you have a plugin store where I could upload my custom plugin and direct our customers to install from?
zzh1234567
@zzh1234567
Mar 11 2018 09:00 UTC
I use the following code:let params = [ fetchnum, { tags: [tagid] } ];
let currentSubId = Meteor.ddp.sub("Products", params);
allSubIds.push(currentSubId);
let collections = [];
console.log("meteor_subscribeProductsByTags currentSubId。。。。。。。。" + currentSubId);
Meteor.ddp.on("added", message => {
{
collections[message.collection] = {//// message.collection: Products & cfs.Media.filerecord
...collections[message.collection],
      [message.id]: {
          _id: message.id,
          ...message.fields
      }
    };
    console.log("meteor_subscribeProductsByTags added..。。。。。。。。。" + JSON.stringify(message));
  }
});
but cant receive product variant or variant option info . (meteor_subscribeProductsByTags added..。。。。。。。。。{"msg":"added","collection":"Products","id":"wvoCJREHm3TrcDQkw","fields":{}}
how to get Product variant info?
zzh1234567
@zzh1234567
Mar 11 2018 10:45 UTC
any help....pls
zzh1234567
@zzh1234567
Mar 11 2018 12:40 UTC
I want to create product variant and upload product variant media in ReactNative. I can use API: http://api.docs.reactioncommerce.com/Methods_Products.html#.products/createVariant to createVariant. But I dont know how to Upload media for the variant? any tip? thanks.
Scott Betzel
@Snaze
Mar 11 2018 17:31 UTC
@zzh1234567 hey - how long does it take for your project to build? just curious
hrath2015
@hrath2015
Mar 11 2018 17:37 UTC
@Snaze on windows10 8gb RAM laptop it takes about 8 mins for a fresh build
are you facing some issues?
This is dev build.
Scott Betzel
@Snaze
Mar 11 2018 17:38 UTC
thank you hrath - i'm hovering around the 2 min mark for all builds
yes dev builds... simply changes to the UI can take 2 minutes to rebuild... i'm wondering if i'm doing something wrong?
hrath2015
@hrath2015
Mar 11 2018 17:39 UTC
that is pretty good :+1:
Scott Betzel
@Snaze
Mar 11 2018 17:39 UTC
hahaha interesting ok
are your dev builds faster?
when I deploy the app and build a fresh docker container it take quite a while... but when working locally i'm looking at about 2 minutes for the screen to refresh
hrath2015
@hrath2015
Mar 11 2018 17:41 UTC
for client side changes I guess 2 mins is high. It should be fast
Scott Betzel
@Snaze
Mar 11 2018 17:42 UTC
yes even client side changes... how do you run your dev environment?
it's killing me
reaction run?
hrath2015
@hrath2015
Mar 11 2018 17:42 UTC
yes. `reaction run'
Scott Betzel
@Snaze
Mar 11 2018 17:43 UTC
interesting thanks - how long does it take your browser to update after making small UI changes?
hrath2015
@hrath2015
Mar 11 2018 17:45 UTC
I will get back to you on this. not tried in a long while.
Scott Betzel
@Snaze
Mar 11 2018 17:47 UTC
ok thanks
hrath2015
@hrath2015
Mar 11 2018 18:33 UTC
Tried with couple of changes ... yes it is slow 2-3 mins for client side changes. It used to be very fast 2 quarters back. May be meteor stuff.
Not sure if we have an issue for this.
Scott Betzel
@Snaze
Mar 11 2018 18:34 UTC
thank you so much hrath for that info.... it helps so much
i thought I was going crazy
hrath2015
@hrath2015
Mar 11 2018 18:36 UTC
#3233 issue for performance and tragetted for 2.0
Dev build time: Initial build time (reaction init), build time while you're developing is one of the item
Scott Betzel
@Snaze
Mar 11 2018 18:39 UTC
awesome thank you... i'll follow that issue
i'm glad it is being looked into
hrath2015
@hrath2015
Mar 11 2018 18:40 UTC
yup this has been constant focus from 1.6 onwards and most of it will be delivered in 2.0 hopefully.
Scott Betzel
@Snaze
Mar 11 2018 18:41 UTC
interesting... so what will be included in 2.0?
is there a link somewhere I can look at? sorry i should probably just google it myself
hrath2015
@hrath2015
Mar 11 2018 18:42 UTC
please read through the issue for performance specific stuff #3233
Scott Betzel
@Snaze
Mar 11 2018 18:42 UTC
got it
hrath2015
@hrath2015
Mar 11 2018 18:43 UTC
:+1:
Scott Betzel
@Snaze
Mar 11 2018 18:43 UTC
thank you so much! :D
Nureddin Bedevi
@nbedevi
Mar 11 2018 21:52 UTC
hello every body, I'm very interesting with Reaction, I want some help please,
My marketplace is different idea it's local market i mean in the same country, the shipping by delivery boy and the payment in the door, and the customer select what the near store to him to make a shopping and in other side keep the seller select the area he can support delivery, I know is strange and not available in Reaction by default , but how to do this :worried: I want someone tel me how I can start to customize it like this
Brent Hoover
@zenweasel
Mar 11 2018 21:54 UTC
That’s a lot of requirements. I don’t know that I can just summarize something like that in a few posts. Are you a developer or working with a developer?