Commit graph

473 commits

Author SHA1 Message Date
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
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
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