कारतोफ्फेलस्क्रिप्ट™
52f740b9e8
refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) ( #5509 )
...
* add typedi
* convert ActiveWorkflowRunner into an injectable service
* convert ExternalHooks into an injectable service
* convert InternalHooks into an injectable service
* convert LoadNodesAndCredentials into an injectable service
* convert NodeTypes and CredentialTypes into an injectable service
* convert ActiveExecutions into an injectable service
* convert WaitTracker into an injectable service
* convert Push into an injectable service
* convert ActiveWebhooks and TestWebhooks into an injectable services
* handle circular references, and log errors when a circular dependency is found
2023-02-21 19:21:56 +01:00
OlegIvaniv
dbcbe595cc
ci(core): Fix docker nightly/custom image build (no-changelog) ( #5284 )
...
* ci(core): Copy patches dir to Docker (no-changelog)
* Update patch
* Update package-lock
* reapply the patch
* skip patchedDependencies after the frontend is built
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-01-30 11:02:05 +01: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
OlegIvaniv
c486ffcf2d
refactor(editor): Patch ElementUI tooltip memory leak ( #4769 )
...
* refactor(editor): Fix ElementUI tooltip memory leak
* fix(editor): Remove patch console.logs and revert node-creator test
2022-11-30 17:27:41 +01:00
कारतोफ्फेलस्क्रिप्ट™
736777385c
feat: Switch from npm to pnpm ( #4429 )
2022-11-09 17:32:05 +01:00
Alex Grozav
27e2ce0470
feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) ( #4061 )
...
* feat: Added vite.js dependencies.
* chore: Removed tests folder to follow same structure as design-system
* chore: Removed unused testing config.
* chore: Created vite.js index.html
* refactor: Updated scss structure and imports.
* refactor: Updated workflow building.
* fix: Cleared up all workflow dependency cycles. Added proper package.json imports config.
* feat: Got a working build using Vite. Need to fix issues next.
* fix: Progress! Getting process.env error.
* fix: Changed process.env to import.meta.env.
* fix: Fixed circular imports that used require(). Fixed monaco editor.
* chore: Removed commented code.
* chore: Cleaned up package.json
* feat: Made necessary changes to replace base path in css files.
* feat: Serve CSS files for `editor-ui` Vite migration (#4069 )
⚡ Serve CSS files for Vite migration
* chore: Fixed package-lock.json.
* fix: Fixed build after centralized tsconfig update.
* fix: Removed lodash-es replacement.
* fix: Commented out vitest test command.
* style: Fixed linting issues.
* fix: Added lodash-es hotfix back.
* chore: Updated package-lock.json
* refactor: Renamed all n8n scss variables to no longer be defined as private.
* feat(editor): add application-wide el-button replacement.
* fix(editor): Fix import in page alert after merge.
* chore(editor): update package-lock.json.
* fix: Case sensitive lodash-es replacement for vue-agile.
* fix: add alias for lodash-es camelcase import.
* fix: add patch-package support for fixing quill
* feat: add patch-package on postinstall
* fix: update quill patch path.
* refactor: rename quill patch
* fix: update quill version.
* fix: update quill patch
* fix: fix linting rules after installing eslint in design-system
* fix: update date picker button to have primary color
* test: update callout component snapshots
* fix(editor): fix linting issues in editor after enabling eslint
* fix(cli): add /assets/* to auth ignore endpoints in server
* chore: update package-lock.json
* chore: update package-lock.json
* fix(editor): fix linting issues
* feat: add vite-legacy support
* fix: update workflow package interface imports to type imports.
* chore: update package-lock.json
* fix(editor) fix importing translations other than english
* fix(editor): remove test command until vitest is added
* fix: increase memory allocation for vite build
* fix: add patch-package patches to n8n-custom docker build
* fix: add performance and load time improvements
* fix: add proper typing to setNodeType
* chore: update package-lock.json
* style: use generic type for reduce in setNodeType
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-23 17:14:28 +03:00