Commit Graph

1695 Commits

Author SHA1 Message Date
Evgeny Kochetkov
0448ea49b5 infra(xod-client, xod-client-browser, xod-client-electron): upgrade react to 15.4.2, get rid of react-hot-loader
Benefits of a fresher version of React don't need an explanation :)

And `react-hot-loader` was not doing anything for us — page was fully reloaded on every change anyway.
2017-03-02 19:51:06 +03:00
Victor Nakoryakov
75dde4ba38 Merge pull request #412 from xodio/doc-issue-template-grammar
doc(infra): fix few typos in ISSUE_TEMPLATE
2017-03-02 16:02:45 +03:00
Victor Nakoryakov
9567e7fec9 doc(infra): fix few typos in ISSUE_TEMPLATE
Grammar issues
2017-03-02 15:36:33 +03:00
Evgeny Kochetkov
4ef597fa64 Merge pull request #404 from xodio/feat-403-shadow-under-dragged-node
feat(xod-client): render a shadow under a dragged node
2017-03-02 13:43:41 +03:00
Evgeny Kochetkov
b6b281e379 feat(xod-client): render a shadow under a dragged node
Closes #403
2017-03-01 18:53:13 +03:00
Victor Nakoryakov
524907b2a8 Merge pull request #396 from xodio/doc-update-contributing
doc(infra): minor fixes in README, align PR template to reality
2017-03-01 17:49:44 +03:00
Victor Nakoryakov
cdb200e73f doc(infra): minor fixes in README, align PR template to reality 2017-03-01 17:27:06 +03:00
Evgeny Kochetkov
4fa4565f9d Merge pull request #402 from xodio/feat-394-editor-rendering-order
Feat 394 editor rendering order
2017-03-01 16:08:52 +03:00
Evgeny Kochetkov
bde26cc175 tweak(xod-client): remove PinsLayer and NodePins components
they are not used anymore
2017-03-01 15:51:25 +03:00
Evgeny Kochetkov
03ad1da6a5 refactor(xod-client): change drawing order of editor objects, introduce new layer 2017-03-01 14:11:51 +03:00
Evgeny Kochetkov
ab9c213c90 refactor(xod-client): change Links appearance, render them on top of Pins 2017-03-01 13:55:25 +03:00
Evgeny Kochetkov
7d1e6c9461 refactor(xod-core): render node pins in a separate layer
Part of #394.
2017-03-01 11:18:48 +03:00
Evgeny Kochetkov
b053e1a75e refactor(xod-client): extract PinLabel component from Pin
This will be required to render them on separate layers.
See #394.
2017-02-28 19:25:26 +03:00
Evgeny Kochetkov
faed2f7d8a Merge pull request #398 from xodio/tweak-remove-stylizer-util
tweak(xod-client): remove Stylizer util
2017-02-28 18:22:49 +03:00
Evgeny Kochetkov
a05dd3c362 tweak(xod-client): remove Stylizer util
It's just dead code.
2017-02-28 16:00:30 +03:00
Evgeny Kochetkov
e76eea623c Merge pull request #399 from xodio/infra-add-test-watch-npm-script
infra(xod-client): add test:watch npm script
2017-02-28 15:58:40 +03:00
Evgeny Kochetkov
d7d5d655a3 infra(xod-client): add test:watch npm script 2017-02-28 13:38:26 +03:00
Evgeny Kochetkov
b435884830 Merge pull request #390 from xodio/set-up-storybook
feature(xod-client): set up react-storybook
2017-02-28 13:31:00 +03:00
Evgeny Kochetkov
a1608cb866 refactor(xod-client): add dedicated webpack config for storybook
instead of borrowing one from `xod-client-browser`
2017-02-28 13:16:14 +03:00
Evgeny Kochetkov
ef206a96b2 tweak(xod-client): allow extraneous devDependencies for stories 2017-02-28 13:16:14 +03:00
Evgeny Kochetkov
344e0b35f9 feature(xod-client): set up react-storybook
- `npm run storybook`
- open http://localhost:9001/
2017-02-28 13:16:14 +03:00
Kirill Shumilov
56877775c9 Merge pull request #393 from xodio/feat-314-arduino-transpiler
Templating for arduino transpiler
2017-02-28 13:15:47 +03:00
Kirill Shumilov
acc613ffc3 refactor(xod-arduino): rename generatedCode with patchContext (function names and file names) 2017-02-28 12:41:49 +03:00
Kirill Shumilov
f12e84e716 chore(xod-arduino): replace redundant code 2017-02-28 12:37:36 +03:00
Kirill Shumilov
3d9c12745e fix(xod-arduino): replace hardcoded 0 by 0-based index of outputs 2017-02-28 12:37:12 +03:00
Kirill Shumilov
9b04ffa8fd chore(xod-arduino): remove excessive comments 2017-02-27 20:45:51 +03:00
Kirill Shumilov
21f7f1dd77 refactor(xod-arduino): remove handlebars-delimiters dependency and update templates using default brakets {{ }} instead of custom <% %> 2017-02-27 20:45:51 +03:00
Kirill Shumilov
141ca2a93b fix(xod-arduino): fix version of hm-def 2017-02-27 20:45:51 +03:00
Kirill Shumilov
9755eb6622 feat,test(xod-arduino): add code templates and test for them, define types for transformed project (that used by templates) 2017-02-27 20:45:51 +03:00
Kirill Shumilov
b594b77eb6 chore(xod-arduino): prepare templates for further transpiling and fix namespaces in the blink.cpp fixture to prevent conflicts in the owner names 2017-02-27 20:45:51 +03:00
Kirill Shumilov
ef43b5846f feat(xod-arduino): create configs for the package for futher development 2017-02-27 20:45:51 +03:00
Evgeny Kochetkov
9576949817 Merge pull request #391 from xodio/fix-294-inspector-inputs-masks
Fix 294 inspector inputs masks
2017-02-27 19:28:58 +03:00
Evgeny Kochetkov
cba4533e38 refactor(xod-core, xod-client): move functions for handling input in inspector widget to xod-client 2017-02-27 19:18:11 +03:00
Evgeny Kochetkov
3ea8cfb449 tweak(xod-core): simplify number sanitising function 2017-02-27 18:43:56 +03:00
Evgeny Kochetkov
006b22d1c9 tweak(xod-client): remove redundant state part in Widget component 2017-02-27 18:43:56 +03:00
Evgeny Kochetkov
a1a4a4b67f feat(xod-client): apply masking functions when editing values in inspector widgets
Fixes #294.
2017-02-27 18:43:56 +03:00
Evgeny Kochetkov
68ae53dd82 feat(xod-core): add mask functions
This is a prerequisite to #294. It allows to split logic of preventing invalid input while editing props and parsing a value when input is done.
2017-02-27 18:43:56 +03:00
Evgeny Kochetkov
ff9c94ae9f Merge pull request #392 from xodio/fix-386-toolbar-proptypes
fix(xod-client): fix menuBarItems proptypes validation for Toolbar component
2017-02-27 18:42:42 +03:00
Evgeny Kochetkov
06cb7e7a1d fix(xod-client): fix menuBarItems proptypes validation for Toolbar component
Closes #386
2017-02-27 18:25:40 +03:00
Evgeny Kochetkov
7bb7493da6 Merge pull request #387 from xodio/feat-361-part2-simple-snapping
feat(xod-client): simple snapping to slots
2017-02-27 17:45:53 +03:00
Evgeny Kochetkov
247d333c5e refactor(xod-client): improve snapping 2017-02-27 16:10:31 +03:00
Evgeny Kochetkov
b1c42d4c98 tweak(xod-client): stop hardcoding node corner radius 2017-02-27 16:10:31 +03:00
Evgeny Kochetkov
47a6332ab5 feat(xod-client): simple snapping to slots
Part of #361

Just snapping to slots.
Does not include validation of nodes position and preventing nodes from overlapping.
2017-02-27 16:10:31 +03:00
Victor Nakoryakov
679a6169c9 Merge pull request #389 from xodio/fix-388-espruino-clear-flash
Fix 388 espruino clear flash
2017-02-27 12:40:41 +03:00
Alexander Matsievsky
9883803781 Merge branch 'master' into fix-388-espruino-clear-flash 2017-02-27 11:53:31 +03:00
Victor Nakoryakov
b5a240f175 chore(xod-espruino-upload): remove forgotten temporary debug hook 2017-02-22 17:59:30 +03:00
Victor Nakoryakov
545d009563 fix(xod-espruino-upload): clear boot code before flashing XOD program 2017-02-22 17:56:45 +03:00
Evgeny Kochetkov
fd621bff19 Merge pull request #380 from xodio/feat-361-part1-draw-slots
feat(xod-client): draw slots for nodes
2017-02-22 15:22:41 +03:00
Evgeny Kochetkov
c91851bcbc feat(xod-client): draw slots for nodes
Part of issue #361.
Does not snapping etc.
2017-02-22 15:14:14 +03:00
Evgeny Kochetkov
a54627e30f Merge pull request #384 from xodio/fix-381-node-linking
fix(xod-client): fix overwriting nodeId when calculating links positions
2017-02-22 13:51:27 +03:00