Commit Graph

183 Commits

Author SHA1 Message Date
Victor Nakoryakov
8629fe0336 chore(ci): add travis scaffold 2016-06-28 16:18:16 +03:00
Kirill Shumilov
86f96a273b Merge pull request #53 from amperka/node_move_refactor
Node move refactor
2016-06-27 19:13:28 +03:00
Kirill Shumilov
5bd302dbf8 refactor(viewstate): remove deprecated files 2016-06-27 17:27:18 +03:00
Kirill Shumilov
ee7bc84dfd fix(reducers): remove initial state from reducers 2016-06-27 17:26:52 +03:00
Kirill Shumilov
d57d637421 fix(patch): fix merge conflicts (attach new viewstate selectors) 2016-06-27 17:25:49 +03:00
Kirill Shumilov
6cb477f9cb feat(viewstate): add selectors for links 2016-06-27 17:22:28 +03:00
Kirill Shumilov
ee25aa1589 style(bbox): change method name addPosition -> translate 2016-06-27 17:22:28 +03:00
Kirill Shumilov
946b20fd88 fix(reducers): add default state = {} 2016-06-27 17:22:28 +03:00
Kirill Shumilov
dad3184243 fix(viewstate): fix correct position of pins inside node 2016-06-27 17:22:28 +03:00
Kirill Shumilov
15248d46a1 feat(viewstate): add selectors for nodes and pins using reselect 2016-06-27 17:22:28 +03:00
Kirill Shumilov
d033c4fcc0 refactor(reducers): remove initialstate and update from reducers 2016-06-27 17:17:28 +03:00
Kirill Shumilov
b56cdf220a refactor(viewstate): remove viewstage reducers completely 2016-06-27 17:17:13 +03:00
Kirill Shumilov
3bfe48e1bf refactor(viewstate): remove action, middleware and reducer for viewstate 2016-06-27 17:17:13 +03:00
Maxim Chepel
77cc29e0c9 Merge pull request #52 from amperka/link-reducer
Link reducers
2016-06-27 15:15:57 +03:00
Maxim Chepel
67c00447d5 fix(app): lint 2016-06-27 15:15:15 +03:00
Maxim Chepel
38467aa35f fix(tests): descriptions 2016-06-27 15:14:50 +03:00
Maxim Chepel
c5005758e9 fix(reducers): bug in node drag&drop 2016-06-27 15:00:28 +03:00
Maxim Chepel
a52c2cfdac fix(app): is working now 2016-06-27 14:31:31 +03:00
Maxim Chepel
a70ddc53c3 feat(reducers): links done 2016-06-27 12:20:26 +03:00
Maxim Chepel
60f40e396b fix(app): entry point 2016-06-27 12:20:26 +03:00
Maxim Chepel
1bac24a274 init(links): reducers 2016-06-27 12:20:26 +03:00
Maxim Chepel
2a078fb508 fix(nodes): tests 2016-06-27 12:20:26 +03:00
Maxim Chepel
9e9123b409 Auto stash for cherrypick of "feat(reducers) add empty reducers for each entity" 2016-06-27 12:20:26 +03:00
Maxim Chepel
68e398fc45 refactor(reducers): cherry-pick
split reducers into separate files
2016-06-27 12:20:26 +03:00
Kirill Shumilov
ca2001b9d1 feat(store): create stores and pass their states into app container 2016-06-27 12:20:26 +03:00
Kirill Shumilov
a0688b4a9a Merge pull request #51 from amperka/package_reselect
Add reselect into package.json
2016-06-27 12:06:51 +03:00
Kirill Shumilov
1568c8832f feat(package): add reselect into package.json 2016-06-27 12:01:45 +03:00
Kirill Shumilov
b30df5c39a Merge pull request #50 from amperka/node_move
Create store & dragging nodes feature
2016-06-27 11:39:23 +03:00
Kirill Shumilov
87106dd2f9 refactor(drag-n-drop): remove unnecessary callbacks (onDragStart), move some maths inside if statement, write a correct style rules for UserSelect 2016-06-27 11:00:24 +03:00
Kirill Shumilov
10b1a8137d feat(drag-n-drop): prevent unwanted selection of text inside svg when dragging it 2016-06-27 10:51:45 +03:00
Kirill Shumilov
5b1193feb9 refactor(drag-n-drop): add check for change position between mouseDown and mouseUp to prevent unnecesary dispatching of actions. And change names of handling methods 2016-06-27 10:44:34 +03:00
Kirill Shumilov
7cc6f119bd fix(tests): fix path to nodes reducer 2016-06-24 17:45:03 +03:00
Kirill Shumilov
74f42029b1 fix(conflicts): fix conflicts after rebase and fix some errors that came from master 2016-06-24 17:39:59 +03:00
Kirill Shumilov
df88056993 feat(drag-n-drop): drag links with nodes 2016-06-24 16:28:32 +03:00
Kirill Shumilov
2bfc82a31a fix(filename): PascalCase into camelCase (actionTypes and actions) 2016-06-24 16:28:24 +03:00
Kirill Shumilov
7f920ebaf6 refactor(app,actions): move actionTypes into separate file, and middleware from App into middlewares, add Editor container that appends into App using Provider, remove unnecessary script that I used for tests (simple reducer) 2016-06-24 16:28:24 +03:00
Kirill Shumilov
ee70a70a1b feat(drag-n-drop): position saves in store 2016-06-24 16:28:06 +03:00
Kirill Shumilov
bad02647d0 refactor(patch): add proptypes, pass patchId 2016-06-24 16:27:14 +03:00
Kirill Shumilov
e64b3e5754 refactoring(store): pass sizes through store.viewstate.sizes 2016-06-24 16:27:14 +03:00
Kirill Shumilov
5bdfaf7e79 refactor(eslint): fix eslint errors 2016-06-24 16:27:14 +03:00
Kirill Shumilov
1189f330a5 refactor(stores): combine all reducers into one store, that will pass through provider into components 2016-06-24 16:27:14 +03:00
Kirill Shumilov
4416f7f82a refactor(containers): move creating stores into App 2016-06-24 16:26:56 +03:00
Kirill Shumilov
d5265dc288 refactor(containers): move creating stores into App, started to give the Patch mind 2016-06-24 16:26:56 +03:00
Kirill Shumilov
b3cfa3541a feat(browserUtil): utils that interacts with dom / window / document 2016-06-24 16:26:56 +03:00
Kirill Shumilov
bfab536d39 style(patch): renamed some methods, that generates viewState 2016-06-24 16:26:30 +03:00
Kirill Shumilov
d39fd84db9 style(drag-n-drop): rename DragStop -> DragEnd 2016-06-24 16:26:30 +03:00
Kirill Shumilov
76f719bdc6 feat(drag-n-drop): add callbacks and calling it onDragStart / onDrag / onDragStop 2016-06-24 16:26:30 +03:00
Kirill Shumilov
d619f0e68b feat(drag-n-drop): link editorMode into draggable property 2016-06-24 16:26:30 +03:00
Kirill Shumilov
b4b21680e6 feat(drag-n-drop): add active property for SVGDraggable 2016-06-24 16:26:30 +03:00
Kirill Shumilov
910594636c feat(editor-mode): add editor mode 2016-06-24 16:26:30 +03:00