These are chat archives for aurelia-tools/monterey-electron/monterey-playground

28th
Jun 2016
Vegar Ringdal
@vegarringdal
Jun 28 2016 07:02
@JeroenVinke Anything special you want me to try and figure out later today if I have time? Else Ill just keep doing what I have and learn more aurelia/electron by trying and failing like I did in the video:-)
Jeroen Vinke
@JeroenVinke
Jun 28 2016 09:01
@vegarringdal not yet, as soon as we have the main screen semi ready and the plugin system in place we can start building more features
so if you want you could expiriment with JSPM for example (can you communicate with JSPM through nodejs etc)
Vegar Ringdal
@vegarringdal
Jun 28 2016 11:52
http://jspm.io/docs/api.html (on mobile so Ill just paste this in for now)
Jeroen Vinke
@JeroenVinke
Jun 28 2016 11:54
hmm
jspm 0.17 probably :(
Vegar Ringdal
@vegarringdal
Jun 28 2016 13:47

hmm
jspm 0.17 probably :(

With require('electron').remote.require('jspm') when (jspm installed localy) I fo geta obejct with a lot of functions

Jeroen Vinke
@JeroenVinke
Jun 28 2016 13:47
what does jspm -v say?
by the way, you'd have to require jspm from the project folder so that the correct jspm version is used
Vegar Ringdal
@vegarringdal
Jun 28 2016 13:48
blob
Jeroen Vinke
@JeroenVinke
Jun 28 2016 13:49
ok nice
Vegar Ringdal
@vegarringdal
Jun 28 2016 13:49
usually you cant require global pacakages
unless you make a effort
last time I tried atleast...
but Ive been wrong before, once :-)
Jeroen Vinke
@JeroenVinke
Jun 28 2016 13:50
yeah but you should be able to require('projectfolder/node_modules/jspm/jspm.js') right?
atleast that's what I would try :P
Vegar Ringdal
@vegarringdal
Jun 28 2016 13:50
I can give that a go too
require('electron').remote.require('./node_modules/jspm')
gives the same
since my index.js file is in the root, it will use the local packages automatically I think, like normal nodejs
require('electron').remote.require('./node_modules/jspm').install('moment') worked, it got installed... it return a promise... was using console
Jeroen Vinke
@JeroenVinke
Jun 28 2016 13:55
This is freaking awsome
Vegar Ringdal
@vegarringdal
Jun 28 2016 13:55

so if you want you could expiriment with JSPM for example (can you communicate with JSPM through nodejs etc)

-Done :-)

Jeroen Vinke
@JeroenVinke
Jun 28 2016 13:56
Hahaha
Vegar Ringdal
@vegarringdal
Jun 28 2016 13:56
got something done today too then :-)
Vegar Ringdal
@vegarringdal
Jun 28 2016 17:52

@JeroenVinke
Played around with you solution scaffolding, and kinda combined/replaced some parts with my radio buttons.
video

Think we should go for radio buttons :-)

Dunno if you can use any of my code, I dont have the validation part (since I have never used it and dont know how) hehe:-)
source

Jeroen Vinke
@JeroenVinke
Jun 28 2016 17:52
that is so much better
can you commit & push that?
only the radio button please
with the description underneath :)
Vegar Ringdal
@vegarringdal
Jun 28 2016 17:53
its commited in my fork, the "source" link
I kinda simplified the views by just showing the part that supposed to show, no compose, and used my workflow, dunno if I had forgot to update to latest source, but yours failed sometimes under custom.
Jeroen Vinke
@JeroenVinke
Jun 28 2016 17:57
ok i'll check
Vegar Ringdal
@vegarringdal
Jun 28 2016 17:59
Only file I touched outside the scaffolding folder was the modal.less file, commented out height:354px
Vegar Ringdal
@vegarringdal
Jun 28 2016 18:04
Donno if you want to use any of my code, hehe, really fun how you can hide/show html so easily in aurelia
Nikolaj Ivancic
@adriatic
Jun 28 2016 19:28
:point_up: June 28, 2016 1:52 PM
Now, it seems that the mind-reading abilities are spreading within the group :-) What Vegar just did is part of the third item (on wizard) in the issue I just posted monterey-framework/global-issues#9
Vegar Ringdal
@vegarringdal
Jun 28 2016 20:27
@adriatic @JeroenVinke had a wizard, I just wanted to try and see if I could do it in another way with an idea I had in my head, if JV. can use my code is another case :-)
Nikolaj Ivancic
@adriatic
Jun 28 2016 21:13

@vegarringdal

@JeroenVinke had a wizard

Let me explain this with more words, starting with most important thing first: whenever you see something I wrote, that makes you believe how I need a "simple correction", please think again and try to see whether you may have misunderstood me. @JeroenVinke is aware of my request here, which I named @adriatic's grand-father syndrome.

If Jeroen had a wizard, I would not find it necessary to write the following text

always be aware that the user's interaction with the monterey will be via a form (or better to say a sequence of forms - known as a wizard), fully supporting forward and backward traversal withing the wizard. This is what makes a Visual CLI a lot more valuable to a plain CLI app, which is a major step backward, when there were absolutely no screen editors available.

So, in our discussion here, you and me had a very difficult mental image of a wizard. I have spent years designing and writing wizards for a very tough crowd (old patients with chronic disease, very little understanding of what to do with computers, no desire to learn that discipline and no patience for what I was building).

So, my point was that I would expect how in our mutual interactions, nobody takes the knee-jerk reaction like "this guy seems to be confused". A lot better approach would be "let me think again what is this about" and if that did not help - ask "what did you mean by "xxxx")

As an example of a wizard design guidance I will mention this.aspx) even if this is not the state of the art anymore.

Vegar Ringdal
@vegarringdal
Jun 28 2016 21:17
:-)
Nikolaj Ivancic
@adriatic
Jun 28 2016 21:22

I hope that you see my "teachnings" as , my desire to make our communications as good as it can be. My ability to do that is my strongest asset polished in decades of work as project leader, director of software development and most of the time as VP development, when I had to do the second line of training my directors how to that.

If anyone finds me doing that unnecessary - just drop me a note and I will stop on a dime :-)

Vegar Ringdal
@vegarringdal
Jun 28 2016 21:29
@adriatic Could you paste the link in again to the exsample, not able to open it. :-)
link think I found it
Nikolaj Ivancic
@adriatic
Jun 28 2016 21:56

Sorry it's gitter that mangled the url

https://msdn.microsoft.com/en-us/library/windows/desktop/bb246463(v=vs.85).aspx