Commit graph

554 commits

Author SHA1 Message Date
Mutasem Aldmour 47eb2c73ca
Refresh options #1678 (#2012)
* Allow refresh remoteOptions

* clean up pr, update option name, move option down

Co-authored-by: Anthr@X <4828355+AnthraX1@users.noreply.github.com>
2021-07-23 17:52:25 +02:00
Mutasem Aldmour a9550202df
🧹 clean up editor based on #1418 (#2010)
* clean up editor based on #1418

* remove unused ref

* address comment on guard style
2021-07-23 17:50:47 +02:00
MedAliMarz 5602929210
🎨 Update webhook URL details UI (#2004)
* Update the webhook URL details

* Change radio buttons values

* Limit the effects for the webhook node
2021-07-23 17:42:46 +02:00
MedAliMarz 10acbecfaa
🐛 Fix workflow activation confirmation modal (#2005)
* Show the activation message if the workflow is not saved

* Apply review changes
2021-07-23 09:32:56 +02:00
Mutasem Aldmour 98ec23544b
Add new version notification (#1977)
* add menu item

* implement versions modal

* fix up modal

* clean up badges

* implement key features

* fix up spacing

* add error message

* add notification icon

* fix notification

* fix bug when no updates

* address lint issues

* address multi line nodes

* add closing animation

* keep drawer open

* address design feedback

* address badge styling

* use grid for icons

* update cli to return version information

* set env variables

* add scss color variables

* address comments

* fix lint issue

* handle edge cases

* update scss variables, spacing

* update spacing

* build

* override top value for theme

* bolden version

* update config

* check endpoint exists

* handle long names

* set dates

* set title

* fix bug

* update warning

* remove unused component

* refactor components

* add fragments

* inherit styles

* fix icon size

* fix lint issues

* add cli dep

* address comments

* handle network error

* address empty case

* Revert "address comments"

480f969e07

* remove dependency

* build

* update variable names

* update variable names

* refactor verion card

* split out variables

* clean up impl

* clean up scss

* move from nodeview

* refactor out gift notification icon

* fix lint issues

* clean up variables

* update scss variables

* update info url

* Add instanceId to frontendSettings

* Use createHash from crypto module

* Add instanceId to store & send it as http header

* Fix lintings

* Fix interfaces & apply review changes

* Apply review changes

* add console message

* update text info

* update endpoint

* clean up interface

* address comments

* cleanup todo

* Update packages/cli/config/index.ts

Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>

* update console message

*  Display node-name on hover

*  Formatting fix

Co-authored-by: MedAliMarz <servfrdali@yahoo.fr>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-22 10:22:17 +02:00
Jan Oberhauser d14de339a9 🔖 Release n8n-editor-ui@0.99.0 2021-07-18 12:26:52 +00:00
MedAliMarz e2e57539d6
🐛 Change the dirty state after deleting a workflow (#1992) 2021-07-17 09:00:39 +02:00
Jan Oberhauser f625f7c3f8 🔖 Release n8n-editor-ui@0.98.0 2021-07-11 16:23:06 +00:00
Jan Oberhauser 45e73ad628 👕 Fix lint issue 2021-07-11 18:18:01 +02:00
Iván Ovejero 922880f93d
Fix workflow ID type on download (#1956) 2021-07-10 23:23:19 +02:00
Omar Ajoue d3da5023f0
🐛 Fix "unknown", never-end workflow and not displaying error message (#1978)
* Added try catch blocks to avoid endlessly running workflows

* Added handling for subworkflows

*  Fix one cause of "unkown" status of worklows with "main" mode

*  Fix one cause of "unkown" status of worklows with "own" mode

*  Fix one cause of "unkown" status of worklows with "queue" mode

* Saving database recovery

* 🐛 Fix issue that errors did not get saved correctly and also not
displayed

*  Save workflow timeout correctly as error

* Adding error capture to queued jobs

*  Mark canceled executions as not finished consistently across all
modes

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-10 11:34:41 +02:00
Mutasem Aldmour a842e4bc0a
🐛 Fix nodes panel reactivity bug (#1972)
* add keys

* fix nodes panel reactivity bug

* fix lint issues
2021-07-08 07:46:20 +02:00
Omar Ajoue 8d235e94cb
Performance improvements for executions count on Postgres (#1888)
* Performance improvements for executions count on Postgres

As reported by a community member https://community.n8n.io/t/stress-load-testing/4846/5
and https://github.com/n8n-io/n8n/issues/1578, when using postgres with
a big volume of executions, the executions list's performance degrades.

This PR is aimed at Postgres specifically by querying postgres' stats
collector instead of running a full table scan, providing a good
estimate.

More can be read here: https://www.citusdata.com/blog/2016/10/12/count-performance/

* Removed order of magnitude so we display closer numbers

* Making count based on statistics only when not applying filters

*  Minor styling improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-06 23:25:25 +02:00
Jan Oberhauser 80a5c8ac60 🔖 Release n8n-editor-ui@0.97.0 2021-07-04 18:14:34 +00:00
Jan Oberhauser ba7b487517 ⬆️ Set n8n-workflow@0.63.0 on n8n-editor-ui 2021-07-04 18:14:34 +00:00
Jan Oberhauser b49202687d Add support to display binary video content 2021-07-03 14:30:02 +02:00
Mutasem Aldmour a42bbf88f8
Enable tags selection (#1960) 2021-07-01 10:15:28 +02:00
Mutasem Aldmour a080fab1f1
Update click outside events to limit only to click events, ignoring blur (#1953) 2021-06-30 09:17:30 +02:00
Jan Oberhauser 3a2456a88e 🔖 Release n8n-editor-ui@0.96.1 2021-06-29 10:56:43 +02:00
Mutasem Aldmour a4d0c0fcad
🐛 Fix keyboard shortcut issues (#1934)
* fix keyboard shortcut issues

* remove duplicate check

* remove duplicate check
2021-06-29 10:47:28 +02:00
Jan Oberhauser 7f9d546f60 🔖 Release n8n-editor-ui@0.96.0 2021-06-27 11:44:09 +00:00
Mutasem Aldmour f940ba8f71
🐛 Fix workflow execution bugs (#1941) 2021-06-27 08:37:53 +02:00
Mutasem Aldmour 69a013d719
Improve zooming (#1903)
* implement import

* set name, remove console log

* add validation and such

* remove monday.com package for testing

* clean up code

* await new name

* refactor api requests

* remove unnessary import

* build

* add zoom button

* update positions on loading template

* update error handling

* build

* update zoom to center

* set state to dirty upon leaving

* clean up pr

* refactor func

* refactor redir

* fix lint issue

* refactor func out

* use new endpoint

* revert error changes

* revert error changes

* update logic to find top left node

* zoom to fit when opening workflow

* revert testing change

* update zoom buttons to focus on origin

* update zoom shortcut

* update shortcuts

* update case

* remove debounce

* add secondary mappings

* fix reset

* add semicolon

* split func

* address comments

* refactor out

* refactor out

* reset zoom when opening new workflow

* move interface to common file

* remove duplicate

* fix import sort

* clean up pr

* clean up pr

*  Ignore keyboard shortcuts in select fields

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-23 12:49:34 +02:00
Iván Ovejero 6bbff58faa
🐛 Fix console error on node deletion (#1921)
* 🐛 Fix this is undefined on node deletion

*  Update to latest per feedback
2021-06-22 19:45:48 +02:00
Iván Ovejero bd4fbf3a4b
Touch up display for large error cause (#1927) 2021-06-22 19:43:43 +02:00
Mutasem Aldmour 1d5ba3d437
Allow to load workflow templates (#1887)
* implement import

* set name, remove console log

* add validation and such

* remove monday.com package for testing

* clean up code

* await new name

* refactor api requests

* remove unnessary import

* build

* add zoom button

* update positions on loading template

* update error handling

* build

* update zoom to center

* set state to dirty upon leaving

* clean up pr

* refactor func

* refactor redir

* fix lint issue

* refactor func out

* use new endpoint

* revert error changes

* revert error changes

* update logic to find top left node

* zoom to fit when opening workflow

* revert testing change

* update case

* address comments

* reset zoom when opening new workflow

* update endpoint to plural form

* update endpoint

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-22 19:33:07 +02:00
Jan Oberhauser 4dde8bb032 🔖 Release n8n-editor-ui@0.95.0 2021-06-20 09:17:14 +00:00
Jan Oberhauser 4b1f3e9802 ⬆️ Set n8n-workflow@0.62.0 on n8n-editor-ui 2021-06-20 09:17:14 +00:00
Jan Oberhauser 73fc13fef1 Fix dependencies 2021-06-20 10:49:51 +02:00
Kaito Udagawa f08c13a222 Fix dependencies
This fixes the problem when running lerna bootstrap without --hoist.
2021-06-20 13:03:01 +09:00
Ben Hesseldieck c0c994d245
Add hooks to Node Lifecycle (#1882)
*  add hook when closing node editing view

*  add hook for node deletion

*  add hook call to escape key
2021-06-18 22:47:03 +02:00
Ben Hesseldieck 0470740737
Change the UI of the Nodes Panel (#1855)
* Add codex search properties to node types

* implement basic styles

* update header designs

* update node list designs

* add trigger icon

* refactor node creator list

* implement categories and subcategories

* fix up spacing

* add arrows

* implement navigatable list

* implement more of feature

* implement navigation

* add transitions

* fix lint issues

* fix overlay

*  Get and add codex categories

* fix up design

* update borders

* implement no-matches view

* fix preview bug

* add color to search

* clean up borders

* add comma

* Revert "Merge branch 'add-codex-data' of github.com:n8n-io/n8n into PROD-819-nodes-panel-redesign"

38b7d7ead1

* use new impl

* remove empty categories

* update scrolling, hide start node

* make scrollable

* remove text while subcategory panel is open

* fix up spacing

* fix lint issues

* update descriptions

* update path

* update images

* fix tags manager

* give min height to image

* gst

* update clear color

* update font size

* fix firefox spacing

* close on click outside

* add external link icon

* update iterator key

* add client side caching for images

* update caching header

* ️ Add properties to codex for nodes panel (#1854)

*  Get and add codex categories

*  Add parens to evaluation + destructuring

* 🔥 Remove non-existing class reference

*  Add alias to codex property

* move constants

* 🔨 Rename CodexCategories to CodexData

* ✏️ Update getCodex documentation

* refactor and move

* refactor no results view

* more refactoring

* refactor subcategory panel

* more refactoring

* update text

* update no results view

* add miscellaneous to end of list

* address design feedback

* reimplement node search

* fix up clear

* update placeholder color

* impl transition

* focus on tab

* update spacing

* fix transition bug on start

* fix up x

* fix position

* build

* safari fix

* remove input changes

* css bleed issue with image

* update css value

* clean up

* simplify impl

* rename again

* rename again

* rename all

* fix hover bug

* remove keep alive

* delete icon

* update interface type

* refactor components

* update scss to module

* clean up impl

* clean up colors as vars

* fix indentation

* clean up scss

* clean up scss

* clean up scss

* clean up scss

* Clean up files

* update logic to be more efficient

* fix search bug

* update type

* remove unused

* clean up js

* update scrollable, border impl, transition

* fix simicolon

* build

* update search

* address max's comments

* change icon border radius

* change margin

* update icon size

* update icon size

* update slide transition out

* add comma

* remove full

* update trigger icon size

* fix image size

* address design feedback

* update external link icons

* address codacy issues

* support custom nodes without codex file

* address jan's feedback

* address Ben's comments

* add subcategory index

* open/close categories with arrow keys

* add lint comment

* Address latest comments

*  Minor changes

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-18 07:58:26 +02:00
Jan Oberhauser 310ae3be98 🔖 Release n8n-editor-ui@0.94.1 2021-06-16 12:50:30 +02:00
Jan Oberhauser 21caa207e8 🔖 Release n8n-editor-ui@0.94.0 2021-06-13 17:57:44 +00:00
Jan Oberhauser ef93a34f8f ⬆️ Set n8n-workflow@0.61.0 on n8n-editor-ui 2021-06-13 17:57:44 +00:00
Iván Ovejero c0ec1ed606
Show activation error details for trigger nodes (#1787)
*  Implement error details in toast notification

*  Refactor error notification

*  Pipe activation error in prod mode to FE

*  Add node name to activation error details

*  Disable ignoring with ts-check

* 📝 fix spelling

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-06-12 17:06:56 +02:00
Jan Oberhauser b03988220f 🔖 Release n8n-editor-ui@0.93.0 2021-06-06 20:20:54 +00:00
Jan Oberhauser 09e14987f0 🐛 Display issue that view crashes with large requests 2021-06-06 14:53:48 -05:00
MedAliMarz 6ccb42156d
🐛 Fix NodeViewNew navigation handling (#1853)
* 🐛 Fix NodeViewNew navigation handling

* Use event emitter pattern to fix duplicate navigation

* Apply review suggestions

* Remove unnecessary arrow function

*  Also fix for keyboard shortcut

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-04 16:13:42 -05:00
Jan Oberhauser e1190d7ed3 🔖 Release n8n-editor-ui@0.92.2 2021-06-03 18:48:11 -05:00
Iván Ovejero 40e41f7506
Restructure IPushData union types (#1836)
*  Send console.log messages to editor-UI

*  Send message only to session which started workflow

*  Made it also work in own process

*  Add support for console.log UI forward also to FunctionItem Node

* 👕 Fix lint issue

* 👕 Fix linting issue

*  Restructure IPushData unions in /cli

*  Restructure IPushData unions in /editor-ui

* 🔥 Remove unneeded castings

* 🔥 Remove commented code

*  Improve code

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jan <janober@users.noreply.github.com>
2021-06-03 18:17:18 -05:00
Jan Oberhauser e4bac15d05 🐛 Fix issue that deleted value in expression did reappear after item select 2021-06-03 16:53:01 -05:00
Jan Oberhauser 8ce158d1a4 🐛 Fix error message on textarea field clicks 2021-06-02 20:48:07 -05:00
Jan Oberhauser ef08a4a3f7 🔖 Release n8n-editor-ui@0.92.1 2021-05-31 13:15:59 -05:00
Jan Oberhauser 8f6344fbd5 🐛 Fix issue with selecting variables in Expression Editor 2021-05-31 12:59:45 -05:00
Mutasem Aldmour 7a5e69d4e5
🐛 Enable header clicks on tags (#1848)
* enable header clicks

* remove unused func
2021-05-31 18:34:55 +02:00
Jan Oberhauser 40af847cb3 🔖 Release n8n-editor-ui@0.92.0 2021-05-30 17:47:30 +00:00
Jan Oberhauser 9698f6b94b ⬆️ Set n8n-workflow@0.60.0 on n8n-editor-ui 2021-05-30 17:47:30 +00:00
Jan Oberhauser 4d86384d9d 🐛 Fix issue with adding expression to parameter 2021-05-29 22:41:54 -05:00
Jan Oberhauser 2d9c2e1a1e Speed up expression editor 2021-05-29 21:08:41 -05:00