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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
कारतोफ्फेलस्क्रिप्ट™
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
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
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
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
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
Alex Grozav
eb112ffd23
feat: Add message for readonly nodes. Improve foreign credentials handling ( #4759 )
...
* feat: Add message for readonly nodes. Improve foreign credentials handling
* Copy fix
Co-authored-by: João Ramos <hello@joao.pt>
2022-12-06 12:15:07 +02:00
Alex Grozav
1b7952a516
feat: Fix checkbox line height and make checkbox label clickable ( #4818 )
...
* fix: Update checkbox design and make checkbox label clickable
* fix: Remove checkbox ids
* chore: remove unused imports
2022-12-05 14:48:56 +02:00
Iván Ovejero
59771c80ea
feat(editor): Overhaul expression editor modal ( #4631 )
...
* feat(editor): Integrate CodeMirror into expression editor modal (#4563 )
* ✨ Initial setup
* 👕 Fix lint
* ⚡ Extract segments
* ⚡ Implement var insertion
* 👕 Ignore `.d.cts`
* ⚡ Refactor to simplify
* ✨ Add brace handler
* ✨ Fully replace input and output
* feat(editor): Adjust resolved expression to match parameter input hint (#4600 )
* ✨ Initial adjustments
* 🐛 Prevent empty decorations
* ⚡ Adjust resolved expression to match param input hint
* ✏️ Improve comment
* 👕 Remove lint rule
* ✏️ Fix typo
* ✏️ Fix closing brace
* ⚡ Clean up `displayableSegments()`
* feat(editor): Apply styling to expression editor modal (#4607 )
🎨 Apply styling
* feat(core): Improve errors in evaluated expression (#4619 )
* 🐛 Fix env var access for FE
* 🔥 Remove excess closing bracket
* 🚧 Set up TODO
* ✏️ Update copy
* ⚡ Deny env vars access to FE
* 👕 Remove unneeded lint exception
* 📘 Remove unneeded typing
* feat(editor): Dynamically delay evaluation resolution (#4625 )
* ✏️ Update copy
* ⚡ Dynamically delay evaluation resolution
* 🔥 Remove unneeded computed property
* refactor(editor): Pre-review cleanup (#4627 )
* 🔥 Remove `ExpressionInput` component
* 🔥 Remove Quill
* ✏️ Rename i18n key
* 🎨 Place border on correct element
* 🐛 Handle syntax errors
* ⚡ Add sample autocompletions
* 🐛 Fix auto-extending behavior
* feat(editor): Improve escaping behavior (#4641 )
* 🎨 Hide hint on small screen
* ⚡ Improve escaping
* refactor(editor): Apply styling feedback to expression editor modal (#4660 )
* 🎨 Restyle hint
* 🎨 Restyle param input hint
* 🔥 Remove `e.g.`
* ⚡ Tweak delay
* 🎨 Restyle output
* 🎨 Tweak theme
* ✏️ Tweak copy
* refactor(editor): Apply feedback 2022.11.22 (#4697 )
* 🎨 Change background color
* ⚡ Focus on mount
* ⚡ Account for preexisting braces on injection
* 🐛 Fix `$workflow` showing as not saved
* ✏️ Tweak copy
* 🐛 Fix readonly focus
* ⚡ Focus input on paste
* ⚡ Sync inputs with modal
* ✏️ Tweak copy
* refactor(editor): Apply feedback 2022.11.23 (#4705 )
* ⚡ Allow newlines
* ⚡ Set cursor at end of content
* ⚡ Do not defocus on paste on Chrome
* ⚡ Fix import
* 🧪 Add e2e tests
* ⚡ Cleanup
* ⚡ Add telemetry
* 🔥 Remove log
* ⚡ Expose error properties
* 🧪 Rename test
* ⚡ Move `getCurrentWorkflow()` call
* ⏪ Revert highlighting removal per feedback
* ⚡ Add i18n keys
* 🚚 Move computed property to local state
* 🎨 Use CSS vars
* ⚡ Update `pnpm-lock.yaml`
* ⚡ Apply readonly state
* ⚡ Use prop
* ⚡ Complete fix
2022-12-01 13:26:22 +01:00
Alex Grozav
fca632fc15
fix: Update owner badge padding (no-changelog) ( #4749 )
...
* fix: Update owner badge padding
* test: Update snapshot
2022-11-29 11:04:05 +02:00
Alex Grozav
30214f2bc2
fix: Remove background for resource ownership selector ( #4748 )
2022-11-29 11:03:55 +02:00
Alex Grozav
d6d442d458
fix: Update size of select components in filters dropdown ( #4747 )
...
* fix: Update size of select components in filters dropdown
* fix: Update select tags styling
2022-11-29 11:03:43 +02:00
Milorad FIlipović
e3aeaa9a87
fix(editor): Fix for broken selectors for workflows tests (no-changelog) ( #4734 )
...
Fixing broken selectors for workflows tests
2022-11-25 17:10:28 +01:00
Milorad FIlipović
cb3bfc32f7
test: Setup e2e tests for workflow actions ( #4724 )
...
* ✅ Adding first batch of workflow actions tests
* ✅ Adding loading handling logic and new workflow actions tests
* ✅ Added workflow activation and rename tests
* 👌 Addressing review feedback
* 🔥 Removing leftover commented code
2022-11-25 15:32:09 +01:00
कारतोफ्फेलस्क्रिप्ट™
1821bb0699
fix: Lint typescript stories (no-changelog) ( #4723 )
...
* fix: Lint typescript stories (no-changelog)
* import StoryFn as type
2022-11-25 13:00:59 +01:00
कारतोफ्फेलस्क्रिप्ट™
55c201eb21
refactor: Improve typings for element-ui imports (no-changelog) ( #4678 )
...
* convert all stories to typescript
* stricter typing for element-ui imports
2022-11-25 10:51:51 +01:00
Mutasem Aldmour
95b97078e8
test: Add e2e tests for workflow/credential migrations when enabling UM ( #4719 )
...
* add tests
* ci: Setup cypress tasks for resetting DB, and setting up an owner
* add test tests to check for settings
* add more tests
* clean up
* rename tag
* update test id
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-11-24 23:22:09 +01:00