Commit graph

713 commits

Author SHA1 Message Date
Iván Ovejero f2242be787 Bring setup logic to plugin 2021-12-08 12:08:49 +01:00
Iván Ovejero 94d6136661 🚚 Rename $i18n2 to $i 2021-12-07 17:28:10 +01:00
Iván Ovejero 858d0d0160 🔥 Remove mixin-related lines 2021-12-07 16:14:40 +01:00
Iván Ovejero 7805b21a15 Adjust all calls 2021-12-07 15:58:41 +01:00
Iván Ovejero c5ef97a30b Initial plugin implementation 2021-12-07 14:04:36 +01:00
Iván Ovejero 3098b5a16e ✏️ Rename key 2021-12-06 12:22:28 +01:00
Iván Ovejero 7a64a05088 Improve plus endpoint string rendering 2021-12-06 12:19:07 +01:00
Iván Ovejero bd9c822a58 Render string in plus endpoint 2021-12-06 11:31:35 +01:00
Iván Ovejero 89b388e470 🔥 Remove error message 2021-12-06 11:03:39 +01:00
Iván Ovejero e64c44291f Update personalization modal strings 2021-12-06 10:29:16 +01:00
Iván Ovejero 00ac975164 🔀 Merge master 2021-12-06 09:41:15 +01:00
Jan Oberhauser 072bbaa3ab 🔖 Release n8n-editor-ui@0.119.0 2021-12-04 16:47:08 +00:00
Jan Oberhauser 758350c6b7 ⬆️ Set n8n-workflow@0.79.0 on n8n-editor-ui 2021-12-04 16:47:08 +00:00
Iván Ovejero c50b6c2c21
Enable multiple args in logging via nodes (#2501)
*  Enable multiple args in logging via nodes

* 👕 Fix lint

*  Change to behave more as expected

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-04 11:57:13 +01:00
Mutasem Aldmour 76c63790b4
Add plus endpoint (#2450)
* fix

* refactor

* clean up css

* refactor setzoom level

* refactor

* refactor

* refactor func

* remove scope

* remove localstorage caching

* clean up imports

* update zero case

* add delete connection

* update selected state

* add base type, remove straight line

* add stub offset back

* rename param

* add label offset

* update font size of items

* move up label

* fix error state while executing

* disrespect stubs

* check for errors

* refactor position

* clean up extra space

* make entire node connectable

* Revert "make entire node connectable"

e304f7c5b8

* always show border

* add border to zoom buttons

* update spacing

* update colors

* allow connecting to entire node

* fix pull conn active

* two line names

* apply select to all lines

* increase input margin

* override target pos

* reset conn after pull

* fix types

* update orientation

* fix up connectors snapping

* hide arrow on pull

* update overrides for connectors

* change text

* update pull colors

* set to 1 line when selected

* fix executions bug

* build

* refactor node component

* remove comment

* refactor more

* remove prop

* fix build issue

* fix input drag bug in executions

* reset offset

* update select background

* handle issue when endpoints are not set

* fix connection aborted issue

* add try catch to help show errors

* wrap bind with try/catch

* set default styles

* reset pos despite zoom

* add more checks

* clean up impl

* update icon

* handle unknown types

* hide items on init

* fix importing unknown types with credentials

* change opacity

* push up item label

* update color

* update label class and colors

* add to drop distance

* fix z-index to match node

* disable eslint

* fix lasso tool selection

* update background color

* update waiting state

* update tooltip positions

* update wait node border

* fix selection bug mostly

* if selected, move above other nodes

* add line through disabled nodes

* remove node color option

* move label above connection

* success color for line through

* update options index

* hide waiting icon when disabled

* fix gmail icon

* refactor icons

* clear execution data on disable/delete

* fix selected node

* fix executing behavior

* optional __meta

* set grid size

* remove default color

* remove node color

* add comments

* comments

* add comments

* remove empty space

* update comment

* refactor uuids

* fix type issue

* Revert "fix type issue"

9523b34f96

* Revert "fix type issue"

9523b34f96

* Revert "refactor uuids"

07f6848065

* fix build issues

* refactor

* update uuid

* child nodes

* skip nodes behind when pushing in loop

* shift output icon for switch node

* don't show output if waiting

* waiting on init

* build

* change to bezier

* implement plus

* revert connector change

* add bezier type

* fix snapping

* clean up impl

* refactor func

* make const

* rename type

* refactor to simplify

* Revert "refactor to simplify"

2db0ed504c

* enable flowchart mode

* clean up flowchart type

* refactor type

* merge types

* configure curviness

* set in localstorage

* fix straight line arrow bug

* show arrow when pulling

* refactor / simplify

* fix target gap in bezier

* refactor target gap

* add comments

* add comment

* fix dragging connections

* fix bug when moving connection

* update comment

* rename file

* update values

* update minor

* update straight line box

* clean up conn types

* clean up z-indexes

* move color filters to node icon

* update background color

* update to use grid size value

* fix endpoint offsets

* set yspan range lower

* remove overlays when moving conn

* prevent unwanted connections

* fix messed up connections

* remove console log

* clear execution issues on workflow run

* update corner radius

* fix drag/delete bug

* increase offset

* update disabled state

* hide if endpoint has conn

* node insert on click

* simplify impl

* fix z-indexes

* add drop hover message

* address comments

* refactor

* refactor func

* remove drop conn overlay

* update messagE

* update colors

* remove console log

* rebuild impl

* add stalk

* fix disabled state

* fix dragging bug

* remove node selection

* disable plus in executions

* add success output to talk

* add success output

* set output

* fix bug

* fix switch size

* update size for 3 output nodes

* update loops

* fix bug when node is renamed

* set final values

* update loop behavior

* update comment

* hide output labels on multi outputs

* center output

* fix flicker when deleting nodes

* fix dragging space

* increase stalk if if

* more type checks

* rename event source

* rename event source

* support touch when dragging

* offset center

* center plus

* fix repaint behavior

* remove extending output

* add offset to switch

* fix merge node bug

* rename endpoint

* refactor css, fix merge bug

* fix unrelated issues

* space out

* remove flowchart type

* rename constant key

* clean up css

* rename var

* fix more type issues

* update types

* fix spacing

* simplify vertical offset

* refactor css

* add license

* update css

* clean up scss

* update to use css var

* clean up code

* update params

* show message

* fix plus position

* fix merge node bugs

* hide box when not dragging and hidden

* fix potential issue

* address comments
2021-12-03 18:53:55 +01:00
Anuj Kapoor d62c7a7f3c
🐛 Add error pop up and redirection for non existing workflow IDs (#2516)
* 🐛 Add error pop up and redirection for non existing workflow IDs

* Remove code comments
2021-12-03 15:37:04 +01:00
Mutasem Aldmour 833c0e4972
Open workflows/executions in new window (ctrl/command + click) (#2508)
* open workflows in new window

* open execution in new window
2021-12-03 13:59:15 +01:00
Elvina Valieva a48bff2eee
Survey updates (#2495)
* feat: update survey

* feat: appearance tweaks

* chore: hardcode survey showing

* chore: fix survey options

* feat: show survey for users with workflows

* chore: take personalization into account

* chore: revert survey conditions

* chore: remove select override

* chore: remove transfer component from editor

* chore: more expressive flag name

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-03 13:19:23 +01:00
Iván Ovejero 3411b5d0e8 🐛 Fix HTML rendering in read only component 2021-12-03 11:28:39 +01:00
Iván Ovejero f0d8266aa8 Fix category of read only strings 2021-12-03 09:53:30 +01:00
Iván Ovejero 699554d603 Fix wrong closing brace 2021-12-03 09:49:48 +01:00
Iván Ovejero 6d4effc5fc 🔥 Remove logging 2021-12-02 17:57:28 +01:00
Iván Ovejero 0baace0a5c Integrate number suffix fix 2021-12-02 17:51:50 +01:00
Iván Ovejero e1ac523797 🔀 Merge suffix fix 2021-12-02 16:00:57 +01:00
Iván Ovejero e22febb3f3 Prevent race condition with headers 2021-12-02 14:09:41 +01:00
Iván Ovejero d2c79d3ef0 Render missing strings in ExecutionDetails 2021-12-02 13:41:34 +01:00
Iván Ovejero f22cd1494c Render strings for ReadOnly 2021-12-02 13:37:08 +01:00
Iván Ovejero 5a3c75b816 Fix hard-coded locale identifier 2021-12-02 13:36:18 +01:00
Iván Ovejero 76f14505eb Add condition for loading cred translations 2021-12-02 10:44:56 +01:00
Iván Ovejero 2855492de4 🔥 Remove old solution leftover 2021-12-02 09:43:59 +01:00
Iván Ovejero 50a8509e4a 🔀 Merge master 2021-12-01 16:55:58 +01:00
Iván Ovejero 5c2eef2c81 🔀 Merge master 2021-12-01 10:00:11 +01:00
Iván Ovejero 513ddbb383 Use mapGetters to simplify calls 2021-12-01 10:00:03 +01:00
Iván Ovejero 845b5e4d9b Add braces to condition 2021-12-01 09:44:56 +01:00
Mutasem Aldmour a550093f3e
🐛 Fix draggable memory leak (#2503)
* attempt fix

* wrap in try catch

* Revert "wrap in try catch"

4b0444747f

*  Improve comment

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-11-30 20:37:55 +01:00
Iván Ovejero c81d47cb1a 🐛 Fix unique node name creation 2021-11-29 12:20:10 +01:00
Iván Ovejero 1c4c42aecc Update string to latest version 2021-11-29 10:10:12 +01:00
Iván Ovejero 563a852f47 🔀 Merge master 2021-11-29 10:05:37 +01:00
Iván Ovejero 393723af39 🐛 Fix rendering for node titles 2021-11-29 09:34:59 +01:00
Jan Oberhauser a7bc49237f 🔖 Release n8n-editor-ui@0.118.0 2021-11-26 12:18:03 +00:00
Jan Oberhauser 94bb16dbfd ⬆️ Set n8n-design-system@0.8.0 and n8n-workflow@0.78.0 on n8n-editor-ui 2021-11-26 12:18:03 +00:00
Mutasem Aldmour 1500afe689
🐛 hide tooltip after trigger node is run (#2483)
* hide tooltip after trigger node is run

* remove executing
2021-11-26 12:35:34 +01:00
Oliver Trajceski adc2515dee
Improve Waiting Webhook call state in WF Canvas (#2430)
* N8N-2586 Improve Waiting Webhook call state in WF Canvas

* N8N-2586 Added watcher for showing Webhook's Node Tooltip on execution

* N8N-2586 Show helping tooltip for trigger node if wokrflow is running, it is a trigger node, if it is only one trigger node in WF

* N8N-2586 Rework/Move logic to computed property, Created getter for ActveTriggerNodesInWokrflow, Add style to trigger node's tooltip, remove comments

* N8N-2586 Added EventTriggerDescription prop in INodeTypeDescription Interface, Updated Logic for TriggerNode Tooltip based on the new prop

* N8N-2586 Add new use cases/watcher to show Trigger Nodes Tooltip / If has issues, if paused, if wokrlfow is running, Refactor Getter

* N8N-2586 Added z-index to tooltip, Added new Scenario for Tooltip if it is Draged&Droped on the WF

* N8N-2586 Refactor computed property for draged nodes

* N8N-2586 Fixed Conflicts

* N8N-2586 Fixed Tooltip

* N8N-2586 Dont show tooltip on core trigger nodes that execute automatically

* N8N-2586 Fixed Webhook tooltip when adding/deleting canvas during WF execution

* N8N-2586 Updated Logic, Simplify the code

* N8N-2586 Simplify Code

* N8N-2586 Added check for nodetype

* update dragging to use local state

* N8N-2586 Added eventTriggerDescription to Interval Node

* add comment, use new getter

* update to always check

Co-authored-by: Mutasem <mutdmour@gmail.com>
2021-11-25 23:33:41 +01:00
Mutasem Aldmour 5fd3f8a244
🐛 Fix bug with connections deleted when node is renamed (#2467)
* fix bug when node is renamed

* update comment

* support touch when dragging
2021-11-25 18:41:49 +01:00
Mutasem Aldmour 889921f5fe
Update looping (#2468)
* update loops

* set final values

* update loop behavior
2021-11-25 18:38:00 +01:00
Iván Ovejero c478276f35 🔥 Remove semicolons from JSON 2021-11-24 12:40:49 +01:00
Iván Ovejero 5f3759b3a7 ✏️ Update TS with JSON 2021-11-24 12:33:48 +01:00
Iván Ovejero ed68ae8055 Switch to JSON for localization service 2021-11-24 12:16:59 +01:00
Iván Ovejero 0462d14f91 ✏️ Improve docs copy 2021-11-24 09:23:09 +01:00
Iván Ovejero c492ef523a Alphabetize locale files 2021-11-23 17:21:20 +01:00