Commit graph

863 commits

Author SHA1 Message Date
Manuel 78babf9b9a
Fix that fixedCollection leaves empty arrays (#2792)
When deleting the single option inside of an option type,
an empty array was left behind and will be:
- shown as empty heading in UI
- leave an empty array in JSON
2022-02-12 12:02:20 +01:00
Jan Oberhauser 7fc430c70a 🐛 Deactivate unwanted list autofill #2798 2022-02-12 11:25:39 +01:00
Jan Oberhauser 11336fdbae Sort nodes in expression editor relative to current node position 2022-02-12 10:32:39 +01:00
Jan Oberhauser 3e92fae954 🐛 Fix monaco editor resize as suggested in #2800 2022-02-12 08:43:32 +01:00
Anuj Kapoor 1b69148d9a
Add /workflows/demo route (#2745)
*  added /workflows/demo route

*  suggested improvements

*  added n8n version in postmessage

*  updated zoom menu styling

*  updated component padding for zoomToFit

*  suggested improvements

*  moved getFixedNodeList to canvasHelpers

* 📝 removed unused import and rebased from master
2022-02-11 09:18:39 +01:00
Mutasem Aldmour b4e3f27c9f
Fix icon types (#2784) 2022-02-08 13:33:59 +01:00
Jan Oberhauser 3fd4a40500 🔖 Release n8n-editor-ui@0.129.0 2022-02-06 11:01:03 +00:00
Jan Oberhauser c1846d89e4 ⬆️ Set n8n-design-system@0.11.0 and n8n-workflow@0.86.0 on n8n-editor-ui 2022-02-06 11:01:02 +00:00
Jan Oberhauser 0da398b0e4
Nodes as JSON and authentication redesign (#2401)
*  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

*  Add optional authenticate method to credentials

*  Simplify code and add authentication support to MattermostApi

* 👕 Fix lint issue

*  Add support to own-mode

* 👕 Fix lint issue

*  Add support for predefined auth types bearer and headerAuth

*  Make sure that DateTime Node always returns strings

*  Add support for moment types to If Node

*  Make it possible for HTTP Request Node to use all credential types

*  Add basicAuth support

* Add a new dropcontact node

*  First basic implementation of mainly JSON based nodes

*  Add fixedCollection support, added value parameter and
expression support for value and property

* Improvements to #2389

*  Add credentials verification

*  Small improvement

*  set default time to 45 seconds

*  Add support for preSend and postReceive methods

*  Add lodash merge and set depedency to workflow

* 👕 Fix lint issue

*  Improvements

*  Improvements

*  Improvements

*  Improvements

*  Improvements

* 🐛 Set siren and language correctly

*  Add support for requestDefaults

*  Add support for baseURL to httpRequest

*  Move baseURL to correct location

*  Add support for options loading

* 🐛 Fix error with fullAccess nodes

*  Add credential test functionality

* 🐛 Fix issue with OAuth autentication and lint issue

*  Fix build issue

* 🐛 Fix issue that url got always overwritten to empty

*  Add pagination support

*  Code fix required after merge

*  Remove not needed imports

*  Fix credential test

*  Add expression support for request properties and $self
support on properties

*  Rename $self to $value

* 👕 Fix lint issue

*  Add example how to send data in path

*  Make it possible to not sent in dot notation

*  Add support for postReceive:rootProperty

*  Fix typo

*  Add support for postReceive:set

*  Some fixes

*  Small improvement

* ;zap: Separate RoutingNode code

*  Simplify code and fix bug

*  Remove unused code

*  Make it possible to define "request" and "requestProperty" on
options

* 👕 Fix lint issue

*  Change $credentials variables name

*  Enable expressions and access to credentials in requestDefaults

*  Make parameter option loading use RoutingNode.makeRoutingRequest

*  Allow requestOperations overwrite on LoadOptions

*  Make it possible to access current node parameters in loadOptions

*  Rename parameters variable to make future proof

*  Make it possible to use offset-pagination with body

*  Add support for queryAuth

*  Never return more items than requested

*  Make it possible to overwrite requestOperations on parameter
and option level

* 👕 Fix lint issue

*  Allow simplified auth also with regular nodes

*  Add support for receiving binary data

* 🐛 Fix example node

*  Rename property "name" to "displayName" in loadOptions

*  Send data by default as "query" if nothing is set

*  Rename $self to $parent

*  Change to work with INodeExecutionData instead of IDataObject

*  Improve binaryData handling

*  Property design improvements

*  Fix property name

* 🚨 Add some tests

*  Add also test for request

*  Improve test and fix issues

*  Improvements to loadOptions

*  Normalize loadOptions with rest of code

*  Add info text

*  Add support for $value in postReceive

* 🚨 Add tests for RoutingNode.runNode

*  Remove TODOs and make url property optional

*  Fix bug and lint issue

* 🐛 Fix bug that not the correct property got used

* 🚨 Add tests for CredentialsHelper.authenticate

*  Improve code and resolve expressions also everywhere for
loadOptions and credential test requests

*  Make it possible to define multiple preSend and postReceive
actions

*  Allow to define tests on credentials

*  Remove test data

* ⬆️ Update package-lock.json file

*  Remove old not longer used code

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: PaulineDropcontact <pauline@dropcontact.io>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-02-05 22:55:43 +01:00
Jan Oberhauser f23098e38b 🐛 Fix frontend issue with remote option load 2022-02-05 16:59:44 +01:00
Jan Oberhauser 9dbe2449fb Fix editor issue with unknown nodeTypes 2022-02-05 16:52:13 +01:00
Jan Oberhauser ff74feefe4 Fix node-versioning issues in editor-UI 2022-02-05 12:57:48 +01:00
Iván Ovejero fc550ecbcb
Remove fibers to support Node LTS 16 (#2672)
* 🔥 Remove fibers lib

* 📦 Update package-lock.json

* 📦 Update package-lock.json

* ✏️ Mention recommended version

*  Update node version in Docker images

* ⬆️ bump uuid and flatted

* 📦 Update package-lock.json

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-04 19:13:26 +01:00
Michael Kret 92d3c1949e
🔨 Changed NDV opening behavior on node duplication N8N-2896 (#2749)
* 🔨 changed NDV opening behavior on node duplication

* 🔨 deleted commented lines

*  on duplication node will be selected
2022-02-03 23:25:36 +01:00
Mutasem Aldmour 7bdb7e2a25
Support telemetry page (#2756)
* support telemetry page events

* add log level to FE settings

* add debug logging

* fix types

* state fix

* move call
2022-02-03 23:24:01 +01:00
Jan Oberhauser 26de462f25 🔖 Release n8n-editor-ui@0.128.0 2022-01-30 14:08:33 +00:00
Jan Oberhauser 4251b6468b ⬆️ Set n8n-design-system@0.10.0 and n8n-workflow@0.85.0 on n8n-editor-ui 2022-01-30 14:08:33 +00:00
Michael Kret aa3cbe5358
Add default polling interval (Poll trigger nodes) N8N-2874 (#2730)
*  added default polling interval to Poll trigger nodes

*  added default value to polling triger
2022-01-30 14:56:39 +01:00
Michael Kret 6d6f3acd97
Add parameter hints for node parameters N8N-2841 (#2704)
* 🔨 base functionality done

* :fix: changes accordingly to review

* :fix: replaced div with n8n-text

* :fix: return wrong deleted color variable

* add mock examples for testing

* add slack node test param

* 🔨 changed font size of hint, added top margin

* 🔨 updated comments and function name

* 🔨 updated parameterHint to hint

* 🔨 updated text color, set compact to true, changed inputLabelHint to hint

* 🔨 updated components styles

* 🔨 replaced mini with xsmall

* :fix: fixed line height

* :fix: changed line height to 1.25

* :hummer: removed mock data

* 🔨 changed xsmall line-height

*  update to merge hint

Co-authored-by: Mutasem <mutdmour@gmail.com>
2022-01-28 07:55:25 +01:00
fabian wohlgemuth ebd4aa4c31
Improve wording in "Save your Changes" modal (#2718) 2022-01-27 21:18:45 +01:00
Jan Oberhauser 6a77969cff 🐛 Fix issue that default values did not get send for credential
testing
2022-01-24 17:37:07 +01:00
Jan Oberhauser 2d7e00e85c 🔖 Release n8n-editor-ui@0.127.0 2022-01-22 17:57:27 +00:00
Jan Oberhauser 90bb5fa7bc ⬆️ Set n8n-workflow@0.84.0 on n8n-editor-ui 2022-01-22 17:57:27 +00:00
fabian wohlgemuth 88809936ee
🐛 Fix string for "Filter by tags"
* Creating locale string for openWorkflow.filterWorkflows & use it in the Open Workflow modal

* Fix: Use filterWorkflows label in placeholder location
2022-01-22 18:18:19 +01:00
Jan Oberhauser b23a87c7f4 🐛 Fix issue that binary data did not get displayed full height&width 2022-01-22 11:02:27 +01:00
Mutasem Aldmour 49bf786e5b
Improve workflow activation (#2692)
* feat: activator disabled based on thiggers

* feat: tooltip over inactive switch

* feat: message for trigger types

* feat: deactivate on save if trigger is removed

* chore: refactor executions modal

* feat: calculate service name if possible

* feat: alert on activation

* chore: fix linting

* feat: always enable activator when active

* fix: adjust the alert

* feat: take disabled state into account

* feat: automatically save on activation

* feat: rely on nodes name and edit messages

* feat: isolate state for each activator instance

* feat: create activation modal component

* feat: activationModal checkbox and trigger message

* feat: add activation messages to node config

* chore: style activation modal

* chore: style fixes

* feat: refactor disabled state

* chore: refactor modal

* chore: refactor modal

* chore: tidy the node config

* chore: refactor and styling tweaks

* chore: minor fixes

* fix: check webhooks from ui nodes

* chore: remove saving prompt

* chore: explicit current workflow evaluation

* feat: add settings link to activation modal

* fix: immediately load executions on render

* feat: exclude error trigger from trigger nodes

* chore: add i18n keys

* fix: check localstorage more strictly

* fix: handle refresh in execution list

* remove unnessary event

* remove comment

* fix closing executions modal bugs

* update closing

* update translation key

* fix translation keys

* fix modal closing

* fix closing

* fix drawer closing

* close all modals when opening executions

* update key

* close all modals when opening workflow or new page

* delete unnessary comment

* clean up import

* clean up unnessary initial data

* clean up activator impl

* rewrite

* fix open modal bug

* simply remove error

* refactor activation logic

* fix i18n and such

* remove changes

* revert saving changes

* Revert "revert saving changes"

25c29d1055

* add translation

* fix new workflows saving

* clean up modal impl

* clean up impl

* refactor common code out

* remove active changes from saving

* refactor differently

* revert unnessary change

* set dirty false

* fix i18n bug

* avoid opening two modals

* fix tooltips

* add comment

* address other comments

* address comments

Co-authored-by: saintsebastian <tilitidam@gmail.com>
2022-01-21 18:00:00 +01:00
Jan Oberhauser a41afc8013 🐛 Fix issue with default values in combination with displayOptions 2022-01-21 08:52:39 +01:00
Iván Ovejero 58c9831956
📚 Minor i18n docs fixes (#2689) 2022-01-17 10:31:12 +01:00
Jan Oberhauser 4829ae5c42 🔖 Release n8n-editor-ui@0.126.0 2022-01-16 13:39:51 +00:00
Jan Oberhauser 23c46ae78d ⬆️ Set n8n-workflow@0.83.0 on n8n-editor-ui 2022-01-16 13:39:51 +00:00
Iván Ovejero ba6822c4ac
👕 Remove redundant linting options (#2626) 2022-01-15 20:34:13 +01:00
Mutasem Aldmour c9e1892cd9
🐛 Fix tags i18n bug (#2667) 2022-01-13 07:41:48 +01:00
Jan Oberhauser 712de92c85 🔖 Release n8n-editor-ui@0.125.0 2022-01-09 16:15:41 +00:00
Jan Oberhauser 3d06d15b9d ⬆️ Set n8n-workflow@0.82.0 on n8n-editor-ui 2022-01-09 16:15:41 +00:00
Jan Oberhauser 7be9769302
Revert "🐛 Fix VUE_APP_PUBLIC_PATH issue (#2648)" (#2655)
This reverts commit c129252d2b.
2022-01-09 16:57:36 +01:00
m2scared c129252d2b
🐛 Fix VUE_APP_PUBLIC_PATH issue (#2648)
VUE_APP_PUBLIC_PATH was not working on Linux after this commit.
2022-01-08 12:20:33 +01:00
Iván Ovejero 5fec563c5c
i18n feedback refactorings (#2597)
*  Create endpoint for node credential translation

*  Add API helper method in FE

* 🔨 Add creds JSON files to tsconfig

*  Refactor credentials loading

*  Refactor calls in CredentialConfig

* ✏️ Add dummy translations

*  Split translations per node

* 🔥 Remove deprecated method

*  Refactor nesting in collections

* 🚚 Rename topParameter methods for accuracy

* ✏️ Fill out GitHub dummy cred

* 🚚 Clarify naming for collection utils

* ✏️ Fill out dummy translation

* 🔥 Remove surplus colons

* 🔥 Remove logging

*  Restore missing space

* 🔥 Remove lingering colon

*  Add path to InputLabel calls

* ✏️ Fill out dummy translations

* 🐛 Fix multipleValuesButtonText logic

*  Add sample properties to be deleted

*  Render deeply nested params

* 📦 Update package-lock.json

* 🔥 remove logging

* ✏️ Add dummy value to Slack translation

* ✏️ Add placeholder to dummy translation

*  Fix placeholder rendering for button text

* 👕 Fix lint

* 🔥 Remove outdated comment

* 🐛 Pass in missing arg for placeholder

* ✏️ Fill out Slack translation

*  Add explanatory comment

* ✏️ Fill out dummy translation

* ✏️ Update documentation

* 🔥 Remove broken link

* ✏️ Add pending functionality

* ✏️ Fix indentation

* 🐛 Fix method call in CredentialEdit

*  Implement eventTriggerDescription

* 🐛 Fix table-json-binary radio buttons

* ✏️ Clarify usage of eventTriggerDescription

* 🔥 Remove unneeded arg

* 🐛 Fix display in CodeEdit and TextEdit

* 🔥 Remove logging

* ✏️ Add translation for test cred options

* ✏️ Add test for separate file in same dir

* ✏️ Add test for versioned node

* ✏️ Add test for node in grouped dir

* ✏️ Add minor clarifications

* ✏️ Add nested collection test

* ✏️ Add pending functionality

*  Generalize collections handling

* 🚚 Rename helper to remove redundancy

* 🚚 Improve naming in helpers

* ✏️ Improve helpers documentation

* ✏️ Improve i18n methods documentation

* 🚚 Make endpoint naming consistent

* ✏️ Add final newlines

* ✏️ Clean up JSON examples

*  Reuse i18n method

*  Improve utils readability

*  Return early if cred translation exists

* 🔥 Remove dummy translations
2022-01-07 22:02:21 +01:00
Mutasem Aldmour 6a2db6d107
🐛 Fix personalisation bug (#2652)
* fix personlization bug

* fix translation issues

* fix suggested nodes

* update key
2022-01-07 20:41:28 +01:00
Ahsan Virani 57016624b8
Improve telemetry (#2604)
* add node positions in node graph

* add hover events

* add tag count in save event

* populate properties when default

* fix delete and enable node events

* add node and workflow exec events

* lint

* add node graph

* add node id
2022-01-07 17:14:59 +01:00
Jan Oberhauser a3dae4e640 🔖 Release n8n-editor-ui@0.124.0 2022-01-02 09:46:01 +00:00
Iván Ovejero 815e405148
🐛 Fix number suffix in duplicate node (#2602)
* 🐛 Fix number suffix in duplicate node

* 🔥 Remove logging
2022-01-02 10:31:06 +01:00
Jan Oberhauser bef05d2c9d 🔖 Release n8n-editor-ui@0.123.0 2021-12-25 13:18:31 +00:00
Jan Oberhauser b7be337933 ⬆️ Set n8n-workflow@0.81.0 on n8n-editor-ui 2021-12-25 13:18:31 +00:00
Jan Oberhauser 205ae0986f 🐛 Display correct expression result for not first output data 2021-12-24 10:10:13 +01:00
Ahsan Virani 1e42effc3a
Introduce binary data management (#2059)
* introduce binary data management

* merge fixes

* fixes

* init binary data manager for other modes

* improve binary manager

* improve binary manager

* delete binary data on executions delete

* lazy delete non-saved executions binary data

* merge fixes + error handing

* improve structure

* leftovers and cleanups

* formatting

* fix config description

* fixes

* fix races

* duplicate binary data for execute workflow node

* clean up and cr

* update mode name, add binary mode to diagnostics

* update mode name, add prefix to filename

* update filename

* allow multiple modes, backward compatibility

* improve file and id naming

* use execution id for binary data storage

* delete binary data by execution id

* add meta for persisted binary data

* delete marked persisted files

* mark deletion by executionid

* add env var for persisted binary data ttl

* improvements

* lint fix

* fix env var description

* cleanup

* cleanup

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-23 22:29:04 +01:00
Jan Oberhauser aecb30dfa8 🔀 Merge branch 'arpadgabor-feat/monaco' 2021-12-23 21:00:54 +01:00
Jan Oberhauser b4f2251bcb Improvements 2021-12-23 21:00:08 +01:00
Jan Oberhauser 395f8ed5b5 🐛 Add support for data from not first output data 2021-12-23 19:11:14 +01:00
Jan Oberhauser 85be1223e9 Further improve default types 2021-12-23 18:15:40 +01:00
Jan Oberhauser cc4f16f419 Improve default types if there is not execution data 2021-12-23 18:13:25 +01:00
Jan Oberhauser b9abf5c57b 🐛 Fix issue with no incoming data 2021-12-23 15:54:30 +01:00
Iván Ovejero 2b74b6238e
Deprecate step size and node color (#2586)
* 🔥 Deprecate numberStepSize

* 🔥 Deprecate color in non-FA nodes

*  Minor node name fixes

* 📦 Update package-lock.json

*  Restore Merge node color

* 👕 Fix lint
2021-12-23 13:30:35 +01:00
Iván Ovejero 0ce26d48e0
Minor i18n fixes (#2585)
*  Make subcategory render keys consistent

*  Add missing or key

*  Fix default text for multiple value button

*  Simplify subcategory extraction
2021-12-23 12:21:27 +01:00
Jan Oberhauser fa760ee26b Improve autocomplete and a few other changes 2021-12-23 11:41:46 +01:00
Jan Oberhauser cd3ea6a33f Fix theme name 2021-12-20 23:52:19 +01:00
Jan Oberhauser c62225c866 Fix syntax error and disable minimap 2021-12-20 23:51:04 +01:00
Jan Oberhauser 291c5154c6 Change background color and add $json autocomplete 2021-12-20 23:41:45 +01:00
Jan Oberhauser 76fcc0ba42 🔀 Merge branch 'master' into arpadgabor-feat/monaco 2021-12-20 22:47:06 +01:00
Jan Oberhauser 03633eb185 🔖 Release n8n-editor-ui@0.122.1 2021-12-20 17:22:21 +01:00
Jan Oberhauser d454ae2b12 🐛 Fix syntax that it displays correctly 2021-12-20 17:18:28 +01:00
Iván Ovejero fdcfead9cf Add missing integrated key 2021-12-20 15:46:30 +01:00
Iván Ovejero 23e4a9f625 Deprecate number formatting
This was a minor convenience feature but out of scope for MVP. Needs refactoring for future usage in plugin.
2021-12-20 15:32:22 +01:00
Iván Ovejero f0bc2eb86e Add missing method call 2021-12-20 15:30:27 +01:00
Iván Ovejero b1a629ead0 Add missing webhook key 2021-12-20 15:30:07 +01:00
Jan Oberhauser 6af782d786 🔖 Release n8n-editor-ui@0.122.0 2021-12-19 14:20:17 +01:00
Jan Oberhauser 33f6d36d57 ⬆️ Set n8n-workflow@0.80.0 on n8n-editor-ui 2021-12-19 14:18:34 +01:00
Jan Oberhauser 5f6e9767c9 🔀 Merge branch 'master' into i18n-v2 2021-12-19 13:52:04 +01:00
Jan Oberhauser 3329d6f902 🔖 Release n8n-editor-ui@0.121.0 2021-12-19 12:44:09 +00:00
Oliver Trajceski 11c49b9327
🐛 Fix UpdatedPanel not closing (#2563) 2021-12-19 12:50:02 +01:00
Elvina Valieva d6c7528420
Add support for backspace (#2551) 2021-12-19 12:35:06 +01:00
Mutasem Aldmour df1a0f3c44
🐛 Prevent clicks bubbling to main view (#2580) 2021-12-19 12:27:48 +01:00
Iván Ovejero 0f1377d68f 🔥 Remove dummy translations 2021-12-17 12:53:49 +01:00
Iván Ovejero bc8bd19e9c 🐛 Fix number-formatting call 2021-12-17 12:15:38 +01:00
Iván Ovejero d2855c1d7e 🔥 Remove unneeded colon 2021-12-16 18:20:48 +01:00
Iván Ovejero 07e0236996 🐛 Fix typo in method call 2021-12-16 17:31:57 +01:00
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