Commit Graph

488 Commits

Author SHA1 Message Date
Piotr Pekala
417cdfb105 Text editing moved to common component 2019-01-08 06:53:01 -08:00
Piotr Pekala
af1957915b Unit tests for new components added 2019-01-08 05:13:52 -08:00
Piotr Pekala
32646889df Adding drawings rewritten 2019-01-08 03:06:25 -08:00
Piotr Pekala
fe9e322c1f Code refactoring 2019-01-04 10:06:41 -08:00
Piotr Pekala
37ec1cc21d Code responsible for adding text refactored 2019-01-04 03:17:10 -08:00
ziajka
d7529e93fd Fix base href for electron env 2019-01-04 10:58:35 +01:00
Piotr Pekala
c9b0eca05b Exchanging tools to components 2019-01-03 07:17:47 -08:00
ziajka
81562b5d80 Fix rotated node label border, Fixes: #237 2019-01-02 14:36:33 +01:00
Piotr Pekala
c0d77ed279 Review fixes 2018-12-31 07:14:48 -08:00
Piotr Pekala
5eee9c9563 Unit tests for extracted components 2018-12-29 02:02:32 -08:00
Piotr Pekala
5cabe20728 Unit tests for new components added 2018-12-21 05:30:39 -08:00
Piotr Pekala
0691a17d29 Removing listeners from project map component 2018-12-20 05:19:19 -08:00
Piotr Pekala
085b099e96 Fixes after review 2018-12-19 07:25:09 -08:00
Piotr Pekala
79f174faea Merge branch 'code-refactoring' into add-text 2018-12-18 05:58:26 -08:00
Piotr Pekala
9ce2adfb67 extracting code from main component 2018-12-18 05:53:18 -08:00
Piotr Pekala
019584c32c extracting methods from main component 2018-12-14 03:17:38 -08:00
Piotr Pekala
d7eb21a0da Code cleaned up 2018-12-13 05:44:48 -08:00
Piotr Pekala
c951a405af Removing bugs 2018-12-13 05:34:17 -08:00
ziajka
3e9eb81dfd Fix interface labels positions 2018-12-13 13:04:52 +01:00
Piotr Pekala
894b7904c3 Code cleaned up 2018-12-13 03:53:53 -08:00
Piotr Pekala
e58d33f690 Removing bug from chrome browser 2018-12-13 03:29:26 -08:00
ziajka
b733d94fbe Adjust text conversion 2018-12-13 10:17:02 +01:00
Piotr Pekala
f859dc0c22 Merge branch 'master' into add-text 2018-12-13 01:05:59 -08:00
ziajka
2a859e6329 Fix updating text position when zoomed in/out 2018-12-13 09:46:00 +01:00
ziajka
f866741011 Round position of nodes and drawings during update to the closest integer 2018-12-13 09:17:04 +01:00
ziajka
e76d6c4236 Fix gray background of drawing menu on Chrome 2018-12-13 08:38:11 +01:00
ziajka
9c02e63d69 Disable drawing menu when in read only mode 2018-12-13 08:36:20 +01:00
ziajka
852e265273 Apply gray background fix only on Firefox 2018-12-13 08:35:05 +01:00
ziajka
0ab6cf2f93 Merge branch 'develop' 2018-12-13 07:59:43 +01:00
Piotr Pekala
f0582e6a9e Reimplementation of text editing 2018-12-12 06:55:22 -08:00
Piotr Pekala
674d0c4980 Fix for tests 2018-12-12 04:29:18 -08:00
Piotr Pekala
92d6c8e411 Reimplementation of adding text 2018-12-12 03:34:44 -08:00
Piotr Pekala
78df22fae4 Merge branch 'add-rectangle-change-border-position' of https://github.com/GNS3/gns3-web-ui into add-rectangle-change-border-position 2018-12-11 06:14:07 -08:00
Piotr Pekala
a12af56561 Update project-map.component.ts
Exchanging adding text methods
2018-12-11 06:14:04 -08:00
ziajka
ff8f595cd4 Rename appliances to templates in order to support 2.2 API, Fixes #227 2018-12-11 14:26:44 +01:00
ziajka
79a374db9d Fix background on drawing toolbar and SVG 2018-12-11 13:49:06 +01:00
ziajka
13828b6d13 Resizing of drawings on Firefox, Fixes: #226 2018-12-11 13:35:57 +01:00
Piotr Pekala
7fff8feec7 Bug with drawer removed 2018-12-11 02:09:40 -08:00
Piotr Pekala
16ee7f2f95 Removing bugs 2018-12-11 01:36:23 -08:00
Piotr Pekala
72a0a8dfcb Cleanup 2018-12-11 00:55:51 -08:00
Piotr Pekala
c466275e62 Merge branch 'add-rectangle-change-border-position' of https://github.com/GNS3/gns3-web-ui into add-rectangle-change-border-position 2018-12-11 00:46:19 -08:00
Piotr Pekala
79157854be Adding text separated from main component 2018-12-11 00:37:55 -08:00
ziajka
9390fd4bbe Merge branch 'master' into add-rectangle-change-border-position 2018-12-11 08:32:27 +01:00
ziajka
2cc27b332d Fix missing select import 2018-12-11 08:32:08 +01:00
ziajka
8ceb839052 Clean not used dependecies in package.json, Fixes: #221 2018-12-10 14:22:48 +01:00
Piotr Pekala
5597168e88 Merge branch 'add-rectangle-change-border-position' of https://github.com/GNS3/gns3-web-ui into add-rectangle-change-border-position 2018-12-10 05:18:34 -08:00
Piotr Pekala
1b2206852b Saving edited text 2018-12-10 05:17:40 -08:00
ziajka
8e6abf8b55 Add Hammer.JS to project, Fixes: #222 2018-12-10 14:08:47 +01:00
ziajka
8ee33a0c07 Support of 2.2 symbols API, Fixes: #218 2018-12-10 12:19:15 +01:00
Piotr Pekala
91046ecd66 Merge remote-tracking branch 'origin/develop' into add-rectangle-change-border-position 2018-12-07 09:45:35 -08:00
Piotr Pekala
492e6869ad Cleaning up code 2018-12-07 09:42:55 -08:00
Piotr Pekala
fb14e657bb Cleaning up files 2018-12-07 09:15:33 -08:00
PiotrP
c0bfc3ed35 Initial implementation of text editing 2018-12-07 09:10:57 -08:00
ziajka
622e106f12 Precalculate labels position in converters 2018-11-30 13:59:57 +01:00
PiotrP
acac9edf0e Fix for unit tests 2018-11-28 05:25:04 -08:00
PiotrP
42d1ce522e Merge branch 'develop' into add-rectangle-change-border-position 2018-11-28 04:29:15 -08:00
PiotrP
da1c8b3c11 Unit tests added 2018-11-28 02:49:35 -08:00
ziajka
e8716f84de Public NodeContextMenuComponent properties 2018-11-28 10:22:19 +01:00
ziajka
c14a59d946 Tools as public 2018-11-28 10:09:53 +01:00
ziajka
bfabc6b50c Tests interface labels 2018-11-28 10:04:26 +01:00
ziajka
fba0c2fdd0 Test dragging drawings 2018-11-27 16:46:09 +01:00
ziajka
eb36e49622 Test dragging nodes 2018-11-27 16:39:38 +01:00
ziajka
9184913803 Move draw-link-tool 2018-11-27 13:48:30 +01:00
PiotrP
6c2399357d Unit test for drawing resizing component added 2018-11-27 03:57:29 -08:00
ziajka
f0f3ee1bf7 Fix paths 2018-11-27 12:40:13 +01:00
ziajka
e0b84d81cb Move experimental components into experimental-map 2018-11-27 12:38:39 +01:00
ziajka
b83d2c8efd Debugging configruation and merge with latest angular 2018-11-27 11:26:23 +01:00
PiotrP
6fc98e3577 Merge branch 'develop' into add-rectangle-change-border-position 2018-11-26 07:17:39 -08:00
PiotrP
d0d5a1c185 Code cleaned up 2018-11-26 07:03:22 -08:00
ziajka
2bb1dbb321 Adding new blank project and importing project disabled when experimental features are disabled 2018-11-26 14:33:08 +01:00
ziajka
a4a4415c38 Map settings introduction and disable dragging of labels and interfaces when in readonly 2018-11-26 14:29:51 +01:00
PiotrP
21a85cd69a Resizing line added 2018-11-26 05:19:48 -08:00
ziajka
1217c4e31c Remove unused code 2018-11-26 14:10:14 +01:00
ziajka
8b91549984 Drag interface labels 2018-11-26 13:36:33 +01:00
ziajka
01cefc5c79 Remove debug 2018-11-26 10:23:51 +01:00
ziajka
204eae98c4 Improve multiline text position 2018-11-26 09:54:44 +01:00
PiotrP
f48a029315 Code cleaned-up 2018-11-23 05:34:59 -08:00
PiotrP
317f537de3 Merge branch 'develop' into add-rectangle-change-border-position 2018-11-23 02:57:08 -08:00
PiotrP
683a7bab1c Adding drawings finished 2018-11-23 01:46:53 -08:00
PiotrP
36ea584d62 Menu extended 2018-11-22 05:42:46 -08:00
ziajka
bd2fdd318e Fix onNodeClicked 2018-11-21 12:59:51 +01:00
ziajka
c1b9d29b43 Fix tests 2018-11-21 11:24:43 +01:00
ziajka
3e4bf71c9c Apply rotation to node label selection 2018-11-21 10:56:52 +01:00
ziajka
593a91dfd3 Improve position of rotated node label 2018-11-21 10:48:21 +01:00
ziajka
f802d8d952 Dragging nodes labels and updating their positions 2018-11-21 10:42:36 +01:00
PiotrP
974759fc61 Saving data for rectangle added 2018-11-21 01:26:50 -08:00
PiotrP
f469a8dbe1 Initial implementation 2018-11-20 23:55:17 -08:00
ziajka
f9d8f0db29 Draw node label selection 2018-11-20 15:46:29 +01:00
ziajka
c68a332143 Missing files 2018-11-20 13:47:56 +01:00
ziajka
311ef8c348 Merge with different approach 2018-11-20 13:43:59 +01:00
ziajka
4a0b960634 Update packages, incl. Angular 7, Ref. #179 2018-11-19 08:28:24 +01:00
ziajka
17b07de620 Clean unused code 2018-11-16 13:49:06 +01:00
ziajka
8de7e58dec Move out responsibilities to project-map 2018-11-16 11:38:42 +01:00
ziajka
ba8bcb8c18 Merge branch 'develop' into data-model-change 2018-11-15 11:41:58 +01:00
ziajka
97e8be855c Clean code 2018-11-15 11:35:20 +01:00
ziajka
35bb758244 Clean 2018-11-15 11:31:39 +01:00
ziajka
e174de142c Disable/enable selection 2018-11-15 10:12:53 +01:00
PiotrP
b8ea53b32b Redirecting to project page after creating added 2018-11-15 01:00:48 -08:00
ziajka
320ce4a827 Force to make it green 2018-11-15 09:09:14 +01:00
ziajka
9e54287e1c Remove last dependecies on selection store 2018-11-14 16:29:31 +01:00
ziajka
c25e7f538d Merge store into selection manager and separate selection listener 2018-11-14 16:24:12 +01:00
ziajka
71ae1f374f Drag nodes and drawings at the same time 2018-11-14 14:51:27 +01:00
ziajka
332303da4c Update nodes and drawings at the same time 2018-11-14 14:20:30 +01:00
ziajka
0e04e85e53 New selection manager and graph data manager 2018-11-14 11:54:40 +01:00
PiotrP
39bc162414 fixes after cr 2018-11-14 00:50:00 -08:00
PiotrP
618f966361 Fixes after review 2018-11-13 15:10:24 -08:00
ziajka
e4e9c671c7 Use Map* instead of plain models 2018-11-09 14:46:56 +01:00
PiotrP
0e35d1c7f6 Initial implementation of adding blank projects 2018-11-09 02:13:54 -08:00
ziajka
17e59fde68 Symbols converter 2018-11-09 09:31:15 +01:00
ziajka
600bb91ad1 Converters between server and map models 2018-11-09 09:05:41 +01:00
ziajka
b10e345261 clean 2018-11-09 06:35:36 +01:00
ziajka
290ca022e2 clean 2018-11-08 15:40:30 +01:00
ziajka
56138f7fb7 Fix drawings 2018-11-08 13:09:37 +01:00
ziajka
9d35d47d50 Merge branch 'develop' into drag-nodes-and-drawings 2018-11-08 12:28:35 +01:00
ziajka
ed604a755e Clean 2018-11-08 12:27:14 +01:00
ziajka
d0c39c8a11
Merge pull request #171 from GNS3/importing-projects
Projects importing
2018-11-08 11:43:54 +01:00
ziajka
b89e9f1434 Disable dragging on readonly mode 2018-11-08 10:51:56 +01:00
ziajka
69163e7b6d Drawings can communicate with server after dragged 2018-11-08 10:29:00 +01:00
ziajka
b7fb7521f2 Drawings can be dragged 2018-11-08 08:41:28 +01:00
ziajka
6fcbf0da28 Rename DrawingWidget to DrawingShapeWidget 2018-11-08 08:28:19 +01:00
PiotrP
5c51dc043e Merge branch 'master' into importing-projects 2018-11-07 06:00:45 -08:00
ziajka
b57bc7370b New approach for draggable 2018-11-07 14:44:17 +01:00
PiotrP
58a4ed08b1 Code cleaned up 2018-11-07 05:43:57 -08:00
PiotrP
ce13d3a68c Removing stepper 2018-11-07 05:43:19 -08:00
ziajka
2f822580a9 Ability to drag more than one node at once 2018-11-07 11:44:33 +01:00
ziajka
0fe3d0e7ca Separate node rendering from nodes; inital drag multiple nodes 2018-11-07 10:42:22 +01:00
ziajka
5da90118c7 Canvas size detector 2018-11-06 15:09:14 +01:00
ziajka
6435a84da2 Clean 2018-11-06 14:59:31 +01:00
ziajka
cf62f3634b Clean code 2018-11-06 14:45:32 +01:00
ziajka
467d6b6851 Clean 2018-11-06 14:26:25 +01:00
ziajka
b22d0dfc1d Fix node color selection on Chrome, Fixes: #181 2018-11-06 14:15:29 +01:00
ziajka
22ddb3d51e Separate events 2018-11-06 13:04:52 +01:00
ziajka
c6f59243ff Separate imports 2018-11-06 11:50:33 +01:00
ziajka
f9e3200550 Improve styles for context menus 2018-11-06 09:15:17 +01:00
ziajka
d0ecd3b2ef Move link creation to cartography 2018-11-06 08:23:39 +01:00
ziajka
caca22edb6 Map change detector ref 2018-11-05 15:24:14 +01:00
ziajka
e296dd004f Fix tests 2018-11-05 15:10:13 +01:00
ziajka
e279a1403f Code clean 2018-11-05 14:28:42 +01:00
ziajka
1d1cf149bb Decouple project-map from map 2018-11-05 14:21:53 +01:00
ziajka
48dcfcbf1c Node dragged unified way 2018-11-05 12:10:51 +01:00
ziajka
58f0954c08 Remove callbacks 2018-11-05 11:23:33 +01:00
ziajka
df75a1bc03 Fix Show/hide interface labels 2018-11-05 08:46:21 +01:00
PiotrP
c4486ee104 Fixes after cr 2018-11-02 02:22:04 -07:00
ziajka
98acd62b74 Code clean 2018-10-31 12:57:07 +01:00
ziajka
a681072b86 Code clean 2018-10-31 11:41:47 +01:00
ziajka
687ce54ccb Move out snapshots from project map 2018-10-31 10:55:55 +01:00
PiotrP
35f16d3eff Fix for tests 2018-10-30 07:50:54 -07:00
PiotrP
606b7fa01c Unit tests for confirmation dialog component added 2018-10-30 07:36:16 -07:00
PiotrP
cc401a584d Confirmation dialog for existing project added, error message handling added 2018-10-30 04:13:37 -07:00
PiotrP
668235936d Fixes after review 2018-10-26 05:35:02 -07:00