Commit Graph

1698 Commits

Author SHA1 Message Date
Kirill Shumilov
9793c708bc style(xod-client): use red-bright color for wavy error line, “DP” icon, deprecation description and etc 2018-03-21 12:37:20 +03:00
Kirill Shumilov
c07a5fc0a9 feat(xod-client): mark deprecated nodes (and dead ref) with wavy line under Node label and show "Deprecated" message in the Node tooltip 2018-03-21 12:37:20 +03:00
Kirill Shumilov
034ca0030d test(xod-project): cover new functions isDeprecatedPatch and getDeprecationPatchReason with tests 2018-03-21 12:37:20 +03:00
Kirill Shumilov
299d19f679 feat(xod-client, xod-project): show deprecation reason in the helpbox & help panel 2018-03-21 12:37:20 +03:00
Kirill Shumilov
e519e95bbf feat(xod-client): show deprecation icon next to the patch name in the ProjectBrowser 2018-03-21 12:37:20 +03:00
Kirill Shumilov
459498cfc2 feat(xod-client): show/hide deprecated patches in the ProjectBrowser by toggling filter option 2018-03-21 12:37:20 +03:00
Kirill Shumilov
3a7c919f69 feat(xod-client): do not show deprecated patches (and current patch) in the suggester 2018-03-20 16:18:32 +03:00
Kirill Shumilov
279d2455f2 feat(xod-project): add deprecated marker into built-in patches and add isDeprecatedPatch function 2018-03-20 16:18:32 +03:00
Evgeny Kochetkov
5706f87746 tweak(xod-project): add start of the string to regxeps checking paths of constant-*, variadic-* and internal terminals 2018-03-20 15:56:50 +03:00
Evgeny Kochetkov
f9cfce6c33 feat(xod-project, stdlib, workspace): use xod/core/cast(*,*) instead of xod/core/cast-*-to-* 2018-03-20 15:50:38 +03:00
Evgeny Kochetkov
542127e14f chore(infra): apply eslint/prettier to 'tools' and 'benchmark' folders 2018-03-20 15:50:37 +03:00
Evgeny Kochetkov
4cc39d51d4 feat(xod-project): recognize xod/core/defer(*) nodes as defer nodes 2018-03-20 15:50:37 +03:00
Evgeny Kochetkov
52ab0cac9a fix(xod-arduino): correctly transform patch names with type specifications
`foo(number,string) -> foo__number__string`
2018-03-20 13:41:06 +03:00
Evgeny Kochetkov
3ee3259452 fix(xod-fs): fix getPatchName type definition 2018-03-20 13:41:06 +03:00
Evgeny Kochetkov
6afe369dda tweak(xod-project): make canCastTypes always pass strict type check 2018-03-20 13:41:06 +03:00
Evgeny Kochetkov
b11d259dc6 tweak(xod-project): add PatchBaseName type 2018-03-20 13:41:06 +03:00
Victor Nakoryakov
71d02cca46 fix(xod-client): don’t overflow in the middle of the line of suggester 2018-03-19 16:10:47 +03:00
Victor Nakoryakov
e6c30b991e tweak(xod-client): support for IDE window width down to 700px 2018-03-19 16:10:47 +03:00
Kirill Shumilov
f6cdb1fe1d test(xod-project): add tests for validateLinkPins function 2018-03-19 13:36:57 +03:00
Kirill Shumilov
2ffeec0f40 feat(xod-client): draw links with incompatible pin types as broken and show tooltips with error message for any broken link 2018-03-19 13:36:57 +03:00
Kirill Shumilov
7787a4e8a6 feat(xod-project): validate links for compatibility of pin types and show error on transpile. Tweak errors in xod-project to show it with title in the IDE. Show "Dead reference error" only in actual errors. 2018-03-19 13:36:57 +03:00
Victor Nakoryakov
16ec78c87d feat(xod-client-electron): preserve main window geometry across launches
Closes #868
2018-03-16 19:01:25 +03:00
Evgeny Kochetkov
035121c640 refactor(xod-client): rename DeadPinWidget to DisabledInputWidget 2018-03-16 15:44:54 +03:00
Evgeny Kochetkov
0ef2e2f1a0 feat(xod-project, xod-client): allow to create abstract nodes 2018-03-16 15:41:38 +03:00
Kirill Shumilov
d0a631e186 tweak(xod-client): show current patch name in the rename popup and autoselect value on render 2018-03-15 11:54:14 +03:00
Kirill Shumilov
683bb050d2 feat(xod-client): allow to create and rename patches using new rules (with types) 2018-03-15 11:54:14 +03:00
Kirill Shumilov
6aa2cfc86f feat(xod-project): allow to specify types in the patch path (E.G. @/some-patch(string,number)) and fix not working validation of patch paths 2018-03-15 11:54:14 +03:00
Kirill Shumilov
22dd4fba4f style(xod-client): stylize occupied input pins highlighting while linking pins (less opacity) 2018-03-13 17:04:34 +03:00
Kirill Shumilov
ac4a6ead30 tweak(xod-client): allow to relink occupied pins 2018-03-13 17:04:34 +03:00
Evgeny Kochetkov
a0709375ae chore(infra): release 0.19.2 2018-03-12 16:47:47 +03:00
Evgeny Kochetkov
f433438233 fix(xod-project): check for dead links more strictly
Closes #1105
2018-03-12 14:57:41 +03:00
Evgeny Kochetkov
e6ab08e297 chore(infra): format code with prettier
Just `yarn lint  --fix`
2018-03-05 17:59:03 +03:00
Evgeny Kochetkov
448dc09c9b chore(infra): release 0.19.0 2018-03-02 14:22:03 +03:00
Evgeny Kochetkov
871fa061be tweak(xod-client): show if a pin is variadic in help panel 2018-03-02 12:55:43 +03:00
Kirill Shumilov
9da70221bf fix(xod-client): fix hanging hover effect on Node after moving / drilling down and etc 2018-03-01 19:02:00 +03:00
Evgeny Kochetkov
74122a49c3 fixup! doc(tutorial): tweak texts to match new labeling scheme for variadic nodes 2018-03-01 18:08:47 +03:00
Kirill Shumilov
c840773004 tweak(xod-client): render dots inside Pins for variadic Node in Inspector 2018-03-01 14:47:53 +03:00
Kirill Shumilov
f3c74789be fix(xod-client): remove isRequired from TooltipHOC property to avoid React Warnings on dragging Node 2018-03-01 14:47:53 +03:00
Kirill Shumilov
ec9197a385 tweak(xod-client): change style of variadic Node grip (6px -> 5px, add 0.5px to x) 2018-03-01 14:47:53 +03:00
Kirill Shumilov
8be63c0448 feat(xod-client): show PinDots only on Node hover 2018-03-01 14:47:53 +03:00
Kirill Shumilov
648a5f5504 tweak(xod-client): optimize using of Project (for new mode) in the Patch container 2018-03-01 12:01:25 +03:00
Kirill Shumilov
b36ad05673 tweak(xod-client): make variadic Nodes renders the same way in the Helpbox and when dragging Node from ProjectBrowser + avoid mouse events on Node in the Helpbox 2018-03-01 12:01:25 +03:00
Kirill Shumilov
fca389eccc feat(xod-client): make possible to change Node arityLevel within GUI 2018-03-01 12:01:25 +03:00
Evgeny Kochetkov
79b2a0e7cb tweak(xod-client): don’t show tooltip for dragged node 2018-03-01 11:24:54 +03:00
Evgeny Kochetkov
e6af2a2c24 fix(xod-client): prevent “stuck” tooltips 2018-02-28 16:07:21 +03:00
Evgeny Kochetkov
f82d813240 fix(xod-project): fix links orientation when expanding variadic patches 2018-02-28 13:05:56 +03:00
Evgeny Kochetkov
cf96d942f2 fix(xod-project): start indexing additional terminals from 1 when expanding variadic patches 2018-02-28 13:05:56 +03:00
Evgeny Kochetkov
9278266f3c feat(stdlib): make standard nodes variadic 2018-02-28 13:05:56 +03:00
Kirill Shumilov
2decb1c6e0 fix(xod-project): fix rendering of one superfluous variadic group (arityLevel === 2 means that there is only one additional pin) 2018-02-27 18:53:35 +03:00
Kirill Shumilov
51fddba3e6 feat(xod-client): mark latest variadic Pins with "dots" and improve drawing of the Links in moving mode to prevent ugly overlapping of link enging over "dots" symbol 2018-02-27 17:54:35 +03:00