Commit Graph

1530 Commits

Author SHA1 Message Date
Evgeny Kochetkov
1b6fed1233 fix(xod-client): return Patch component to default mode when patch from project browser was dragged out
Fixes #944
2017-12-11 19:22:48 +03:00
Evgeny Kochetkov
313c6ed145 test(xod-client-electron): remove unneeded assertion 2017-12-11 18:15:20 +03:00
Evgeny Kochetkov
a91f306c94 fix(xod-client): make Node component’s SCU less strict 2017-12-11 16:19:42 +03:00
Evgeny Kochetkov
217589a4e4 infra(xod-client-browser): add UI performance benchmark using puppeteer 2017-12-11 12:43:18 +03:00
Evgeny Kochetkov
166a1cb35e tweak(xod-client): avoid unnecessary rerendes (mostly using SCU and PureComponent) 2017-12-08 20:24:13 +03:00
Evgeny Kochetkov
a885257f88 tweak(xod-client): throttle state updates when dragging patch from project browser 2017-12-08 20:20:28 +03:00
Evgeny Kochetkov
9d1a50dfcf infra(xod-project-browser): bring in why-did-you-update for detecting unnecessary rerenders
set env variable WHY_DID_YOU_UPDATE to true to enable it
2017-12-08 18:32:32 +03:00
Evgeny Kochetkov
7218e087a7 tweak(xod-client): hide moved/resized nodes instead of unmounting; remove unnecessary state recalculations 2017-12-08 17:53:51 +03:00
Evgeny Kochetkov
4b1a6ad3d4 tweak(xod-client): always render overlay layers in Patch to avoid remounting 2017-12-08 17:08:47 +03:00
Evgeny Kochetkov
c1fcfb3497 chore(xod-client): replace debounce package with throttle-debounce 2017-12-08 16:59:45 +03:00
Evgeny Kochetkov
327d0a10d8 chore(xod-client): upgrade to React v16.2
update incopmatible deps;
ditch our forks of `react-hotkeys` and `react-collapsible` in favor of upstream versions
2017-12-08 16:57:40 +03:00
Evgeny Kochetkov
cd7797a021 chore(xod-client, xod-client-browser, xod-client-electron): remove bundled redux-devtools in favor of using chrome extension in both browser and electron 2017-12-08 16:52:53 +03:00
Evgeny Kochetkov
5a0adaeb51 tweak(xod-client): add some DOM attibutes for easier func testing 2017-12-06 17:30:53 +03:00
Victor Nakoryakov
166866da3c fix(xod-arduino): illegal namespace names when a native patch is local
Local patches got namespace names containing `@` symbol which is illegal
in C++ identifiers
2017-12-06 11:46:36 +03:00
Kirill Shumilov
2516eaa3b1 fix(xod-client): escape regexp characters in Suggester 2017-12-04 20:59:19 +03:00
Kirill Shumilov
cdc915947b fix(xod-pm): remove errored swagger client from memoized function 2017-12-04 20:57:17 +03:00
Kirill Shumilov
799d08baae fix(xod-pm): handle network error in publishing library pipeline 2017-12-04 20:57:17 +03:00
Kirill Shumilov
0baebcaa94 fix(xod-client): prevent dropping grants when user publishes library without network connection 2017-12-04 17:59:25 +03:00
Kirill Shumilov
2538c26354 fix(xod-client): catch failed logout request and show "service is unavailable" error 2017-12-04 17:34:41 +03:00
Kirill Shumilov
5cf16ff042 fix(xod-client): fix styles to make code editor scrolls normally and fits window 2017-12-04 13:23:50 +03:00
Kirill Shumilov
8088065230 tweak(xod-client): submit auth form on "enter" press inside inputs 2017-12-04 12:57:06 +03:00
Evgeny Kochetkov
a37e55fb7a tweak(xod-client): auto-select added node and focus workarea
Closes #860
2017-12-01 16:47:53 +03:00
Evgeny Kochetkov
2dc106c85d test(xod-pm): update xod/common-hardware dependencies in functional test 2017-12-01 16:36:05 +03:00
Victor Nakoryakov
2a9c2f3f5e chore(infra): release 0.16.0 2017-12-01 13:46:09 +03:00
Evgeny Kochetkov
02d8f86cdd tweak(xod-project): change version validation regexp to match server-side validation rules 2017-11-30 19:54:13 +03:00
Evgeny Kochetkov
f8b9f2b9cd feat(xod-pm, xod-client): add ability to publish library from IDE
Closes #872
2017-11-30 19:52:27 +03:00
Kirill Shumilov
20137c4310 fix(xod-client): use project from state, instead of project from payload (that does not contain any libs on import), to calculate missing library names and resolve libraries 2017-11-30 18:08:07 +03:00
Kirill Shumilov
18dcee4c79 fix(xod-fs): fix saving of project meta file 2017-11-30 17:27:57 +03:00
Kirill Shumilov
41ad3cf5df fix(xod-client): fix an outdated content in the Project Preferences popup 2017-11-30 17:27:57 +03:00
Kirill Shumilov
dffefb92b7 test(xod-client-electron): add waitForExist to avoid failing test on installing library suite 2017-11-29 14:31:34 +03:00
Evgeny Kochetkov
2700d5e2e8 tweak(xod-client): use the common error mechanism to display login errors 2017-11-29 13:57:17 +03:00
Evgeny Kochetkov
d706e8f2cc feat(xod-client, xod-client-electron, cod-client-browser): add account pane
Closes #889
2017-11-29 13:57:17 +03:00
Kirill Shumilov
a007d3917e test(xod-client-electron): add waiting for rendering of Editor component in electron functional tests to avoid failing of tests on slower machines (like Travis) 2017-11-29 13:25:53 +03:00
Evgeny Kochetkov
84f33c372f fix(xod-client): safer access to current tab properties
Closes #904
2017-11-29 11:22:52 +03:00
Kirill Shumilov
676b887a56 refactor(xod-pm, xod-fs, xod-client): fix naming of some functions and variables (get rid of "pure" from lib names) and grammarly, remove explode maybe with custom message, cause it should never happen here (or fail earlier) 2017-11-28 19:54:02 +03:00
Kirill Shumilov
0b2bcb933c feat(xod-pm, xod-client, xod-cli): make recursive fetching works fine with a lists of libraries, prevent fetching of already installed libraries, integrate it into both clients and cli, add auto-resolving of libraries on open/import project 2017-11-28 18:03:40 +03:00
Kirill Shumilov
a8c27ec536 feat(xod-fs): add scanWorkspaceForLibNames function that returns a list of installed libraries in the workspace 2017-11-28 18:03:40 +03:00
Kirill Shumilov
55c6a454a7 feat(xod-client-electron, xod-client): make installing of libraries with dependencies in electron client saves all installed libs on FS, rename INSTALL_LIBRARY into INSTAL_LIBRARIES 2017-11-28 18:03:40 +03:00
Kirill Shumilov
e6175c2926 refactor(xod-client, xod-pm): integrate new fetchLibraryWithDependencies into xod-client (WITHOUT SAVE ON FS, IT IS BROKEN NOW, SQUASH ME WITH NEXT COMMIT!) 2017-11-28 18:03:40 +03:00
Kirill Shumilov
aac4f6c7e5 chore(xod): add dev script in all packages, that missed it 2017-11-28 18:03:40 +03:00
Kirill Shumilov
163ca993ba feat(xod-pm, xod-fs, xod-cli, xod-project): implement and integrate functions that (a) fetches libraries with dependencies and (b) saves it to the file system 2017-11-24 14:05:54 +03:00
Kirill Shumilov
2a0b244e59 feat(xod-func-tools): add maybeToPromise function that accepts two functions and Maybe 2017-11-24 14:05:54 +03:00
Kirill Shumilov
24a416118c feat(xod-project): add functions that returns lists of installed library names, of used libraries (somewhere in patches) and missed library names (based on previvous two functions), add PatchPathUtil function getOwnerName 2017-11-24 14:05:54 +03:00
Kirill Shumilov
4e52e9a72b chore(xod-project): update chai to latest 4.1.2 version, fix few tests (breaking changes + some tests falsy passed in the past) 2017-11-24 14:05:54 +03:00
Victor Nakoryakov
5983378aee tweak(xod-client): use 4-spaces for indentation in C++ code editor 2017-11-22 13:15:14 +03:00
Victor Nakoryakov
75d3b1f743 chore(xod-client-electron): vendor SD Arduino library 2017-11-22 13:15:14 +03:00
Kirill Shumilov
0e4c345921 refactor(xod-client, xod-client-electron): rename menu item Save Project into Save all, rename all constants SAVE_PROJECT, PROJECT_SAVE into SAVE_ALL, all actions, subscribing functions, handlers and etc from something like onSaveProject into onSaveAll and etc 2017-11-22 12:08:48 +03:00
Kirill Shumilov
b381b62e72 test(xod-client-electron): add functional tests aboud saving project/libraries 2017-11-22 12:08:47 +03:00
Kirill Shumilov
5138e675d4 feat(xod-client, xod-client-electron): integrate new saveAll function into client 2017-11-22 12:08:47 +03:00
Kirill Shumilov
aeb8a97a3b feat(xod-fs): implement dff functions that find changed patches and find a kind of changes and saveAll function that saves all project using diff function to detect what to save, what to skip 2017-11-22 12:08:47 +03:00