Commit Graph

109 Commits

Author SHA1 Message Date
Nick O'Leary 17a737ca88
Fix dbl-click handling on webkit-based browsers
d3.event.buttons is not as widely supported as I thought. Can
change this one instance as it is inside a click handler so
d3.event.button will be defined instead
2018-09-14 11:09:56 +01:00
Nick O'Leary 549e56e220
Add editorTheme.palette.theme to allow overriding colours 2018-07-27 22:05:42 +01:00
Nick O'Leary 08b0838f9a
Fix linting in view.js 2018-07-02 15:32:29 +01:00
Nick O'Leary f95a2851c8
Ignore middle-click on node/ports to enable panning 2018-06-25 13:36:58 +01:00
Nick O'Leary 2b2eee352f
Better wire layout when looping back 2018-06-25 13:18:37 +01:00
Nick O'Leary 2648b7ca54
Handle releasing ctrl when using quick-add node dialog 2018-06-15 22:33:53 +01:00
Nick O'Leary 68779caa2e
Only edit nodes on dbl click on primary button with no modifiers 2018-06-12 15:34:08 +01:00
Nick O'Leary 17c5fdf0d5
Add flow navigator widget 2018-06-08 23:32:17 +01:00
Nick O'Leary 4fbf1fe780
Add middle-button-drag to pan the workspace 2018-06-06 20:51:30 +01:00
Kazuki Nakanishi 2d52527fb4 Don't mark a subflow changed when actually modified nothing (#1665) 2018-03-20 20:39:46 +00:00
Nick O'Leary 84711beec0
Merge branch '0.18' into projects 2018-01-22 23:17:28 +00:00
Nick O'Leary 2700f8cdd2
Try to surpress the system context menu on Ctrl-Click in canvas 2018-01-17 23:14:18 +00:00
Nick O'Leary 25f4a018d9
Merge branch '0.18' into projects 2018-01-16 11:21:54 +00:00
Nick O'Leary 298068b2b9
Clear mouse state when typeSearch cancelled
Fixes #1517
2018-01-13 23:46:16 +00:00
Nick O'Leary 94eeaeb8d3
Allow committer details to be set per-user 2017-12-04 11:42:44 +00:00
Nick O'Leary edc2310599
Move project sidebar to project settings dialog 2017-09-20 22:51:28 +01:00
Nick O'Leary b1cd13d629
Initial projects implementation 2017-09-20 10:30:07 +01:00
Nick O'Leary 266274135e
Handle importing only one end of a link node pair 2017-07-04 23:40:37 +01:00
Nick O'Leary 7429f66d6b
Mark nodes that have really moved as changed 2017-06-29 23:23:16 +01:00
Nick O'Leary f688b8d299
Refresh sidebar info when tab is changed 2017-06-06 10:27:03 +01:00
Nick O'Leary f527841c29
Fix gridSize for node width calculation to avoid odd resizing 2017-06-05 16:10:47 +01:00
Nick O'Leary 48a8dc0989
Redraw grid properly if gridSize changes 2017-06-05 16:07:21 +01:00
Nick O'Leary 483306e73c
Avoid circular references when stingifying node objects 2017-05-19 20:36:22 +01:00
Nick O'Leary 5938143002
Move view and keyboard into user settings dialog 2017-05-03 11:38:16 +01:00
Nick O'Leary 4689d56955
Allow a node to decide for itself if its button should be enabled or not
This means:

  1. an Inject node that has only been moved can still inject
  2. the Debug node is now marked as changed when its button is clicked
     which, without this fix, then prevented the button from being
     clicked to toggle its state again
2017-04-23 23:20:50 +01:00
Nick O'Leary aa1b2808e7
Track node moves separately to node config changes 2017-04-23 23:20:36 +01:00
Nick O'Leary 4b05a9bb6f
Ensure flow info box updates after editing flow 2017-04-10 00:00:10 +01:00
Nick O'Leary 6ec2949b6f
Don't display port labels for subflow pseudo-port nodes 2017-03-06 15:41:19 +00:00
Nick O'Leary 73501f3ad3
Resync with master 2017-03-01 17:45:09 +00:00
Linus Unnebäck 37dd075309 Use pre-calculated values for connection path 2017-02-16 18:05:59 +01:00
Linus Unnebäck b24fac3dd8 Use textContent to avoid manual escaping 2017-02-16 16:28:00 +01:00
Nick O'Leary 5f1e37b7fa
Leave a node to nls its own port labels 2017-02-10 22:10:53 +00:00
Nick O'Leary ec0209b175
Allow a node to override default labels 2017-02-09 23:24:16 +00:00
Nick O'Leary e7e3ed4923
Basic node label editor 2017-02-08 10:48:25 +00:00
Nick O'Leary 50017c28da
Allow port labels be i18n identifiers 2017-01-27 22:36:00 +00:00
Nick O'Leary 829087550d
Add inputLabels and outputLabels to node defn + Update Change node 2017-01-27 18:11:25 +00:00
Nick O'Leary dd6f71fe85
Resize port labels based on content 2017-01-27 16:33:11 +00:00
Nick O'Leary 92a928680c
Initial port label behaviour 2017-01-26 15:38:25 +00:00
Nick O'Leary 128c4fe222
Add visual cue as to whether the workspace is focused 2017-01-24 16:14:03 +00:00
Nick O'Leary b8888a5d46
Add RED.utils.getNodeLabel utility function 2017-01-18 15:52:09 +00:00
Nick O'Leary 11f4ae019c
Include module name in requests for node icons 2017-01-18 13:06:22 +00:00
Nick O'Leary 0a96259ddf
Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
Nick O'Leary b1684e82d8
Dynamically generate keyboard shortcut help dialog 2017-01-11 11:35:48 +00:00
Nick O'Leary 16ecb1a9cb Overhaul keyboard handling and introduce editor actions 2016-12-04 22:59:43 +00:00
Nick O'Leary 89a05c580f Handle drag whilst quick-add dialog open 2016-11-09 13:25:55 +00:00
Nick O'Leary b85e562980 Combine quick-add and quick-join actions 2016-11-09 13:17:26 +00:00
Nick O'Leary f9e09e87d6 Hit enter to edit first node in selection 2016-11-07 21:51:03 +00:00
Nick O'Leary 73574d6293 Add quick-add node mode with cmd/ctrl-click 2016-11-07 21:25:09 +00:00
Nick O'Leary de225205bd Fix safari/firefox detection of Meta key up 2016-11-06 00:24:01 +00:00
Nick O'Leary 8a47d36480 Add cmd/ctrl-click to quick add wires 2016-11-06 00:14:07 +00:00