Commit Graph

61 Commits

Author SHA1 Message Date
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
c51fdf6787 feat(infra): set up prettier 2018-03-05 17:59:02 +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
Evgeny Kochetkov
78067a5c9f chore(xod-client-electron): bump version of forked electron-builder 2018-01-29 19:35:43 +03:00
Evgeny Kochetkov
a7c20536f5 chore(xod-client-electron): bump electron to v1.6.16
Electron has a known critical severity security vulnerability in version range >= 1.6.0,< 1.6.16 and should be updated.
2018-01-29 13:58:58 +03:00
Evgeny Kochetkov
80a985c045 feat(xod-client, xod-client-browser, xod-client-electron): add ability to trigger some actions by special xod:// links, “Open Tutorial Project” action and menu items 2018-01-29 13:38:28 +03:00
Evgeny Kochetkov
100fc3410f feat(xod-client, xod-client-browser, xod-client-electron): add commands to pan patch to origin and center
Closes# 1035
2018-01-25 18:25:54 +03:00
Kirill Shumilov
3a70be2f74 test (xod-fs): add test for loading libs from two different workspaces and updated chai everywhere 2018-01-25 16:22:22 +03:00
Victor Nakoryakov
fcb94c7ae7 chore(yarn): forgotten yarn.lock update 2018-01-22 13:26:15 +03:00
Victor Nakoryakov
4f0cdcf449 chore(infra): fix few peer dependency warnings
- `mocha-webpack`: delete as it actually no longer used
- `react-sortable-hoc`: upgrade to the new version
- `react-event-listener`: upgrade to the new version
2018-01-22 12:52:36 +03:00
Victor Nakoryakov
1111fbcae4 chore(xod-client): upgrade postcss-loader
Fixes `parseQuery` deprecation warning while building `xod-client-*`
2018-01-22 12:52:36 +03:00
Victor Nakoryakov
56b799814a chore(infra): update Lerna to 2.8.0
It fixes the bug of using NPM instead of Yarn while doing `lerna run`
2018-01-22 12:52:36 +03:00
Evgeny Kochetkov
adfac799f8 feat(xod-client): use markdown in comment nodes
Closes #1028
2018-01-22 11:26:03 +03:00
Victor Nakoryakov
700543ad51 chore(infra): add Flow 2018-01-18 15:32:07 +03:00
Victor Nakoryakov
133e880523 chore(infra): update Lerna to 2.6.0
Defeats very repetitive and verbose output in case of an error like
unit-test failure
2018-01-18 15:32:07 +03:00
Kirill Shumilov
6d37728937 chore(xod): update hm-def and sanctuary-def, fix some wrong function definitions that brokes runtime 2018-01-16 11:46:02 +03:00
Evgeny Kochetkov
9ca1392b3c tweak(xod-client-electron): show context menu on right-click in every appropriate places, not only in inputs 2018-01-15 18:07:08 +03:00
Evgeny Kochetkov
f5376292b9 chore(xod-client-electron, xod-client-browser): test ui-related using puppeteer instead of spectron 2018-01-12 15:09:28 +03:00
Kirill Shumilov
6e313f9764 chore(xod-client-electron): add a workaround into webpack.config.js of electron version to prevent showing Warning (and do not use dirty hack from encoding package, that causes this warning) 2017-12-29 13:56:51 +03:00
Kirill Shumilov
d2027e79b3 chore(xod): update Webpack to v3 (bundle reduced x2), update Ramda versions, prepare it for further updates
Squashed commits:
[af77987] refactor(xod-client, xod-client-browser, xod-client-electron): move common webpack config into xod-client, and extend it with specific options in other endpoint clients (browser/electron)
[ddae62d] chore(xod): update `hm-def` to latest `0.2.1` version (that uses the same Ramda version)
[5d80680] chore(xod): prepare all Ramda imports and some functions to migrate to 0.25.1 to be optimized better by tree-shaker (0.25.0 already has a features for better tree shaking, but it has a lot of bugs and perfomance regressions, so we’ll stay at 0.24.1 for a while)
[9c05d6c] chore(xod-client-browser, xod-client-electron): enable UglifyJS webpack plugin to eliminate dead code and minify bundle (7.8MB -> 3.8MB)
[cafbfcf] chore(xod, xod-client-browser, xod-client-electron): update webpack to version 3, update loaders,
2017-12-29 13:31:32 +03:00
Evgeny Kochetkov
7847a2e375 chore(xod-client): update our fork of react-skylight 2017-12-27 17:01:10 +03:00
Evgeny Kochetkov
801c977f3c chore(xod-client): ditch react-autolink-text2 fork in favour of upstream version
proposed PR was merged, fork is not needed anymore
2017-12-27 17:01:10 +03:00
Victor Nakoryakov
8704e90c10 chore(xod-cli,xod-pm): update swagger client version to latest
Fixes spammy warnings: `Parameter 'orgname' is ambiguous because the
defined spec has more than one parameter with the name: 'orgname' and
the passed-in parameter values did not define an 'in' value.`

See: https://github.com/swagger-api/swagger-js/pull/1197
2017-12-26 13:31:56 +03:00
Evgeny Kochetkov
ae8b9b6906 feat(xod-client): adjust browser main menu aesthetics and behavior
Closes #935
2017-12-20 12:41:49 +03:00
Evgeny Kochetkov
c41311543a chore(xod-client): remove unused deps 2017-12-19 22:19:06 +03:00
Evgeny Kochetkov
88ed40529c chore(xod-client): bump rc-menu version to 6.2.3 2017-12-19 22:19:06 +03:00
Kirill Shumilov
0606a58a9c feat(xod-client): implement new configurable sidebar system, store user settings in localStorage (both for browser & electron versions), implement new Quick help panel (issue #933). 2017-12-19 15:29:01 +03:00
Kirill Shumilov
40b29fd915 feat(xod-client): implement contextmenu in the Project Browser, add Add Library button to ProjectBrowser PanelToolbar, update tests to work properly with new contextmenu & replace title attributes in PatchGroupItems with data-id attributes 2017-12-14 11:52:07 +03:00
Evgeny Kochetkov
2ffad969c4 chore(infra): upgrade storybook 2017-12-13 13:34:59 +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
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
c1fcfb3497 chore(xod-client): replace debounce package with throttle-debounce 2017-12-08 16:59:45 +03:00
Kirill Shumilov
837f5f2f26 chore(xod): update spectron version 2017-11-30 18:08:07 +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
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
Kirill Shumilov
bcb70b5fad chore(xod): update all fs-extra dependencies to version "^4.0.2" 2017-11-22 12:08:47 +03:00
Evgeny Kochetkov
b6f0956653 feat(xod-client): integrate c++ code editor
Closes #879
2017-11-17 18:47:40 +03:00
Evgeny Kochetkov
c93193add8 chore(xod-client, xod-client-electron, xod-cleint-browser): upgrade to react-fa v5; ditch our fork 2017-11-17 16:10:50 +03:00
Kirill Shumilov
e9b2eb15a1 feat(xod-client, xod-client-browser, xod-client-electron, xod-fs): add feature to install libraries from cloud in the IDE, integrate in both clients, add saving on FS for desktop client 2017-11-15 10:49:10 +03:00
Kirill Shumilov
3a8596b51a refactor, test(xod-func-tools): move functions into separate modules, cover almost all functions (complex or derivative), move tests into separate specs, add foldMaybe 2017-11-15 10:49:09 +03:00
Kirill Shumilov
04e5a9b915 feat(xod-client, xod-client-electron, xod-client-browser): add split pane component and integrate it into Sidebar and both of clients (save height of pane for next sessions) 2017-11-02 18:44:30 +03:00
Victor Nakoryakov
8863fe360f chore(infra): remove obsolete root-level dev-dependencies 2017-11-01 16:49:19 +03:00
Kirill Shumilov
3fbd6a3bab feat(xod-client): add marquee selecting mode to the editor 2017-11-01 16:11:05 +03:00
Alexander Matsievsky
91b744a4d5 feat(xod-client,xod-client-browser,xod-client-electron): display compilation limits 2017-10-25 18:13:48 +03:00
Kirill Shumilov
fb248cf16e feat(xod-fs, xod-client-electron, xod-cli): load libs from a local workspace and extra lib directories (+4 squashed commits)
Squashed commits:
[12a9428] refactor(xod-cli): bundle std libs with xodc and use them in `xodc transpile` command
[66d1b9d] refactor(xod-fs, workspace): rename `lib` folder into `__lib__` and make it not necessary and don't copy stdlib into user workspace
[f19c366] feat(xod-fs): load project with libs from local workspace and bundled workspace
[ea9ac0e] feat(xod-func-tools): add `uniqLists` function
2017-10-23 18:54:24 +03:00
Evgeny Kochetkov
fcce2711ae chore(infra): upgrade electron-builder to official version that works with yarn-workspaces
# Conflicts:
#	yarn.lock
2017-10-21 10:00:44 +03:00
Evgeny Kochetkov
bd26bb2618 chore(infra): update node, yarn, lerna; use yarn workspaces
Closes #805
2017-10-21 10:00:44 +03:00
Kirill Shumilov
cc8f45e412 feat(xod-client, xod-patch-search): add xod-patch-search package that searches for nodes, add Suggester component and integrate it in all clients (+21 squashed commits)
Squashed commits:
[195011e] chore(xod): update yarn.lock
[3bedd7d] feat(xod-client): separate highlighted and hovered styles in Suggester
[d8cfe14] refactor(xod-client): use edited fork of `react-autosuggester` and remove some kludges
[ed5bc42] fix(xod-client): fix bug with new node position when adding it using suggester without double click on the patch
[4490a60] fix(xod-client): highlight first element of autosuggester
[3b99f5c] chore(xod): bump `xod-patch-search` version to 0.12.1
[9282fd3] chore(xod-client): add some comments to SuggesterContainer.jsx
[d95b08a] test(xod-patch-search): make tests more resilient to changes
[b11c8af] refactor(xod-client): use util `isInput` instead of some code duplication
[3cb6411] fix(xod-client): fix styles for `Suggester-container-blocker`
[40f46bc] refactor(xod-client): move `Suggester-container-blocker` styles into scss, add cursor style for whole container
[175a79a] chore(xod): add `xod-patch-search/node_modules` into travis.yml caches
[b07588a] refactor(xod-client-browser, xod-client-electron): move menu item `Insert Node` over `Insert Comment`
[f62a696] tweak(xod-client): add some kludges to Suggester to improve UX
[47c30e0] fix,refactor(xod-client): fix some bugs with hotkey, rename selector, move SuggesterContainer into separate component
[4c9240a] tweak(xod-patch-search): filter results inside search function and tweak it
[a6e5d59] tweak(xod-patch-search): tweak search by adding custom `refineScore` function
[9169061] refactor(xod-patch-search): tuned weights, removed fixture and use xod-fs and workspace instead
[161f80e] feat(xod-client): added feature to place a new node by double click on patch background
[afae421] feat(xod-client): added Suggester component, integrate it in all clients
[ae1c397] feat(xod-patch-search): implement and configure search index and function that converts patches into index data in the new package
2017-08-31 13:56:54 +03:00
Evgeny Kochetkov
27cda357e0 infra(xod-client, xod-client-electron, xod-client-browser): add babel-plugin-transform-object-rest-spread 2017-08-30 14:44:58 +03:00
Alexander Matsievsky
89f234e684 feat(xod-client-electron): enable xod-client-electron artifacts auto-update 2017-07-24 15:17:34 +03:00