github-actions[bot]
ca588ed66a
🚀 Release 1.0.0 ( #6553 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-27 16:47:42 +02:00
Iván Ovejero
0fe415add2
feat(editor): Add v1 banner ( #6443 )
2023-06-22 21:05:04 +02:00
Iván Ovejero
8c008f5d22
refactor(core)!: Remove basic-auth, external-jwt-auth, and no-auth options ( #6362 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 20:03:47 +02:00
github-actions[bot]
93a8236155
🚀 Release 0.233.0 ( #6428 )
...
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-06-14 16:28:08 +02:00
Jan Oberhauser
10bb5be542
Merge tag 'n8n@0.232.0'
2023-06-14 14:34:12 +02:00
Csaba Tuncsik
df62e7e8b6
test(editor): Unit test Version control frontend components ( #6408 )
...
* test(editor): test n8n-select design system component
* test(editor): test version control settings happy path
* test(editor): test version control settings disconnect
2023-06-12 15:44:47 +02:00
github-actions[bot]
72448229d7
🚀 Release 0.232.0 ( #6399 )
...
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-06-07 15:29:04 +03:00
Csaba Tuncsik
e72521d5ec
fix(editor): Add Set up version control CTA ( #6356 )
...
* fix(editor): Add Set up version control CTA
* fix(editor): add unit test
* fix(editor): extend unit test
* fix(editor): update menu sidebar styles
* fix(editor): update menu sidebar styles
* fix(editor): fixes after conflict
* fix(editor): hide branch color when not connected
* fix(editor): fix connected collapsed paddings
2023-06-06 14:27:26 +02:00
Iván Ovejero
78763c8320
ci: Fix build (no-changelog) ( #6379 )
2023-06-06 13:44:24 +02:00
Jan Oberhauser
4162b7b38a
Merge tag 'n8n@0.231.0'
2023-06-05 11:19:11 +02:00
Csaba Tuncsik
3dd260168e
fix(editor): Add secondary icon to menu items ( #6351 )
...
* fix(editor): Add secondary icon to menu items
* empty
2023-06-02 12:00:05 +02:00
Csaba Tuncsik
1b321416c0
feat: Version control mvp ( #6271 )
...
* implement basic git service
* cleanup connected prop
* add skeleton of git functions
* initial import/export setup
* split out export service
* refactor and improve export
* begin import
* more commands and basic import
* clean up imports with transactions
* work folder import functions
* reintroduce versionid
* add missing import to pull workfolder
* add get-status endpoint
* add cleanup to disconnect
* add initRepo options
* add more checks and cleanup
* minor cleanup
* refactor prefs
* fix server.ts
* fix sending deleted files
* rename files to ee
* add variable override and fix critical cred import bug
* fix mkdir race condition
* make initRepo default to true
* fix front back integration
* improve connect flow
* add comment to generated ssh key
* fix(editor): use useToast composable
* fix buttons size
* commenting out repo init for now
* fix(editor): update UI logic
* fix(editor): remove console.log
* fix(editor): remove unused ref
* adjust endpoints for improved UI
* fix(editor): add push and pull buttons
* keep or not ssh key
* switching file name to id
* fix(editor): add success messages, fix save button
* fixed faulty diff preventing pull
* fix build
* fix(editor): adding loader to VC components
* removing duplicate exports
* improve conflict finding on push pull
* manage pull conflict
* alternate push pull
* fix pull confirmation
* fix rm and credential export/import
* switch to alternative pull implementation
* fix initial commit
* fix(editor): subscribing to VC store action to refresh lists
* fix(editor): wrap VC store actions with try
* feat: add fine-grained file selection for push action
* fix: close modal after successful push
* fix(editor): VC preferences validation
* fix confirm
* fix: update endpoint to /get-status
* feat: update pull modal override changes message
* fix missing wf error
* undo
* removing connect endpoint
* fix(editor): add button titles
* fix(editor): cleaning up store action
* add version-control/set-read-only protection
* fix(editor): adding set branch readonly
* fix(editor): remove Push button if branch set to readonly
* fix(editor): fix some styles
* fix(editor): remove duplicate and delete actions in WF list when branch is readonly
* fix: load status before opening selective push modal
* fix(editor): extend readonly logic
* add cleanup after failed initRepo
* fix deleted files crashing get-status
* fix n8n-checkbox in staging dialog
* fix(editor): fix loading
* fix(editor): resize buttons
* fix(editor): fix translation
* fix(editor): fix copy text size
* fix(editor): fix copy text size
* fix(editor): add disconnection confirmation
* fix(editor): add disconnection confirmation
* fix(editor): set large buttons
* add public api Pull endpoint
* feat: add refresh ssh key
* return prefs when new keys are generated
* fix(editor): adding readOnly mode to main header
* fix(editor): adding readOnly mode to workflow settings
* improve credential owner import
* add middleware to endpoints
* improve public api error/doc
* do not create branch if one already exists
* update wordings for connect toasts
* fix(editor): updating and separating readonly modes
* fix(editor): fix readonly mode in WF list
* fix(editor): disable elements dragging on canvas in readonly mode (WIP: not working when NodeView page is loaded first)
* fix(editor): fix canvas draggables in readonly env
* fix(editor): remove unused variables
* fix(editor): hide actions in node connections when readonly
* fix(editor): hide actions in node connections when readonly
* fix(editor): disable Save button when readonly
* fix(editor): disable Save settings if no branch is selected
* fix(editor): lint fix
* fix(editor): update snapshots
* fix(editor): replace Loading... text
* fix(editor): reset Loading... text
* reset branchname on disconnect
* fix(editor): adding some translations
* fix(editor): fix unit test
* fix(editor): fix loading
* fix(editor): set settings saved message
* fix(editor): update connection flag
* fix branchName not returning after connect
* temporary (but still breaking) fix for postgres
* fix(editor): adding tooltip to Push/Pull buttons when they're collapsed
* fix(editor): enabled activator in readonly mode
* fix test
* fix(editor): disabling new item addition for workflows in readonly mode
* fix(editor): modify Pull/Push button tooltips
* do not commit empty variables file
---------
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-05-31 15:01:57 +02:00
github-actions[bot]
3e2eb15a9d
🚀 Release 0.231.0 ( #6344 )
...
* 🚀 Release 0.231.0
* Update CHANGELOG.md
---------
Co-authored-by: krynble <krynble@users.noreply.github.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-05-31 13:55:26 +02:00
Milorad FIlipović
04cfa548af
feat(editor): Implement Resource Mapper component ( #6207 )
...
* ⚡ scaffolding
* ⚡ finished scaffolding
* ⚡ renamed types
* ⚡ updated subtitle
* ⚡ renamed functions file, UI updates
* ⚡ query parameters fixes, ui updates, refactoring
* ⚡ fixes for credentials test, setup for error parsing
* ⚡ rlc for schema and table, error handling tweaks
* ⚡ delete operation, new options
* ⚡ columns loader
* ⚡ linter fixes
* ⚡ where clauses setup
* ⚡ logic for processing where clauses
* ⚡ select operation
* ⚡ refactoring
* ⚡ data mode for insert and update, wip
* ⚡ data mapping, insert update, skip on conflict option
* ⚡ select columns with spaces fix
* ⚡ update operation update, wip
* ⚡ finished update operation
* ⚡ upsert operation
* ⚡ ui fixes
* Copy updates.
* Copy updates.
* ⚡ option to convert empty strings to nulls, schema checks
* ⚡ UI requested updates
* ⚡ ssh setup WIP
* ⚡ fixes, ssh WIP
* ⚡ ssh fixes, credentials
* ⚡ credentials testing update
* ⚡ uncaught error fix
* ⚡ clean up
* ⚡ address in use fix
* ⚡ improved error message
* ⚡ tests setup
* ⚡ unit tests wip
* ⚡ config files clean up
* ⚡ utils unit tests
* ⚡ refactoring
* ⚡ setup for testing operations, tests for deleteTable operation
* ⚡ executeQuery and insert operations tests
* ⚡ select, update, upsert operations tests
* ⚡ runQueries tests setup
* ⚡ hint to query
* Copy updates.
* ⚡ ui fixes
* ⚡ clean up
* ⚡ error message update
* ⚡ ui update
* Minor tweaks to query params decription.
* feat(Google Sheets Node): Implement Resource mapper in Google Sheets node (#5752 )
* ✨ Added initial resource mapping support in google sheets node
* ✨ Wired mapping API endpoint with node-specific logic for fetching mapping fields
* ✨ Implementing mapping fields logic for google sheets
* ✨ Updating Google Sheets execute methods to support resource mapper fields
* 🚧 Added initial version of `ResourceLocator` component
* 👌 Added `update` mode to resource mapper modes
* 👌 Addressing PR feedback
* 👌 Removing leftover const reference
* 👕 Fixing lint errors
* ⚡ singlton for conections
* ⚡ credentials test fix, clean up
* feat(Postgres Node): Add resource mapper to new version of Postgres node (#5814 )
* ⚡ scaffolding
* ⚡ finished scaffolding
* ⚡ renamed types
* ⚡ updated subtitle
* ⚡ renamed functions file, UI updates
* ⚡ query parameters fixes, ui updates, refactoring
* ⚡ fixes for credentials test, setup for error parsing
* ⚡ rlc for schema and table, error handling tweaks
* ⚡ delete operation, new options
* ⚡ columns loader
* ⚡ linter fixes
* ⚡ where clauses setup
* ⚡ logic for processing where clauses
* ⚡ select operation
* ⚡ refactoring
* ⚡ data mode for insert and update, wip
* ⚡ data mapping, insert update, skip on conflict option
* ⚡ select columns with spaces fix
* ⚡ update operation update, wip
* ⚡ finished update operation
* ⚡ upsert operation
* ⚡ ui fixes
* Copy updates.
* Copy updates.
* ⚡ option to convert empty strings to nulls, schema checks
* ⚡ UI requested updates
* ⚡ ssh setup WIP
* ⚡ fixes, ssh WIP
* ⚡ ssh fixes, credentials
* ⚡ credentials testing update
* ⚡ uncaught error fix
* ⚡ clean up
* ⚡ address in use fix
* ⚡ improved error message
* ⚡ tests setup
* ⚡ unit tests wip
* ⚡ config files clean up
* ⚡ utils unit tests
* ⚡ refactoring
* ⚡ setup for testing operations, tests for deleteTable operation
* ⚡ executeQuery and insert operations tests
* ⚡ select, update, upsert operations tests
* ⚡ runQueries tests setup
* ⚡ hint to query
* Copy updates.
* ⚡ ui fixes
* ⚡ clean up
* ⚡ error message update
* ⚡ ui update
* Minor tweaks to query params decription.
* ✨ Updated Postgres node to use resource mapper component
* ✨ Implemented postgres <-> resource mapper type mapping
* ✨ Updated Postgres node execution to use resource mapper fields in v3
* 🔥 Removing unused import
---------
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
* feat(core): Resource editor componend P0 (#5970 )
* ✨ Added inital value of mapping mode dropdown
* ✨ Finished mapping mode selector
* ✨ Finished implementing mapping mode selector
* ✨ Implemented 'Columns to match on' dropdown
* ✨ Implemented `loadOptionsDependOn` support in resource mapper
* ✨ Implemented initial version of mapping fields
* ✨ Implementing dependant fields watcher in new component setup
* ✨ Generating correct resource mapper field types. Added `supportAutoMap` to node specification and UI. Not showing fields with `display=false`. Pre-selecting matching columns if it's the only one
* ✨ Handling matching columns correctly in UI
* ✨ Saving and loading resourceMapper values in component
* ✨ Implemented proper data saving and loading
* ✨ ResourceMapper component refactor, fixing value save/load
* ✨ Refactoring MatchingColumnSelect component. Updating Sheets node to use single key match and Postgres to use multi key
* ✨ Updated Google Sheets node to work with the new UI
* ✨ Updating Postgres Node to work with new UI
* ✨ Additional loading indicator that shown if there is no mapping mode selector
* ✨ Removing hard-coded values, fixing matching columns ordering, refactoring
* ✨ Updating field names in nodes
* ✨ Fixing minor UI issues
* ✨ Implemented matching fields filter logic
* ✨ Moving loading label outside of fields list
* ✅ Added initial unit tests for resource mapper
* ✅ Finished default rendering test
* ✅ Test refactoring
* ✅ Finished unit tests
* 🔨 Updating the way i18n is used in resource mapper components
* ✔️ Fixing value to match on logic for postgres node
* ✨ Hiding mapping fields when auto-map mode is selected
* ✨ Syncing selected mapping mode between components
* ✨ Fixing dateTime input rendering and adding update check to Postgres node
* ✨ Properly handling database connections. Sending null for empty string values.
* 💄 Updated wording in the error message for non-existing rows
* ✨ Fixing issues with selected matching values
* ✔️ Updating unit tests after matching logic update
* ✨ Updating matching columns when new fields are loaded
* ✨ Defaulting to null for empty parameter values
* ✨ Allowing zero as valid value for number imputs
* ✨ Updated list of types that use datepicker as widger
* ✨ Using text inputs for time types
* ✨ Initial mapping field rework
* ✨ Added new component for mapping fields, moved bit of logic from root component to matching selector, fixing some lint errors
* ✨ Added tooltip for columns that cannot be deleted
* ✨ Saving deleted values in parameter value
* ✨ Implemented control to add/remove mapping fields
* ✨ Syncing field list with add field dropdown when changing dependent values
* ✨ Not showing removed fields in matching columns selector. Updating wording in matching columns selector description
* ✨ Implementing disabled states for add/remove all fields options
* ✨ Saving removed columns separately, updating copy
* ✨ Implemented resource mapper values validation
* ✨ Updated validation logic and error input styling
* ✨ Validating resource mapper fields when new nodes are added
* ✨ Using node field words in validation, refactoring resource mapper component
* ✨ Implemented schema syncing and add/remove all fields
* ✨ Implemented custom parameter actions
* ✨ Implemented loading indicator in parameter options
* 🔨 Removing unnecessary constants and vue props
* ✨ Handling default values properly
* ✨ Fixing validation logic
* 👕 Fixing lint errors
* ⚡ Fixing type issues
* ⚡ Not showing fields by default if `addAllFields` is set to `false`
* ✨ Implemented field type validation in resource mapper
* ✨ Updated casing in copy, removed all/remove all option from bottom menu
* ✨ Added auto mapping mode notice
* ✨ Added support for more types in validation
* ✨ Added support for enumerated values
* ✨ Fixing imports after merging
* ✨ Not showing removed fields in matching columns selector. Refactoring validation logic.
* 👕 Fixing imports
* ✔️ Updating unit tests
* ✅ Added resource mapper schema tests
* ⚡ Removing `match` from resource mapper field definition, fixing matching columns loading
* ⚡ Fixed schema merging
* ⚡ update operation return data fix
* ⚡ review
* 🐛 Added missing import
* 💄 Updating parameter actions icon based on the ui review
* 💄 Updating word capitalisation in tooltips
* 💄 Added empty state to mapping fields list
* 💄 Removing asterisk from fields, updating tooltips for matching fields
* ⚡ Preventing matching fields from being removed by 'Remove All option'
* ⚡ Not showing hidden fields in the `Add field` dropdown
* ⚡ Added support for custom matching columns labels
* ⚡ query optimization
* ⚡ fix
* ⚡ Optimizing Postgres node enumeration logic
* ⚡ Added empty state for matching columns
* ⚡ Only fully loading fields if there is no schema fetched
* ⚡ Hiding mapping fields if there is no matching columns available in the schema
* ✔️ Fixing minor issues
* ✨ Implemented runtime type validation
* 🔨 Refactoring validation logic
* ✨ Implemented required check, added more custom messages
* ✨ Skipping boolean type in required check
* Type check improvements
* ✨ Only reloading fields if dependent values actually change
* ✨ Adding item index to validation error title
* ✨ Updating Postgres fetching logic, using resource mapper mode to determine if a field can be deleted
* ✨ Resetting field values when adding them via the addAll option
* ⚡ Using minor version (2.2) for new Postgres node
* ⚡ Implemented proper date validation and type casting
* 👕 Consolidating typing
* ✅ Added unit tests for type validations
* 👌 Addressing front-end review comments
* ⚡ More refactoring to address review changes
* ⚡ Updating leftover props
* ⚡ Added fallback for ISO dates with invalid timezones
* Added timestamp to datetime test cases
* ⚡ Reseting matching columns if operation changes
* ⚡ Not forcing auto-increment fields to be filled in in Postgres node. Handling null values
* 💄 Added a custom message for invalid dates
* ⚡ Better handling of JSON values
* ⚡ Updating codemirror readonly stauts based on component property, handling objects in json validation
* Deleting leftover console.log
* ⚡ Better time validation
* ⚡ Fixing build error after merging
* 👕 Fixing lint error
* ⚡ Updating node configuration values
* ⚡ Handling postgres arrays better
* ⚡ Handling SQL array syntax
* ⚡ Updating time validation rules to include timezone
* ⚡ Sending expressions that resolve to `null` or `undefined` by the resource mapper to delete cell content in Google Sheets
* ⚡ Allowing removed fields to be selected for match
* ⚡ Updated the query for fetching unique columns and primary keys
* ⚡ Optimizing the unique query
* ⚡ Setting timezone to all parsed dates
* ⚡ Addressing PR review feedback
* ⚡ Configuring Sheets node for production, minor vue component update
* New cases added to the TypeValidation test.
* ✅ Tweaking validation rules for arrays/objects and updating test cases
---------
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
2023-05-31 11:56:09 +02:00
Michael Auerswald
77e3f1551d
feat: Add manual login option and password reset link for SSO ( #6328 )
...
* consolidate IUserSettings in workflow and add allowSSOManualLogin
* add pw reset link to owners ui
2023-05-30 12:52:02 +02:00
github-actions[bot]
eb008395f1
🚀 Release 0.230.0 ( #6310 )
...
* 🚀 Release 0.230.0
* Update CHANGELOG.md
---------
Co-authored-by: maspio <maspio@users.noreply.github.com>
Co-authored-by: Marcus <56945030+maspio@users.noreply.github.com>
2023-05-24 13:42:39 +02:00
Csaba Tuncsik
fc580f7ee8
fix(editor): Fix design system button with icon vertical alignment ( #6284 )
...
* fix(editor): Fix design system button with icon vertical alignment
* trigger checks
---------
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-05-24 13:03:46 +02:00
Iván Ovejero
96144bd983
ci: Add rule dangerously-use-html-string-missing
(no-changelog) ( #6299 )
2023-05-24 10:12:41 +02:00
github-actions[bot]
16fade7d41
🚀 Release 0.229.0 ( #6267 )
...
* 🚀 Release 0.229.0
* Update CHANGELOG.md
---------
Co-authored-by: csuermann <csuermann@users.noreply.github.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2023-05-17 13:35:26 +02:00
कारतोफ्फेलस्क्रिप्ट™
ebb3aaf61e
refactor(editor): Drop vue-typed-mixins (no-changelog) ( #6257 )
2023-05-16 11:43:46 +02:00
Alex Grozav
b4fd9ba94d
fix: Add itemSize config to workflows view recycle scroller (no-changelog) ( #6238 )
...
* fix: Add itemSize config to workflows view recycle scroller (no-changelog)
* test: add unit tests to cover recycle scroller height
* fix: revert allWorkflows change
* fix: fix linting issue
* fix: fix sharing e2e test flakiness
2023-05-16 12:07:55 +03:00
Ricardo Espinoza
cd7c312fbd
feat(editor): Add cloud ExecutionsUsage and API blocking using licenses ( #6159 )
...
* Add ExecutionsUsage component
* set $sidebar-expanded-width back to 200px
* add days using interpolation
* Rename PlanData type to CloudPlanData
* Rename Metadata type to PlanMetadata
* Make prop block in the update button
* Use variable in line-height
* Remove progressBarSection class
* fix trial expiration calculation
* mock expirationDate and fix issue with days left
* Remove unnecesary property from class .container
* inject component data via props
* Check for plan data during app mounting and keep data in the store
* Remove mounted hook
* redirect when upgrade plan is clicked
* Remove computed properties
* Remove instance property as it's not needed anymore
* Flatten plan object
* remove console.log
* Add all cloud types within its own namespace
* keep redirection inside component
* get computed properties back
* Improve polling logic
* Move cloudData to its own store
* Remove commented interfaces
* remove cloudPlan from user store
* fix imports
* update logic for userIsTrialing method
* centralize userIsTrialing method
* redirect to production change plan page always
* Call staging or production cloud api depending on base URL
* remove setting store form ExecutionUsage.vue
* fix linting issue
* Add trial group to PlanMetadata group
* Move helpers into the store
* make staging url check more specific
* make cloud state nullable
* fix linting issue
* swap mockup date for endpoint
* Make getCurrentPlan async
* asas
* Improvements
* small improvements
* chore: resolve conflicts
* make sure there is data before calculating trial expiration
* Fix issue with component not loading on first page load
* type safety improvements
* apply component ui feedback
* fix linting issue
* chore: clean up unnecessary change from merge conflict
* feat: Block api feature using licenses, show notice page for trial cloud users (#6187 )
* rename planSpec to plan
* Remove instance property as it's not needed anymore
* Flatten plan object
* remove console.log
* feat: disable api using license
* feat: add api page
* chore: resolve conflicts
* chore: resolve conflicts
* feat: update and refactor a bit
* fix: update endpoints
* fix: update endpoints
* fix: use host
* feat: update copy
* fix linting issues
---------
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* add pluralization to days left text
---------
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2023-05-15 17:16:13 -04:00
कारतोफ्फेलस्क्रिप्ट™
fc181ffbff
refactor(editor): Remove unused dependencies (no-changelog) ( #6223 )
2023-05-12 10:21:40 +02:00
Csaba Tuncsik
823e88500c
feat(editor): Add color picker design system component ( #6179 )
...
* feat(editor): Add color picker design system component
* fix(editor): remove type imports
* fix(editor): fix v-model
* fix(editor): fix props
* fix(editor): color picker view model
* test(editor): add some basic test to color picker
* fix(editor): update color picker styles
* fix(editor): color picker view model
* test(editor): update snapshot
2023-05-11 15:28:05 +02:00
Jan Oberhauser
a09552d644
Merge tag 'n8n@0.228.0'
2023-05-11 14:02:09 +02:00
कारतोफ्फेलस्क्रिप्ट™
82687902f8
ci: Code coverage should include .vue
files as well (no-changelog) ( #6224 )
2023-05-11 12:29:45 +02:00
github-actions[bot]
d5c74bd2b4
🚀 Release 0.228.0 ( #6219 )
...
* 🚀 Release 0.228.0
* Update CHANGELOG.md
---------
Co-authored-by: netroy <netroy@users.noreply.github.com>
2023-05-11 11:50:17 +02:00
Csaba Tuncsik
13c143eb6d
fix(editor): Update and add design system checkbox component to Editor ( #6178 )
...
* fix(editor): Update and add design system checkbox component to Editor
* test(editor): Test Checkbox design system component
2023-05-05 09:25:29 +02:00
Csaba Tuncsik
1e6a75f341
fix(editor): Update and fix storybook (was failing to run in local dev mode) ( #6180 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-05-04 17:43:58 +02:00
github-actions[bot]
4f56194035
🚀 Release 0.226.0 ( #6087 )
2023-04-26 16:05:03 +02:00
OlegIvaniv
390841bbf0
feat(editor): Enhance Node Creator actions view ( #5954 )
...
* WIP
* WIP
* Extract actions into composable
* WIP: Preserve categories when searching
* WIP
* WIP: Tweak styles
* WIP: Refactor node creator
* WIP: Finish Node Creator node view/subcategories refactor
* WIP: Finished actions refactor
* Cleanup & Lintfix
* WIP: Improve memory managment
* Fix interactions
* WIP
* WIP: Keyboard navigation
* Improve keyboard navigation and memory managment
* Finished view refactor
* FIx custom api calls and activation callouts
* Fix actions tracking and cleanup
* Product review fixes
* Telemetry fixes
* Fix node creator e2es
* Set action name font size and actionsEmpty font weight
* Fix failing credentials spec
* Make sure to select first action item when switching from nodes panel to actions panel
* Add actions panel e2e tests
* Cleanup
* Fix actions generation and cleanup
* Add correct Learn More link and adjust displaying of trigger icon
* Change trigger icon condition to use nodeType group
* Cleanup nodeTypesUtils and snapshots and lintfixes
* Lint fixes
* Refine logic to show trigger icon in node creator
* Add unit tests & clean up
* Add `003_auto_insert_action` experiment, hide empty sections for opposite root view
* Lintfix
* Do not show empty category tooltips and only show activation callout in triger root view
* Fix no-results node creator view
* Spacings tweaks and root rendering logic adjustment
* Add unit tests
* Lint and e2e fixes
* Revert CLI changes, fix unit tests
* Remove useless comments
* Sync master, replace $externalHooks mixin
* Lint fix
* Focus first action when panel slides in, not category
* Address PR comments
* Lint fix
* Remove `setAddedNodeActionParameters` optional track param
* Further simplify setAddedNodeActionParameters
* Fix pnpn lock file
* Fix types imports
* Fix 13-pinning spec
2023-04-26 09:18:10 +02:00
कारतोफ्फेलस्क्रिप्ट™
ca4e0df90b
refactor(editor): Replace monaco-editor/prismjs with CodeMirror ( #5983 )
...
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-04-25 16:57:21 +02:00
Iván Ovejero
57aab63c10
refactor: Integrate consistent-type-imports
in FE packages (no-changelog) ( #6060 )
...
* 👕 Move `consistent-type-imports` to top level
* 👕 Apply lintfixes
* 👕 Apply more lintfixes
* 👕 More lintfixes
* 👕 More lintfixes
2023-04-24 12:18:24 +02:00
Alex Grozav
54f99a7d0d
feat: Replace this.$refs.refName as Vue with InstanceType<T> (no-changelog) ( #6050 )
...
* refactor: use InstanceType<T> for all this.$refs types
* refactor: update refs type in N8nSelect
* fix: remove inputRef non-null assertion
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
* fix: remove non-null assertion
---------
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2023-04-21 16:59:04 +03:00
Jan Oberhauser
589f19e1ee
docs: Add proprietary license text (no-changelog) ( #6038 )
2023-04-20 18:49:09 +02:00
github-actions[bot]
053a5bfa27
🚀 Release 0.225.0 ( #6012 )
2023-04-19 14:10:37 +02:00
Alex Grozav
f5448269ee
fix: Fix n8n-checkbox alignment ( #6004 )
...
* fix: fix n8n-checkbox alignment
* fix: use css variables in checkbox inner margin-top
* test: update snapshots
2023-04-19 11:37:43 +03:00
Iván Ovejero
cd894893aa
fix(editor): Add padding to prepend input ( #5874 )
...
* 🎨 Add padding to prepend input
* 🎨 Apply only on FF
2023-04-18 15:38:52 +02:00
Val
1bb987140a
feat: Add variables feature ( #5602 )
...
* feat: add variables db models and migrations
* feat: variables api endpoints
* feat: add $variables to expressions
* test: fix ActiveWorkflowRunner tests failing
* test: a different fix for the tests broken by $variables
* feat: variables licensing
* fix: could create one extra variable than licensed for
* feat: Add Variables UI page and $vars global property (#5750 )
* feat: add support for row slot to datatable
* feat: add variables create, read, update, delete
* feat: add vars autocomplete
* chore: remove alert
* feat: add variables autocomplete for code and expressions
* feat: add tests for variable components
* feat: add variables search and sort
* test: update tests for variables view
* chore: fix test and linting issue
* refactor: review changes
* feat: add variable creation telemetry
* fix: Improve variables listing and disabled case, fix resource sorting (no-changelog) (#5903 )
* fix: Improve variables disabled experience and fix sorting
* fix: update action box margin
* test: update tests for variables row and datatable
* fix: Add ee controller to base controller
* fix: variables.ee routes not being added
* feat: add variables validation
* fix: fix vue-fragment bug that breaks everything
* chore: Update lock
* feat: Add variables input validation and permissions (no-changelog) (#5910 )
* feat: add input validation
* feat: handle variables view for non-instance-owner users
* test: update variables tests
* fix: fix data-testid pattern
* feat: improve overflow styles
* test: fix variables row snapshot
* feat: update sorting to take newly created variables into account
* fix: fix list layout overflow
* fix: fix adding variables on page other than 1. fix validation
* feat: add docs link
* fix: fix default displayName function for resource-list-layout
* feat: improve vars expressions ux, cm-tooltip
* test: fix datatable test
* feat: add MATCH_REGEX validation rule
* fix: overhaul how datatable pagination selector works
* feat: update completer description
* fix: conditionally update usage syntax based on key validation
* test: update datatable snapshot
* fix: fix variables-row button margins
* fix: fix pagination overflow
* test: Fix broken test
* test: Update snapshot
* fix: Remove duplicate declaration
* feat: add custom variables icon
---------
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-04-18 12:41:55 +02:00
Iván Ovejero
f8f8374506
feat(editor): Add Ask AI preview ( #5916 )
...
* ✨ Add Ask AI preview
* 🐛 Fire event on mousedown
* ⚡ Update to use Alex's event bus
* ✏️ Use i18n
* ⚡ Add telemetry
* ♻️ Change trigger from focus to hover
* ⚡ Ensure focus + hover trigger event
2023-04-13 14:14:27 +02:00
Jan Oberhauser
303521a0e2
Merge tag 'n8n@0.224.0'
2023-04-12 17:16:26 +02:00
Alex Grozav
430a8781e8
feat: Replace Vue.extend with defineComponent in design system (no-changelog) ( #5918 )
...
* refactor: replace new Vue() with custom event bus (no-changelog)
* fix: export types from design system main
* fix: update component types
* fix: update form inputs event bus
* refactor: replace global Vue references in design-system
* refactor: update prop types
* feat: improve types
* fix: further type improvements
* fix: further types improvements
* fix: further type improvements
* test: fix test snapshots
* test: fix snapshot
* chore: fix linting issues
* test: fix personalization modal snapshot
2023-04-12 17:39:45 +03:00
github-actions[bot]
492496fca4
🚀 Release 0.224.0 ( #5957 )
2023-04-12 15:44:10 +02:00
OlegIvaniv
07c360c30d
refactor(editor): Replace this.$props (no-changelog) ( #5928 )
...
* refactor(editor): Replace this. (no-changelog)
* Lintfix
2023-04-07 12:21:17 +02:00
Alex Grozav
5651a52364
feat: Replace new Vue() with custom event bus (no-changelog) ( #5780 )
...
* refactor: replace new Vue() with custom event bus (no-changelog)
* fix: export types from design system main
* fix: update component types
* fix: update form inputs event bus
2023-04-06 16:32:45 +03:00
github-actions[bot]
e92a993694
🚀 Release 0.222.0 ( #5786 )
2023-03-30 14:53:19 +02:00
Jan Oberhauser
15412b2b2b
Merge tag 'n8n@0.221.0'
2023-03-23 16:08:56 +01:00
github-actions[bot]
5dd92c6b94
🚀 Release 0.221.0 ( #5726 )
2023-03-23 15:37:49 +01:00
OlegIvaniv
02810a9ba3
feat(editor): Fix ResourceLocator dropdown style ( #5714 )
...
* fix(editor): Fix ResourceLocator dropdown style
* Fix other popper classes
* Fix app hanging if loading many remote parameter options
* Make ResourceLocatorDropdown flex
* Override scrollbar styles
* Hide resource locator on outside click not input blur
2023-03-22 15:36:10 +01:00
Jan Oberhauser
b199947c97
ci: Upgrade sanitize-html from 2.9.0 to 2.10.0 ( #5744 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-03-21 16:38:48 +01:00
Csaba Tuncsik
6916628a9f
feat(editor): SSO login button ( #5615 )
...
* feat(editor): SSO login button
* feat(editor): SSO login button
* feat(editor): SSO login button
2023-03-17 21:07:08 +01:00
github-actions[bot]
ca91d2b712
🚀 Release 0.220.0 ( #5704 )
2023-03-16 14:49:21 +01:00
Alex Grozav
29f2629716
feat: Add basic Datatable and Pagination components ( #5652 )
...
* feat: add Datatable component
* feat: migrate to n8n-pagination and add datatable tests
* chore: fix linting issue
2023-03-15 18:52:02 +02:00
कारतोफ्फेलस्क्रिप्ट™
eb3ba83e63
ci: Setup code-coverage reporting for frontend packages (no-changelog) ( #5679 )
2023-03-14 13:13:21 +01:00
कारतोफ्फेलस्क्रिप्ट™
3831201aaf
ci: Setup code-coverage reporting (no-changelog) ( #5669 )
2023-03-10 16:53:05 +01:00
github-actions[bot]
40a6ab814d
🚀 Release 0.219.0 ( #5659 )
2023-03-09 18:04:39 +01:00
Csaba Tuncsik
2eba050461
fix(editor): Fix ElButton overrides ( #5605 )
...
* fix(editor): Fix ElButton overrides
* fix(editor): Fix ElButton overrides
2023-03-03 11:48:45 +01:00
github-actions[bot]
a91b631411
🚀 Release 0.218.0 ( #5601 )
...
* 🚀 Release 0.218.0
* Update Changelog
---------
Co-authored-by: janober <janober@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2023-03-02 17:32:52 +01:00
Mutasem Aldmour
1f7b478920
fix: Fix mapping paths when appending to empty expression ( #5591 )
...
* fix: Fix mapping when appending to empty expression
* fix: refactor logic out
* test: add tests
* test: add tests
* fix: fix bug where value does not get updated when mapping
* test: add test for bug
* test: add test for bug
2023-03-02 15:02:29 +03:00
github-actions[bot]
a72ef21817
🚀 Release 0.217.0 ( #5553 )
2023-02-23 18:21:17 +01:00
OlegIvaniv
9a1e7b52f7
feat(editor): Unify regular and trigger node creator panels ( #5315 )
...
* WIP: Merge TriggerHelperPanel with MainPanel
* WIP: Implement switching between views
* Remove logging
* WIP: Rework search
* Fix category toggling and search results display
* Fix node item description
* Sort actions based on the root view
* Adjust personalisation modal, make trigger canvas node round
* Linting fixes
* Fix filtering of API options
* Fix types and no result state
* Cleanup
* Linting fixes
* Adjust mode prop for node creator tracking
* Fix merging of core nodes and filtering of single placeholder actions
* Lint fixes
* Implement actions override, fix node creator view item spacing and increase click radius of trigger node icon
* Fix keyboard view navigation
* WIP: E2E Tests
* Address product review
* Minor fixes & cleanup
* Fix tests
* Some more test fixes
* Add specs to check actions and panels
* Update personalisation survey snapshot
2023-02-17 15:08:26 +01:00
Jan Oberhauser
18cbc6aa23
🔖 Release n8n-design-system@0.54.0
2023-02-16 12:16:25 +00:00
कारतोफ्फेलस्क्रिप्ट™
f7cbd6b17e
feat(editor): Upgrade to Storybook v7 (no-changelog) ( #5454 )
...
Storybook 6 + Webpack 4 are pulling in a lot of dependencies that are blocking us from supporting node 18.
2023-02-14 12:44:13 +01:00
Milorad FIlipović
3b9eec77ec
test(editor): Add e2e tests for executions preview ( #5458 )
...
* ✅ Added initial tests for executions preview
* 🔥 Removing unneeded actions
* 👌 Renaming test suite, moving mock executions logic to util function
2023-02-14 11:39:19 +01:00
Jan Oberhauser
2fb54e922a
🔖 Release n8n-design-system@0.53.0
2023-02-10 15:44:19 +00:00
Iván Ovejero
136b74de5e
test: Upgrade vitest
(no-changelog) ( #5307 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-02-10 03:20:15 +01:00
Milorad FIlipović
d9a4c2c66d
test(editor): Add user management e2e tests ( #5438 )
...
* ✅ Added initial UM test using new commands
* ✅ Added rest of the UM tests
2023-02-09 16:00:55 +01:00
Omar Ajoue
5e3e70b83b
feat: Change desktop UM experience ( #5312 )
...
* refactor: Hide prompt for desktop
* feat: add email field to personalization modal
* fix: update survey interfaces
* chore: enable personalization survey email key display condition
* feat: add users page upsell for desktop client
* feat: disable UM on desktop where possible
* refactor: Have a single function to decide whether UM is enabled
* feat: update community nodes upsell link
---------
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: krynble <omar@n8n.io>
Co-authored-by: freyamade <freya@n8n.io>
2023-02-08 11:42:22 +02:00
Jan Oberhauser
c8205dd55e
🔖 Release n8n-design-system@0.52.0
2023-01-27 15:28:37 +00:00
Alex Grozav
439c9c6e1f
fix: Fix RecycleScroller end index (no-changelog) ( #5272 )
2023-01-27 17:09:55 +02:00
Alex Grozav
874c735d0a
feat: Improve workflow list performance using RecycleScroller and on-demand sharing data loading ( #5181 )
...
* feat(editor): Load workflow sharedWith info only when opening share modal (#5125 )
* feat(editor): load workflow sharedWith info only when opening share modal
* fix(editor): update workflow share modal loading state at the end of initialize fn
* feat: initial recycle scroller commit
* feat: prepare recycle scroller for dynamic item sizes (no-changelog)
* feat: add recycle scroller with variable size support and caching
* feat: integrated recycle scroller with existing resources list
* feat: improve recycle scroller performance
* fix: fix recycle-scroller storybook
* fix: update recycle-scroller styles to fix scrollbar size
* chore: undo vite config changes
* chore: undo installed packages
* chore: remove commented code
* chore: remove vue-virtual-scroller code.
* feat: update size cache updating mechanism
* chore: remove console.log
* fix: adjust code for e2e tests
* fix: fix linting issues
2023-01-27 09:51:32 +02:00
Alex Grozav
99e35f1e94
feat(editor): Update design-system and editor dependencies (no-changelog) ( #5188 )
2023-01-27 02:09:30 +01:00
Ricardo Espinoza
0c70a40317
feat(core): Add LDAP support ( #3835 )
2023-01-25 02:18:39 +01:00
Jan Oberhauser
a4eacd0cab
🔖 Release n8n-design-system@0.51.1
2023-01-16 14:41:24 +00:00
Mutasem Aldmour
96d773f82d
test: Update unit tests to remove hash ( #5152 )
...
* test: update unit tests to remove hash
* chore: update callout component
2023-01-16 14:16:12 +01:00
Jan Oberhauser
4031f0356b
🔖 Release n8n-design-system@0.51.0
2023-01-13 16:18:00 +00:00
Alex Grozav
d2d481f12e
feat(editor): Update callout component design ( #5126 )
...
feat(design-system): Update callout component design
2023-01-13 13:31:15 +02:00
Mutasem Aldmour
c2eb519398
feat: Add demo experiment to help users activate ( #5141 )
...
* feat: enable posthog for dev process
* feat: inject sticky in demo
* feat: update url
* feat: update pos
* feat: add demo button
* feat: add callout
* feat: hide behind exp
* fix: fix zoom to fit
* fix: fix zoom reset when moving to new view
* fix: use constant for test
* feat: add tracking
* feat: fix tracking
* feat: fix tracking
* fix canvas centering
* feat: update time
* feat: update bg color
* feat: update copy
* feat: update btm padding
* feat: replace thumbnail
* feat: increase height of sticky
* chore: clean up props
* fix: revert canvas change
* chore: address feedback
* chore: remove extra space
* test: fix unit tests
2023-01-13 11:56:29 +01:00
Jan Oberhauser
e778b12d7a
🔖 Release n8n-design-system@0.50.1
2023-01-05 17:17:56 +00:00
Alex Grozav
2327563c44
feat: Add user management invite links without SMTP set up ( #5084 )
...
* feat: update n8n-users-list to no longer use preset list of actions
* feat: prepared users settings for invite links feature
* refactor: Return invite link URLs when inviting users (#5079 )
* refactor: Return invite link URLs when inviting users
* test: Refactor and add tests to mailer
* feat: Add FE inviteAcceptUrl integration (#5085 )
* feat: update n8n-users-list to no longer use preset list of actions
* feat: prepared users settings for invite links feature
* feat: add integration with new inviteAcceptUrl changes
* feat: Add inviteAcceptUrl to user list for pending users
Co-authored-by: Alex Grozav <alex@grozav.com>
* fix conflicts
* fix lint issue
* test: Make sure inviteAcceptUrl is defined
* feat: update smtp setup suggestion
* feat: add invite link summary when inviting multiple users
* refactor: Add telemetry flag for when email is sent
* fix: add email_sent correctly to telemetry event
* feat: move SMTP info-tip to invite modal
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-01-05 17:10:08 +02:00
Jan Oberhauser
b9b1b643ba
🔖 Release n8n-design-system@0.50.0
2023-01-05 13:19:27 +00:00
Iván Ovejero
d9b98fc8be
refactor: Lint for no unneeded backticks ( #5057 ) (no-changelog)
...
* ✨ Create rule `no-unneeded-backticks`
* 👕 Enable rule
* ⚡ Run rule on `cli`
* ⚡ Run rule on `core`
* ⚡ Run rule on `workflow`
* ⚡ Rule rule on `design-system`
* ⚡ Run rule on `node-dev`
* ⚡ Run rule on `editor-ui`
* ⚡ Run rule on `nodes-base`
2022-12-29 12:20:43 +01:00
Jan Oberhauser
b646638d1b
🔖 Release n8n-design-system@0.49.3
2022-12-27 15:19:38 +00:00
कारतोफ्फेलस्क्रिप्ट™
a229788d4b
ci: Fix linting issues on master (no-changelog) ( #5030 )
...
* make CI logs less noisy. suppress linting warning
* fix linting issues
2022-12-23 19:09:52 +01:00
Jan Oberhauser
456a180f7e
🔖 Release n8n-design-system@0.49.2
2022-12-23 16:58:44 +00:00
कारतोफ्फेलस्क्रिप्ट™
a12606828e
ci: Enforce code formatting on editor-ui (no-changelog) ( #5022 )
...
* ci: Enforce code formatting on editor-ui (no-changelog)
* pnpm format on all frontend code
2022-12-23 13:37:32 +01:00
Jan Oberhauser
bd57ab1cf7
🔖 Release n8n-design-system@0.49.1
2022-12-22 18:31:30 +00:00
कारतोफ्फेलस्क्रिप्ट™
17f13b3b6e
ci: Setup eslint-import-resolver-typescript
for improved TS linting ( #4996 )
...
* Setup stricter linting for typescript
* make `import/no-unresolved` an error everywhere
* use prettier to format `.vscode/settings.default.json`
* address PR comments
2022-12-22 09:55:39 +01:00
Jan Oberhauser
24dd6b1fb3
🔖 Release n8n-design-system@0.49.0
2022-12-21 16:36:04 +00:00
Csaba Tuncsik
0da338f9b5
feat(editor): Add usage and plan pages ( #4819 )
...
* feat(editor): Usage and plan page (#4793 )
feat(editor): usage and plan page
* feat(editor): Update Usage and plan page (#4842 )
* feat(editor): usage and plan store
* feat(editor): usage and plan page updates
* feat(editor): usage and plan add buttons and alert
* tes(editor): usage and plan store
* tes(editor): usage remove refresh button and add link to view plans
* tes(editor): usage use info tip
* tes(editor): usage info style
* feat(editor): Get quotas data (#4866 )
feat(editor): get quotas data
* feat(editor): In-app experience (#4875 )
* feat: Add license quotas endpoint
* feat: Add trigger count to workflow activation process
* refactor: Get quotas from db
* feat: Add license information
* ✨ - finalised GET /license endpoint
* 🔨 - getActiveTriggerCount return 0 instead of null
* 🐛 - ignore manualTrigger when counting active triggers
* ✨ - add activation endpoint
* ✨ - added renew endpoint
* 🔨 - added return type interfaces
* 🔨 - handle license errors where methods are called
* 🔨 - rename function to match name from lib
* feat(editor): usage add plans buttons logic
* 🚨 - testing new License methods
* feat(editor): usage add more business logic
* chore(editor): code formatting
* 🚨 - added license api tests
* fix(editor): usage store
* fix(editor): usage update translations
* feat(editor): usage add license activation modal
* feat(editor): usage change subscription app url
* feat(editor): usage add contact us link
* feat(editor): usage fix modal width
* ✨ - Add renewal tracking metric
* ✨ - add license data to pulse event
* 🔨 - set default triggercount on entity model
* ✨ - add db migrations for mysql and postgres
* fix(editor): Usage api call data processing and error handling
* fix(editor): Usage fix activation query key
* 🚨 - add initDb to telemetry tests
* 🔨 - move getlicensedata to licenseservice
* 🔨 - return 403 instead of 404 to non owners
* 🔨 - move owner checking to middleware
* 🐛 - fixed incorrectly returned error from middleware
* 🐛 - using mock instead of test db for pulse tests
* fix(editor): Usage fix activation and add success messages
* fix(editor): Usage should not renew activation right after activation
* 🚨 - skipping failing pulse tests for now
* fix(editor): Usage add telemetry calls and apply design review outcomes
* feat(editor): Hide usage page according to BE flag
* feat(editor): Usage modify key activation flow
* feat(editor): Usage change subscription app url
* feat(editor): Usage add telemetry for manage plan
* feat(editor): Usage extend link url query params
* feat(editor): Usage add line chart if there is a workflow limit
* feat(editor): Usage remove query after key activation redirection
* fix(editor): Usage handle limit exceeded workflow chart, add focus to input when modal opened
* fix(editor): Usage activation can return router promise when removing query
* fix(editor): Usage and plan design review
* 🐛 - fix renew endpoint hanging issue
* 🐛 - fix license activation bug
* fix(editor): Usage proper translation for plans and/or editions
* fix(editor): Usage apply David's review results
* fix(editor): Usage page set as default and first under Settings
* fix(editor): Usage open subscription app in new tab
* fix(editor): Usage page having key query param a plan links
* test: Fix broken test
* fix(editor): Usage page address review
* 🧪 Flush promises on telemetry tests
* ⚡ Extract helper with `setImmediate`
* 🔥 Remove leftovers
* ⚡ Use Adi's helper
* refactor: Comment broken tests
* refactor: add Tenant id to settings
* feat: add environment to license endpoints
* refactor: Move license environment to general settings
* fix: fix routing bug
* fix(editor): Usage page some code review changes and formatting
* fix(editor): Usage page remove direct usage of reusable translation keys
* fix(editor): Usage page async await instead of then
* fix(editor): Usage page show some content only if network requests in component mounted were successful
* chore(editor): code formatting
* fix(editor): Usage checking license environment
* feat(editor): Improve license activation error messages (no-changelog) (#4958 )
* fix(editor): Usage changing activation error title
* remove unnecessary import
* fix(editor): Usage refactor notification showing
* fix(editor): Usage using notification directly in store actions
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
* fix(editor): Usage change mounted lifecycle logic
* fix(editor): Usage return after successful activation in mounted
* fix: remove console log
* test: fix tests related to settings (#4979 )
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2022-12-20 10:52:01 +01:00
Jan Oberhauser
06ae843465
🔖 Release n8n-design-system@0.48.0
2022-12-16 13:24:28 +00:00
Iván Ovejero
d7b3d649d6
refactor: Enforce no-explicit-any
in design-system
(no-changelog) ( #4937 )
...
👕 Enforce `no-explicit-any` in design-system
2022-12-15 16:27:17 +01:00
Iván Ovejero
0e4cda5763
refactor: Phase out TSLint in editor-ui
(no-changelog) ( #4935 )
...
* 🔥 Remove `tslint.json`
* 🔥 Remove TSLint commands
* 🔥 Remove exceptions in `editor-ui`
* 🔥 Remove from `.npmignore`
* 🔥 Remove from `eslint-config`
* 🔥 Remove exception from `design-system`
* 🎨 Prettify
* 📦 Update pnpm-lock
* 🔥 Remove duplicate import
* 🔥 Remove exemption for `no-explicit-any`
* 👕 Inline `no-explicit-any` exemptions
2022-12-15 14:06:00 +01:00
Milorad FIlipović
9956547504
test(editor): Add more tests for workflow actions (no-changelog) ( #4931 )
...
* ✅ Added test for importing workflow from URL
* ✅ Added test for importing workflow from file
* ✅ Added test ids for workflow settings elements
* ✅ Added test for changing workflow settings
* ✅ Adding back missing test id for delete node button
2022-12-14 17:13:03 +01:00
Iván Ovejero
a1259898c0
feat(editor): Inline expression editor ( #4814 )
...
* WIP
* 🔥 Remove unneeded watch
* ⚡ Further setup
* ⚡ Fix import
* ⚡ Minor tweaks
* 🔥 Remove logging
* 🎨 Add some styling
* 🎨 More styling changes
* 🐛 Fix wrong marking of stale data
* 🎨 Prevent fx on dragging
* 🔥 Remove logging
* ⚡ Refine draggable target offsets
* refactor(editor): Consolidate expression management logic (#4836 )
* ⚡ Extract `ExpressionFunctionIcon`
* ⚡ Simplify syntax
* ⚡ Move to mixin
* 🎨 Format
* 📘 Unify types
* ⚡ Dedup double brace handler
* ⚡ Consolidate resolvable highlighter
* 🎨 Format
* ⚡ Consolidate language pack
* ✏️ Add comment
* ⚡ Move completions to plugins
* ⚡ Partially deduplicate themes
* refactor(editor): Apply styling feedback to inline expression editor (#4846 )
* 🎨 Adjust styling for expression parameter input
* 🎨 Style outputs differently
* ⚡ Set single line for RLC
* 🎨 Style both openers identically
* 🐛 Prevent defocus on resize
* ⚡ Adjust line height
* 🎨 Adjust border with for expression input
* ⚡ Fix font family for inline output
* ⚡ Set up telemetry
* ⚡ Complete telemetry
* ⚡ Simplify event source
* ⚡ Set monospaced font for inline output
* 🎨 Hide cursor on schema pill drop
* 🧪 Update snapshots
* ⚡ Consolidate editor styles
* ✏️ Add tech debt comments
* ⚡ Improve naming
* ⚡ Improve inside resolvable detection
* ⚡ Improve var naming
* 🔥 Remove outdated comment
* 🚚 Move constant to data
* ✏️ Clarify comments
* 🔥 Remove outdated comments
* 🔥 Remove unneeded try-catch
* 🔥 Remove unneeded method
* 🔥 Remove unneeded check
* 🔥 Remove `openExpression` check
* 🔥 Remove unused timeout
* 🔥 Remove commented out sections
* ⚡ Use Pinia naming convention
* ⚡ Re-evaluate on change of `ndvInputData`
* 🐛 Fix handling of `0` in number-type input
* 🐛 Surface focus and blur for mapping hints
* 🔥 Remove logging
* ✏️ Reword error
* ⚡ Change kebab-case to PascalCase
* ⚡ Refactor state fields for clarity
* ⚡ Support double bracing on selection
* 🎨 More styling
* ⚡ Miscellaneous cleanup
* ⚡ Disregard error on drop
* 🎨 Fix schema pill styling
* 🎨 More `background` to `background-color` fixes
* 🧪 Update snapshots
* 🎨 Replace non-existing var with white
* 🧪 Update snapshot
* 📦 Integrate `codemirror-lang-n8n-expression`
* 🎨 Fix formatting
* 🧪 Re-update test snapshots
* 🧪 Update selectors for inline editor
* 🔥 Remove unused test ID
* 📘 Add type for `currentNodePaneType`
* ⚡ Refactor mixin to util
* ⚡ Use `:global`
* 🔥 Remove comment
* ⚡ Add watch
* ⚡ Change import style
* 👕 Fix lint
* ⚡ Refactor preventing blur on resize
* 🔥 Remove comment
* 🧪 Re-update snapshots
* 🎨 Prettify
* 👕 Fix lint
* 🔥 Remove comment
Co-authored-by: Mutasem <mutdmour@gmail.com>
2022-12-14 14:43:02 +01:00
Jan Oberhauser
1726918c68
🔖 Release n8n-design-system@0.47.0
2022-12-12 14:56:46 +00:00
OlegIvaniv
79fe57dad8
feat(editor): Node creator actions ( #4696 )
...
* WIP: Node Actions List UI
* WIP: Recommended Actions and preseting of fields
* WIP: Resource category
* 🎨 Moved actions categorisation to the server
* 🏷️ Add missing INodeAction type
* ✨ Improve SSR categorisation, fix adding of mixed actions
* ♻️ Refactor CategorizedItems to composition api, style fixes
* WIP: Adding multiple nodes
* ♻️ Refactor rest of the NodeCreator component to composition API, conver globalLinkActions to composable
* ✨ Allow actions dragging, fix search and refactor passing of actions to categorized items
* 💄 Fix node actions title
* Migrate to the pinia store, add posthog feature and various fixes
* 🐛 Fix filtering of trigger actions when not merged
* fix: N8N-5439 — Do not use simple node item when at NodeHelperPanel root
* 🐛 Design review fixes
* 🐛 Fix disabling of merged actions
* Fix trigger root filtering
* ✨ Allow for custom node actions parser, introduce hubspot parser
* 🐛 Fix initial node params validation, fix position of second added node
* 🐛 Introduce operations category, removed canvas node names overrride, fix API actions display and prevent dragging of action nodes
* ✨ Prevent NDV auto-open feature flag
* 🐛 Inject recommened action for trigger nodes without actions
* Refactored NodeCreatorNode to Storybook, change filtering of merged nodes for the trigger helper panel, minor fixes
* Improve rendering of app nodes and animation
* Cleanup, any only enable accordion transition on triggerhelperpanel
* Hide node creator scrollbars in Firefox
* Minor styles fixes
* Do not copy the array in rendering method
* Removed unused props
* Fix memory leak
* Fix categorisation of regular nodes with a single resource
* Implement telemetry calls for node actions
* Move categorization to FE
* Fix client side actions categorisation
* Skip custom action show
* Only load tooltip for NodeIcon if necessary
* Fix lodash startCase import
* Remove lodash.startcase
* Cleanup
* Fix node creator autofocus on "tab"
* Prevent posthog getFeatureFlag from crashing
* Debugging preview env search issues
* Remove logs
* Make sure the pre-filled params are update not overwritten
* Get rid of transition in itemiterator
* WIP: Rough version of NodeActions keyboard navigation, replace nodeCreator composable with Pinia store module
* Rewrite to add support for ActionItem to ItemIterator and make CategorizedItems accept items props
* Fix category item counter & cleanup
* Add APIHint to actions search no-result, clean up NodeCreatorNode
* Improve node actions no results message
* Remove logging, fix filtering of recommended placeholder category
* Remove unused NodeActions component and node merging feature falg
* Do not show regular nodes without actions
* Make sure to add manual trigger when adding http node via actions hint
* Fixed api hint footer line height
* Prevent pointer-events od NodeIcon img and remove "this" from template
* Address PR points
* Fix e2e specs
* Make sure canvas ia loaded
* Make sure canvas ia loaded before opening nodeCreator in e2e spec
* Fix flaky workflows tags e2e getter
* Imrpove node creator click outside UX, add manual node to regular nodes added from trigger panel
* Add manual trigger node if dragging regular from trigger panel
2022-12-09 10:56:36 +01:00
OlegIvaniv
1c36c37a12
test(editor): Fix flaky e2e tests ( #4779 )
...
* test(editor): Fix default-owner and credentials saving e2e specs
* test(editor): fix webhook node test
* test(editor): add cy command for browser permissions
* test(editor): add cy command for reading clipboard
* Fix 3-default-owner spec
* Resolve review comments
* Merge spec
* Fix http node and expression editor modal specs
* Add optional param to credentials modal saving action to wait for the test endpoint
* Improve sidebar items clicking and increase credentials saving timeout
* Rename http e2e spec to fix ordering
* Fix pasting and copying of nodes e2e spec
* Make sure to only access error.cause if it exists
* Wait longer for the keyboard press
* Make sure to focus the body when typing
* Try type delay
* Use meta key based on the running platform
* Fix flaky workflowTagElements getter
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2022-12-07 18:16:38 +01:00
Jan Oberhauser
c701468da4
🔖 Release n8n-design-system@0.46.0
2022-12-06 19:47:40 +00:00
Csaba Tuncsik
9dbb3ea182
feat(editor): Alert design system component ( #4834 )
...
* feat(editor): Alert component
* feat(editor): style improvements
2022-12-06 16:51:46 +01:00