Commit graph

838 commits

Author SHA1 Message Date
Iván Ovejero 8a27a781c2 🔥 Remove unneeded parens 2021-12-16 17:25:44 +01:00
Iván Ovejero 8dfd51a9d6 🔥 Remove node color in settings 2021-12-16 17:15:39 +01:00
Iván Ovejero a54acf8681 🐛 Add missing text for chooseOrCreateATag 2021-12-16 16:53:56 +01:00
Iván Ovejero f6ddb61dcf 🐛 Fix node not found text 2021-12-16 16:48:50 +01:00
Iván Ovejero a1cddb33a3 🐛 Fix save label in workflow settings 2021-12-16 16:47:59 +01:00
Iván Ovejero b8637c833d 🐛 Fix typo in method call 2021-12-16 11:12:40 +01:00
Iván Ovejero beb2e9d274 Fix README image links 2021-12-15 13:19:59 +01:00
Iván Ovejero b89543ddbd 🚚 Relocate i18n README 2021-12-15 13:17:03 +01:00
Iván Ovejero 1d991824d1 🚚 Rename $i to $locale 2021-12-15 13:16:53 +01:00
Iván Ovejero b2fe3801a6 🔀 Merge survey fix 2021-12-15 13:08:09 +01:00
Iván Ovejero 121898dd45 🔀 Merge master 2021-12-15 13:01:29 +01:00
Iván Ovejero 9f5f32ea87 🐛 Fix personalization survey merge 2021-12-15 12:59:41 +01:00
Iván Ovejero c33cd0de3f 🔀 Merge master 2021-12-13 09:50:26 +01:00
Jan Oberhauser 351922992f 🔖 Release n8n-editor-ui@0.120.0 2021-12-11 18:44:09 +00:00
Jan Oberhauser 2e15952718 ⬆️ Set n8n-design-system@0.9.0 on n8n-editor-ui 2021-12-11 18:44:08 +00:00
Oliver Trajceski 42742de876
Add Value Survey (#2499)
* N8N-2619 Value Survey Front-end

* N8N-2619 Added Contact Prompt Modal and logic

* N8N-2619 Added Link to Toast Message on Successful submitting ValueSurvey

* N8N-2619 Updated TypeForm URL in ValueSurvey Success Toast

* N8N-2619 Fixed Typo placeholder for ValueSurvey and ContactPrompt Modal

* N8N-2619 Fixed Toast not close automatically in ValueSurvey, Make part of the title bold, Changed Font-sizes on Value Survey

* N8N-2619 Fixed Close Button on ValueSurvey, Vertical Allignment for Questions in ValueSurvey Drawer

* N8N-2619 Make Value Survey with static height

* N8N-2619 Fixed Telemetry Events on closing ValueSurvey

* N8N-2619 Updated N8NPrompt Interface, Added Dynamic Title and Description on ContactPrompt Modal

* N8N-2619 Reversed Answers in ValueSurveyModal

* N8N-2619 Added Telemetry Event on user close ValueSurvey on second Question

* N8N-2619 Re-work, Optimized, Simplify the code after technical review

* N8N-2619 Fixed If else statement in openUserPromptsIfPossible

* N8N-2619 Change Text under Email Box - ValueSurvey, ContactPrompt, Added new Telemetary Event on ValueSurvey Open, Fixed Toast to close aftet 15s

* N8N-2619 Change ContactPrompt Modal to use Atoms like N8N-Heading and N8N-Text

* N8N-2619 Change Design & Logic on ValueSurvey - When to open

* N8N-2619 Updated Value Survey with new Telemetry Events (Refactor), Simplified functions, Added Atoms in ValueSurvey + ContactPrompt

* N8N-2619 Refactor in Interfaces, Updated/Refactor Getters and Vuex store props

* N8N-2619 Defined IN8nValueSurveyData interface

* N8N-2619 Disabled Keyboard shortcuts to be activated on typing in ValueSurvey Input field, Fire an event on Saving WF from Menu and with shorcut, Make Drawer keep-alive

* N8N-2619 Added Atoms in Value Survey Modal (buttons), Rework css

* N8N-2619 Added Responses on ValueSurvey Submit

* N8N-2619 Added Response for SubmittingContactInfo

* N8N-2619 Added loading state for buttons / ValueSurvey

* N8N-2619 Changed ValueSurvey and ContactPrompt to support enter key on submit, Simplifed closeDialog Function, Changed css for button in ValueSurvey, Prevent showing the Modals if Saving WF fails, Add Debouncing on showing prompt

* N8N-2619 Added IsTelemetryEnabled Getter in Vuex.store

* N8N-2619 Created/Added N8N-SquareButton to Design-system

* N8N-2619 Change Promise in MainSideBar with Async/Await function, Nitpick simpliefied

* N8N-2619 Update the text under the input fields

* N8N-2619 Update the text in ContactPrompt Modal

* N8N-2619 Allign Send button on ValueSurvey Modal

* N8N-2619 Fixed Input in ValueSurvey Modal

* N8N-2619 Check if the workflow is saving

* N8N-2619 Check if WF is saving to allowed performs fetchPromptsData

* N8N-2619 Hotfix

* N8N-2619 Fixed ValueSurvey, Updated onSaveButtonClick function, Created onSaveKeyboardShortcut function in NodeView

* N8N-2619 Rework css module classes for ValueSurvey, Simplified

* N8N-2619 Simplified N8N-SquareButton Component, removed dead code

* N8N-2619 Added Breakpoints for Mobile/Tablet View

* N8N-2619 Formatting fix

* N8N-2619 Update css for mobile/tablet, change promises to asyn/await functions in ContactPrompt and ValueSurvey, Added isActive prop to ValueSurvey

* N8N-2619 Update TEMPLATE_BASE_URL to production
2021-12-11 17:38:16 +01:00
Elvina Valieva 8e2191b633
🐛 Fix recommendation logic (#2543)
* fix: expect multiple answers for survey

* chore: refactor survey input methods

* fix error; fix tracking

Co-authored-by: Mutasem <mutdmour@gmail.com>
2021-12-10 18:53:31 +01:00
Mutasem Aldmour 783d0f6d45
🐛 Fix node-menu hover issue (#2546) 2021-12-10 15:35:33 +01:00
Ahsan Virani 2125f25791
Tweaks to diagnostic events (#2544)
* Tweaks to events

* more tweaks and fixes
2021-12-10 15:29:05 +01:00
Mutasem Aldmour 75c7b5ed97
🐛 Hide trigger tooltip for polling nodes (#2547)
* hide trigger tooltip for polling nodes

* fix spacing
2021-12-10 14:48:56 +01:00
Anuj Kapoor 1d05185c4a
Added toast tweaks (#2530)
* Added toast fallback

* Added a parameter to copy function to deduce cut operations

* 👕 Fix Liniting
2021-12-10 14:24:09 +01:00
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
Iván Ovejero 9ce8189d7b ✏️ Improve wording 2021-11-23 14:32:38 +01:00
Iván Ovejero 059c4899a5 ✏️ Minor docs fixes 2021-11-23 14:07:16 +01:00
Iván Ovejero cc1af9dc7f ✏️ Split docs images 2021-11-23 13:47:25 +01:00
Iván Ovejero 6716197455 ✏️ More docs images touchups 2021-11-23 13:46:05 +01:00
Iván Ovejero 583ef80c65 ✏️ Enlarge docs images 2021-11-23 13:44:49 +01:00
Iván Ovejero f89034e790 ✏️ Clean up docs images 2021-11-23 13:41:57 +01:00
Iván Ovejero 427e40326c ✏️ Clarify deep nesting in collections 2021-11-23 13:29:33 +01:00
Iván Ovejero 709e71e76a Add missing translations to fixed collection 2021-11-23 13:28:42 +01:00
Iván Ovejero d3b9e21bf0 ✏️ Write documentation 2021-11-23 12:06:47 +01:00
Iván Ovejero df5a6a96a2 🐛 Small fixes to sample translations 2021-11-22 12:03:27 +01:00
Iván Ovejero a48429f425 🔀 Merge master 2021-11-22 11:51:31 +01:00
Iván Ovejero b4399a1c63 Minor optimizations 2021-11-22 11:49:59 +01:00
Iván Ovejero d379d7ecf3 Render new base strings 2021-11-20 15:58:21 +01:00
Jan Oberhauser b9ccdb2d19 🔖 Release n8n-editor-ui@0.117.0 2021-11-19 17:29:51 +00:00
Jan Oberhauser c51f171d68 ⬆️ Set n8n-design-system@0.7.0 and n8n-workflow@0.77.0 on n8n-editor-ui 2021-11-19 17:29:50 +00:00
Iván Ovejero ed3fa11a86 Refactor overlay to allow translation 2021-11-19 16:15:35 +01:00
Iván Ovejero 7518617eee 🔀 Merge master 2021-11-19 15:35:38 +01:00
Iván Ovejero 02c915dab1 🐛 Account for potentially missing category name 2021-11-19 12:27:46 +01:00
Iván Ovejero 99963b04a5 Render header strings 2021-11-19 10:52:25 +01:00
Mutasem Aldmour d8598b0126
Workflow canvas revamp (#2388)
* bring back overrides

* fix input output label positions

* simply update label positions

* refactor a bunch

* update min x to show items

* hide overlay on connection

* only delete target connection, add maximum to push nodes out

* rename const

* rename const

* set new insert position

* fix insert behavior

* update position handling

* show arrow along with label

* update connector

* set endpoint styles

* update pattern

* push nodes up / down in case of if node

* set position in switch

* only one action at a time

* add custom flow chart type

* select start node by default when opening new workflow

* add enter delay

* fix delete bug

* change connection type

* add offset for if/switch/merge

* fix gap

* fix drag issue

* implement new states

* update disabled state

* add selected state

* make selects faster

* update positioning

* truncate when selected

* remove offset for actions

* fix icon scaling

* refactor js plumb

* fix looping behavior at close distance

* lock version

* change background to dots

* update endpoints styling

* increase spacing

* udpate node z-index

* fix output label positions

* fix output label positions

* reset location

* add label offset

* update border radius

* fix height issue

* fix parallaxing issue

* fix zoomout issue

* add success z-index

* clean up js file

* add package lock

* fix z-index bug

* update dot grid

* update zoom level

* set values, increase grid size

* fix drop position

* prevent duplicate connections

* fix stub

* use localstorage overrides for colors

* add colors to system

* revert no longer needed changes

* revert no longer needed changes

* add canvas colors

* add canvas colors

* use variable for id

* force type

* refactor helpers

* add label constants

* refactor func

* refactor

* 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

* 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

* address comments

* refactor

* refactor func

*  Add full license text to N8nCustomConnectorType.js

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-11-19 10:17:13 +01:00
Iván Ovejero c98772c927 🔨 Fix build 2021-11-17 11:29:27 +01:00
Iván Ovejero 29a3953dff 🔀 Merge master 2021-11-17 10:25:05 +01:00
Iván Ovejero 7fc0395e95 Render node strings 2021-11-17 10:24:35 +01:00
Oliver Trajceski 0022c7eb09
🐛 Fix issue that Start-Node did not get reset (#2425)
* N8N-2549 Editor UI - Disabled start node when reseting new workflow

* N8N-2549 Editor UI - Disabled start node when reseting new workflow, reseting the position of the default node

* N8N-2549 Updated Editor-ui - Resetting Default Node (disable, position and all props) when reseting new workflow

* N8N-2549 Remove comment
2021-11-15 17:31:00 +01:00
Jan Oberhauser bfaa2634bc 🔖 Release n8n-editor-ui@0.116.0 2021-11-13 12:12:06 +00:00
Jan Oberhauser e887aeea95 ⬆️ Set n8n-workflow@0.76.0 on n8n-editor-ui 2021-11-13 12:12:06 +00:00
Iván Ovejero 2d8e158012 Render base strings 2021-11-12 16:02:48 +01:00
Iván Ovejero 61bb8de352 🔀 Merge master 2021-11-09 10:00:30 +01:00
Iván Ovejero 1de9ecf4ec Set up i18n 2021-11-09 09:59:48 +01:00
Jan Oberhauser 9ac41953ab 🔖 Release n8n-editor-ui@0.115.0 2021-11-05 17:52:10 +00:00
Jan Oberhauser 55455524e4 ⬆️ Set n8n-workflow@0.75.0 on n8n-editor-ui 2021-11-05 17:52:10 +00:00
Mutasem Aldmour 70a9f0446e
🐛 Fix importing unknown types with credentials (#2414) 2021-11-05 09:40:33 -06:00
Ben Hesseldieck a46c7f827d
🐛 Fix saving credentials id as string (#2410) 2021-11-04 20:23:10 -06:00
Jan Oberhauser a7a6e77598 🔖 Release n8n-editor-ui@0.114.0 2021-10-29 00:15:11 +00:00
Jan Oberhauser a6a40d8be4 ⬆️ Set n8n-design-system@0.6.0 and n8n-workflow@0.74.0 on n8n-editor-ui 2021-10-29 00:15:11 +00:00
Mutasem Aldmour 171f5a458c
Update parameter inputs to be multi-line (#2299)
* introduce analytics

* add user survey backend

* add user survey backend

* set answers on survey submit

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* change name to personalization

* lint

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* N8n 2495 add personalization modal (#2280)

* update modals

* add onboarding modal

* implement questions

* introduce analytics

* simplify impl

* implement survey handling

* add personalized cateogry

* update modal behavior

* add thank you view

* handle empty cases

* rename modal

* standarize modal names

* update image, add tags to headings

* remove unused file

* remove unused interfaces

* clean up footer spacing

* introduce analytics

* refactor to fix bug

* update endpoint

* set min height

* update stories

* update naming from questions to survey

* remove spacing after core categories

* fix bug in logic

* sort nodes

* rename types

* merge with be

* rename userSurvey

* clean up rest api

* use constants for keys

* use survey keys

* clean up types

* move personalization to its own file

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>

* update parameter inputs to be multiline

* update spacing

* Survey new options (#2300)

* split up options

* fix quotes

* remove unused import

* refactor node credentials

* add user created workflow event (#2301)

* update multi params

* simplify env vars

* fix versionCli on FE

* update personalization env

* clean up node detail settings

* fix event User opened Credentials panel

* fix font sizes across modals

* clean up input spacing

* fix select modal spacing

* increase spacing

* fix input copy

* fix webhook, tab spacing, retry button

* fix button sizes

* fix button size

* add mini xlarge sizes

* fix webhook spacing

* fix nodes panel event

* fix workflow id in workflow execute event

* improve telemetry error logging

* fix config and stop process events

* add flush call on n8n stop

* ready for release

* fix input error highlighting

* revert change

* update toggle spacing

* fix delete positioning

* keep tooltip while focused

* set strict size

* increase left spacing

* fix sort icons

* remove unnessary margin

* clean unused functionality

* remove unnessary css

* remove duplicate tracking

* only show tooltip when hovering over label

* update credentials section

* use includes

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-10-27 14:55:37 -05:00
Iván Ovejero db738fc824
Add workflow name and ID to settings (#2369)
*  Add workflow name and ID to settings

* 🔨 Refactor to use mapGetters
2021-10-26 18:54:03 -05:00
Arpad Gabor f811992527 fix: monaco build problems 2021-10-23 19:06:02 +03:00
Arpad Gabor 62f0899e10 fix: forgot readonly to editor 2021-10-23 18:48:45 +03:00
Arpad Gabor 7a020d079f fix: set autocomplete data as empty array 2021-10-23 18:39:34 +03:00
Arpad Gabor c63f365a65 feat: replace function node code editor with monaco 2021-10-23 18:38:46 +03:00
Jan Oberhauser 37930057d8 🐛 Fix build issue by setting fixed version of @types/node #2358 2021-10-22 14:39:36 -05:00
Jan Oberhauser 5ca3a30a97 🔖 Release n8n-editor-ui@0.113.0 2021-10-22 00:29:12 +00:00
Jan Oberhauser b27f6bc68b ⬆️ Set n8n-design-system@0.5.0 and n8n-workflow@0.73.0 on n8n-editor-ui 2021-10-22 00:29:12 +00:00
Ahsan Virani 421dd72224
Introduce telemetry (#2099)
* introduce analytics

* add user survey backend

* add user survey backend

* set answers on survey submit

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* change name to personalization

* lint

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* N8n 2495 add personalization modal (#2280)

* update modals

* add onboarding modal

* implement questions

* introduce analytics

* simplify impl

* implement survey handling

* add personalized cateogry

* update modal behavior

* add thank you view

* handle empty cases

* rename modal

* standarize modal names

* update image, add tags to headings

* remove unused file

* remove unused interfaces

* clean up footer spacing

* introduce analytics

* refactor to fix bug

* update endpoint

* set min height

* update stories

* update naming from questions to survey

* remove spacing after core categories

* fix bug in logic

* sort nodes

* rename types

* merge with be

* rename userSurvey

* clean up rest api

* use constants for keys

* use survey keys

* clean up types

* move personalization to its own file

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>

* Survey new options (#2300)

* split up options

* fix quotes

* remove unused import

* add user created workflow event (#2301)

* simplify env vars

* fix versionCli on FE

* update personalization env

* fix event User opened Credentials panel

* fix select modal spacing

* fix nodes panel event

* fix workflow id in workflow execute event

* improve telemetry error logging

* fix config and stop process events

* add flush call on n8n stop

* ready for release

* improve telemetry process exit

* fix merge

* improve n8n stop events

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-10-19 05:57:49 +02:00
Jan Oberhauser 0b0ed01635 🔖 Release n8n-editor-ui@0.112.0 2021-10-15 00:03:05 +00:00
Mutasem Aldmour d49aa18717
🐛 Fix chrome autofill issue (#2294) 2021-10-13 16:39:05 -07:00
Jan Oberhauser f5ec78d77e 🔖 Release n8n-editor-ui@0.111.0 2021-10-13 22:40:35 +00:00
Jan Oberhauser 12c34db475 ⬆️ Set n8n-workflow@0.72.0 on n8n-editor-ui 2021-10-13 22:40:35 +00:00
Ben Hesseldieck 3137de2585
Change credentials structure (#2139)
*  change FE to handle new object type

* 🚸 improve UX of handling invalid credentials

* 🚧 WIP

* 🎨 fix typescript issues

* 🐘 add migrations for all supported dbs

* ✏️ add description to migrations

*  add credential update on import

*  resolve after merge issues

* 👕 fix lint issues

*  check credentials on workflow create/update

* update interface

* 👕 fix ts issues

*  adaption to new credentials UI

* 🐛 intialize cache on BE for credentials check

* 🐛 fix undefined oldCredentials

* 🐛 fix deleting credential

* 🐛 fix check for undefined keys

* 🐛 fix disabling edit in execution

* 🎨 just show credential name on execution view

* ✏️  remove TODO

*  implement review suggestions

*  add cache to getCredentialsByType

*  use getter instead of cache

* ✏️ fix variable name typo

* 🐘 include waiting nodes to migrations

* 🐛 fix reverting migrations command

*  update typeorm command

*  create db:revert command

* 👕 fix lint error

Co-authored-by: Mutasem <mutdmour@gmail.com>
2021-10-13 15:21:00 -07:00
Mutasem Aldmour d1824b9dd0
🐛 Fix error when opening ftp/sftp credentials (#2298)
* n8n-2513 fix error when opening credentials

* clean up validation logic
2021-10-09 13:42:30 -05:00
Jan Oberhauser ef06c8704e 🔖 Release n8n-editor-ui@0.110.0 2021-10-07 23:07:34 +00:00
Jan Oberhauser b8a01daf08 ⬆️ Set n8n-workflow@0.71.0 on n8n-editor-ui 2021-10-07 23:07:34 +00:00
Mutasem Aldmour 1341958aae
Open new window when duplicating (#2237)
* update duplicate to open in new window

* remove active action
2021-10-07 14:59:00 -05:00
Mutasem Aldmour 857426a918
Add query param for templates (#2293) 2021-10-07 14:54:22 -05:00
Mutasem Aldmour e2daa523d4
🐛 Apply default save manual executions (#2286)
* revert savemanualexecution changes

* update toasts behavior to handle default case
2021-10-06 12:13:39 -05:00
Mutasem Aldmour 7159181345
Save on new workflow executions with webhook (#2231)
* save on new workflow executions

* only save if webhook node
2021-10-06 12:06:33 -05:00
Jan f7148bdd77
Display node-error only on executing nodes (#2274)
*  Dot not display errors on disconnected nodes

*  Fix some more inconsistencies
2021-10-06 19:02:31 +02:00
Mutasem Aldmour 582f9a1e61
🐛 Remove overlap on mobile between buttons (#2233)
* remove overlap on mobile between buttons

* update breakpoints
2021-10-05 13:33:25 -05:00
Mutasem Aldmour a4374e235e
Add open event (#2261) 2021-10-05 13:28:37 -05:00
Jan Oberhauser 02100a3daf 🔖 Release n8n-editor-ui@0.109.0 2021-09-30 19:22:52 +00:00
Jan Oberhauser 70c5795564 ⬆️ Set n8n-design-system@0.4.0 on n8n-editor-ui 2021-09-30 19:22:52 +00:00
Jan Oberhauser e0cca284d8 🔖 Release n8n-editor-ui@0.108.0 2021-09-28 22:25:58 +00:00
Iván Ovejero 3a0b96bf32
🐛 Fix TypeError in nodes panel text selection (#2258) 2021-09-28 14:23:57 -05:00
Jan Oberhauser d36f123e99 🔖 Release n8n-editor-ui@0.107.1 2021-09-23 10:49:02 +02:00
Iván Ovejero e84ce79d9b
🐛 Remove auto-adding fixed collection option (#2241)
* 🔥 Remove auto-adding fixed collection option

* 🔥 Remove file from version control
2021-09-23 10:47:13 +02:00
Jan Oberhauser 4290c294e7 🔖 Release n8n-editor-ui@0.107.0 2021-09-22 15:57:45 +00:00
Jan Oberhauser 2397f0b7de ⬆️ Set n8n-workflow@0.70.0 on n8n-editor-ui 2021-09-22 15:57:45 +00:00
Iván Ovejero 5644a88d78
🎨 Fix checkmark spacing in multiOptions (#2223)
Co-authored-by: Mutasem <mutdmour@gmail.com>
2021-09-22 11:02:38 +02:00
Mutasem Aldmour 4f1bedc76e
🐛 Fix credentials modal spacing issue when no tooltip (#2230)
* fix credentials modal spacing issue when empty

* check length at inputs level
2021-09-22 09:42:19 +02:00
Mutasem Aldmour 6461423a5c
Add wait node toasts (#2203)
*  Generalize unique entity name generation

*  Standardize variable names

* redo credentials

* revert some changes, replace got with was

* fix v-if order

* fix v-if order

* update linting

* update gulpfile

* update ssh display name

* update height

* update params

* update info tip sizes

* address design comments

* update google button disabled

* update icon size to 28px

* update design issues

* update info tab design

* address design comments

* update tab size

* update run data spacing

* address comments, update logo design

* fix spacing issues

* clean up store

* fix create new bug

* add loading state

* rename prop

* remove unused prop

* fix select bug

* remove label tag

* update word break

* build

* address design comments

* update font family of button

* update menu opacity

* update text

* update title

* address more comments

* update oauth messages

* add oauth validation

* hide disabled state

* update warning modal

* show button on text input

* clean up cred details

* add validation errors

* fix bug when deleting cred

* Frontend hack to display test button

* Created interfaces for testing and endpoint

* Testing slack node credentials working

* Adding test with node to endpoint for credential testing

* Fixed linting and test detectability

* Adding required for slack token

* Added google sheets credential testing

* update message

* Adding suggestions by Ivan and Mutasem

* Address comments

* keep blurred when focused

* update font weight of errors

* add oauth banner

* remove toast

* Fixed code bug and added telegram credential testing

* scroll to top on success

* clean up duplication

* Fixed telegram trigger node and added tests to typeform

* refactor modal

* add more validation support

* refactor info tab

* scroll to bottom on save, handle cred saving

* refactor save button

* save cred on valid

* save cred on valid

* scroll to top if has error

* add targets on input labels

* delete credentails input

* revert fe changes

* update validation logic

* clean interface

* test credentials

* update banner design

* show testing state

* update x position

* fix issues

* fix focus issues

* clean up validation behavior

* make error relative

* update banner component

* update error spacing

* don't close dialog

* rename button

* update how banners behave

* if has unsaved changes first

* move confirm message

* add success banner

* update time state

* disable transitions

* test on open

* clean up banner behavior

* update banner styling

* capitalize

* update error banner styling to handle long texts

* avoid unnessary content jostling

* add loading label

* show validation warnings when opening modal

* retest cred if not all props req

* update scroll to auto

* add error warning

* update color saturation

* set overflow to auto

* fix bug to get credentials when connected

* round down to minutes

* change tab name

* update casing oauth

* disable credential testing if it has expressions

* label same as title

* add more space between close and save

* remove check on making any changes

* hide close on confirm modals

* don't accept clicks outside dialog

* fix build issues

* undo test changes

* fix table scrollbar logs

* rename modals

* fix bug with same name

* refactor modal

* fix tslint issue

* refactor name

* update name behavior

* update monospace font

* remove comment

* refactor inputs

* refactor error handling

* reduce spacing changes

* fix doc url oauth1 oauth2

* build

* add toast for waiting executions

* hide infotip if no inputs

* address most comments

* rename file

* fix menu alignment

* gst

* update types

* update language

* refactor toast behavior, add support for links clicking

* allow closing workflow modal from notification

* refactor how modals work

* fix data display

* update toast behavior

* fix type issues

* rename prop

* update overflow behavior for settings

* only expand used properties

* fix edge bug

* make scrollable prop, add margin to tags footer

* remove max height from tag manager

* rewrite message

* fix notice word break

* update property names

* clear sticky notifications on run

* build

* refactor function out

* use destruction

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2021-09-22 09:23:37 +02:00
Omar Ajoue 443c2a4d51
Updated node design and node versioning (#1961)
*  introduce versioned nodes

* Export versioned nodes for separate process run

* Add bse node for versioned nodes

* fix node name for versioned nodes

* extend node from nodeVersionedType

* improve nodes base and flow to FE

* revert lib es2019 to es2017

* include version in key to prevent duplicate key

* handle type versions on FE

* clean up

* cleanup nodes base

* add type versions in getNodeParameterOptions

* cleanup

* code review

* code review + add default version to node type description

* remove node default types from store

* 💄 cleanups

* Draft for migrated Mattermost node

* First version of Mattermost node versioned according to node standards

* Correcting deactivate operations name to match currently used one

*  Create utility types

*  Simplify Mattermost types

*  Rename exports for consistency

*  Type channel properties

*  Type message properties

*  Type reaction properties

*  Type user properties

*  Add type import to router

* 🐛 Add missing key

* 🔨 Adjust typo in operation name

* 🔨 Inline exports for channel properties

* 🔨 Inline exports for message properties

* 🔨 Inline exports for reaction properties

* 🔨 Inline exports for user properties

* 🔨 Inline exports for load options

* 👕 Fix lint issue

* 🔨 Inline export for description

* 🔨 Rename descriptions for clarity

* 🔨 Refactor imports/exports for methods

* 🔨 Refactor latest version retrieval

* 🔥 Remove unneeded else clause

When the string literal union is exhausted, the resource key becomes never, so TS disallows wrong key usage.

*  Add overloads to getNodeParameter

*  Improve overload

* 🔥 Remove superfluous INodeVersions type

* 🔨 Relocate pre-existing interface

* 🔥 Remove JSDoc arg descriptions

*  Minor reformatting in transport file

*  Fix API call function type

* Created first draft for Axios requests

* Working version of mattermost node with Axios

* Work in progress for replacing request library

* Improvements to request translations

* Fixed sending files via multipart / form-data

* Fixing translation from request to axios and loading node parameter options

* Improved typing for new http helper

* Added ignore any for specific lines for linting

* Fixed follow redirects changes on http request node and manual execution of previously existing workflow with older node versions

* Adding default headers according to body on httpRequest helper

* Spec error handling and fixed workflows with older node versions

* Showcase how to export errors in a standard format

* Merging master

* Refactored mattermost node to keep files in a uniform structure. Also fix bugs with merges

* Reverting changes to http request node

* Changed nullish comparison and removed repeated code from nodes

* Renamed queryString back to qs and simplified node output

* Simplified some comparisons

* Changed header names to be uc first

* Added default user agent to requests and patch http method support

* Fixed indentation, remove unnecessary file and console log

* Fixed mattermost node name

* Fixed lint issues

* Further fix linting issues

* Further fix lint issues

* Fixed http request helper's return type

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-09-21 19:38:24 +02:00
Mutasem Aldmour 53fbf664b5
Switch to font source for open sans (#2220)
* switch to font source for open sans

* add 700 font weight
2021-09-21 14:35:55 +02:00
Iván Ovejero 8d42eddfc2
Add infobox to Split In Batches node (#2217) 2021-09-19 16:13:48 +02:00
Mutasem Aldmour ebf9a5e4cd
🐛 Temp fix build replace endpoint (#2216) 2021-09-17 14:56:08 +02:00
Jan Oberhauser eb9cea2006 🔖 Release n8n-editor-ui@0.106.0 2021-09-15 09:32:57 +00:00
Jan Oberhauser 312e6d34c5 ⬆️ Set n8n-design-system@0.3.0 and n8n-workflow@0.69.0 on n8n-editor-ui 2021-09-15 09:32:57 +00:00
Jan Oberhauser 86b9074424 🔀 Merge branch 'master' into fixed-collection-ux-improvements 2021-09-15 11:07:05 +02:00
Mutasem Aldmour 4db451d9d9
🐛 Fix issue showing too much data error (#2200)
* fix bug showing too much data error

* init when node changes

* revert node settings chagnes

* revert node settings chagnes
2021-09-15 10:11:59 +02:00