Jan Oberhauser
955db0ab10
fix(editor): Fix issue that some errors did not show up correctly ( #3507 )
2022-06-13 21:04:18 +02:00
Jan Oberhauser
bdb84130d6
feat(core): Add support for pairedItem (beta) ( #3012 )
...
* ✨ Add pairedItem support
* 👕 Fix lint issue
* 🐛 Fix resolution in frontend
* 🐛 Fix resolution issue
* 🐛 Fix resolution in frontend
* 🐛 Fix another resolution issue in frontend
* ⚡ Try to automatically add pairedItem data if possible
* ⚡ Cleanup
* ⚡ Display expression errors in editor UI
* 🐛 Fix issue that it did not display errors in production
* 🐛 Fix auto-fix of missing pairedItem data
* 🐛 Fix frontend resolution for not executed nodes
* ⚡ Fail execution on pairedItem resolve issue and display information
about itemIndex and runIndex
* ⚡ Allow that pairedItem is only set to number if runIndex is 0
* ✨ Improve Expression Errors
* ⚡ Remove no longer needed code
* ⚡ Make errors more helpful
* ⚡ Add additional errors
* 👕 Fix lint issue
* ⚡ Add pairedItem support to core nodes
* ⚡ Improve support in Merge-Node
* ⚡ Fix issue with not correctly converted incoming pairedItem data
* 🐛 Fix frontend resolve issue
* 🐛 Fix frontend parameter name display issue
* ⚡ Improve errors
* 👕 Fix lint issue
* ⚡ Improve errors
* ⚡ Make it possible to display parameter name in error messages
* ⚡ Improve error messages
* ⚡ Fix error message
* ⚡ Improve error messages
* ⚡ Add another error message
* ⚡ Simplify
2022-06-03 17:25:07 +02:00
sirdavidoff
68c356c17c
⚡ Copy tweaks ( #2780 )
...
* Update en.json
* More copy tweaks and addressed PR comments
* 🔥 Remove empty strings from base text
* ⚡ Adjust `$showMessage` signature type
* 🔥 Remove message from Vue components
* ✏️ Fix typo
Co-authored-by: Iván Ovejero <ivov.src@gmail.com >
2022-02-18 16:26:44 +01:00
Iván Ovejero
5fec563c5c
⚡ i18n feedback refactorings ( #2597 )
...
* ⚡ Create endpoint for node credential translation
* ⚡ Add API helper method in FE
* 🔨 Add creds JSON files to tsconfig
* ⚡ Refactor credentials loading
* ⚡ Refactor calls in CredentialConfig
* ✏️ Add dummy translations
* ⚡ Split translations per node
* 🔥 Remove deprecated method
* ⚡ Refactor nesting in collections
* 🚚 Rename topParameter methods for accuracy
* ✏️ Fill out GitHub dummy cred
* 🚚 Clarify naming for collection utils
* ✏️ Fill out dummy translation
* 🔥 Remove surplus colons
* 🔥 Remove logging
* ⚡ Restore missing space
* 🔥 Remove lingering colon
* ⚡ Add path to InputLabel calls
* ✏️ Fill out dummy translations
* 🐛 Fix multipleValuesButtonText logic
* ⚡ Add sample properties to be deleted
* ⚡ Render deeply nested params
* 📦 Update package-lock.json
* 🔥 remove logging
* ✏️ Add dummy value to Slack translation
* ✏️ Add placeholder to dummy translation
* ⚡ Fix placeholder rendering for button text
* 👕 Fix lint
* 🔥 Remove outdated comment
* 🐛 Pass in missing arg for placeholder
* ✏️ Fill out Slack translation
* ⚡ Add explanatory comment
* ✏️ Fill out dummy translation
* ✏️ Update documentation
* 🔥 Remove broken link
* ✏️ Add pending functionality
* ✏️ Fix indentation
* 🐛 Fix method call in CredentialEdit
* ⚡ Implement eventTriggerDescription
* 🐛 Fix table-json-binary radio buttons
* ✏️ Clarify usage of eventTriggerDescription
* 🔥 Remove unneeded arg
* 🐛 Fix display in CodeEdit and TextEdit
* 🔥 Remove logging
* ✏️ Add translation for test cred options
* ✏️ Add test for separate file in same dir
* ✏️ Add test for versioned node
* ✏️ Add test for node in grouped dir
* ✏️ Add minor clarifications
* ✏️ Add nested collection test
* ✏️ Add pending functionality
* ⚡ Generalize collections handling
* 🚚 Rename helper to remove redundancy
* 🚚 Improve naming in helpers
* ✏️ Improve helpers documentation
* ✏️ Improve i18n methods documentation
* 🚚 Make endpoint naming consistent
* ✏️ Add final newlines
* ✏️ Clean up JSON examples
* ⚡ Reuse i18n method
* ⚡ Improve utils readability
* ⚡ Return early if cred translation exists
* 🔥 Remove dummy translations
2022-01-07 22:02:21 +01:00
Iván Ovejero
1d991824d1
🚚 Rename $i to $locale
2021-12-15 13:16:53 +01:00
Iván Ovejero
94d6136661
🚚 Rename $i18n2 to $i
2021-12-07 17:28:10 +01:00
Iván Ovejero
858d0d0160
🔥 Remove mixin-related lines
2021-12-07 16:14:40 +01:00
Iván Ovejero
7805b21a15
⚡ Adjust all calls
2021-12-07 15:58:41 +01:00
Iván Ovejero
2d8e158012
✨ Render base strings
2021-11-12 16:02:48 +01:00
Mutasem Aldmour
5bd8f7c93e
✨ Implement design system ( #2050 )
...
* split up main, sass imports, import new nds
* migrate most buttons
* update sizes based on feedback
* update copy buttons
* update executions list
* fix issues
* force message box buttons
* update warning color
* update more buttons
* wrap message box buttons
* update last component
* lint fixes
* add build report step
* breakout imports
* set package.json
* fix notification bug
* clean up imports
* use build directories directly
* update imports
* remove xl size
* update number inputs
* fix input width
* update line height, fix icon bug
* fix up editor
* fix spacing between buttons
* Reset line height
* revert changes to this
* revert changes
* clean up button sizes
* change to outline
* update select height
* update tooltip
* remove build report step
* clean up impl
* remove regenerator runtime
* add design system repo
* apply editorconfig
* apply editor config prettier
* lint issue
* switch to tabs
* switch to single space
* update eslintrc
* remove git modules
* update sass package
* support dart sass
* add build
* update dependency
* update contributing.md
* set repo
* update versions
* add tslint step
* update spacing to spaces, add dev step
* add test step
* add test step
* update browser lint rc
* remove .github
* delete .gitignore
* set comment for icons
* remove preview link
* update button interface
* update types
* set types
* clean up intro
* update intro
* remove assets
* move into preview
* remove headline comment
* reduce theme build
* loading executions
* match deps versions
* match deps versions
* fix lint issues
* fix lint issues
* update callback
* disable codacy for docs.css
* fix storybook issues
* add design system to docker image
* update spacing around delete sort button
* set line height to stop juggling headline
* update sizes
* clean up vars
* fix scss issues
* update button vars
* add shade color
* fix button without click
* fix buttons bug
* fix bug with executions list
* clean up theme
* update link styling
* fix typo
* run prettier
* 🎨 code format
* 🎨 code format
* 🔥 remove empty files
* ✨ N8n 2284 new inputs (#2075 )
* implement inputs
* prettier fixes
* revert unnessary change
* move input components and tooltip
* remove form elements
* move select
* update input placements
* update sizes
* update credentails
* clean up select size
* fix caret issue
* update inputs
* clean up select
* fix tags dropdown border
* clean up tags input
* fix workflow name bug
* clean up select here
* add sizes template
* fix option caret
* fix input sizes
* update date input size
* remove tags input override
* update prop
* update input size
* center run data inputs
* update disabled colors
* update execution header
* update scrollbar
* update text area spacing
* fix items in header
* update run data tooltip
* remove popover
* update prefix positions
* add filterable demo
* address design issues
* fix input issues, flip boolean input to text
* update input sufffix colors
* remove override
* speed up switch, fix toggle spacing issue
* update icon
* remove icon classes
* clean up inputs
* clean up inputs with icons
* update input spacing again
* update suffix position
* build
* Add support for xlarge inputs
* fix input issues
* fix input issue
* update listeners
* update number inputs for settings
* update append/prepend spacing
* clean up inputs, set expression input as text
* fix type errors
* fix workflow number input
* fix tags dropdown bug
* fix bugs
* fix menu item bug
* remove font weight from link element
* remove default
* fix select option
* fix contrast issues
* allow overflow x for multi selects
* fix icon
* update options select
* fix issue that resolves expression to null
* update how actions are centered
* fix up selects
* update selects to support limiting size
* update option styles
* ⚡ Apply suggestions BHesseldieck
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com >
* 🎨 code format
Co-authored-by: Jan <janober@users.noreply.github.com >
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com >
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com >
* ⏪ Revert "🔥 remove empty files"
This reverts commit e91ace4e52403f4a6b00b7be68b86fc48b7d8fef.
* ⚡ Remove private from n8n-design-system package
* 🎨 Change to spaces to stay consistent with editorconfig & others
package files
* ⚡ Fix year in license
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com >
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com >
Co-authored-by: Jan <janober@users.noreply.github.com >
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com >
2021-08-29 13:36:17 +02:00
Iván Ovejero
bd4fbf3a4b
⚡ Touch up display for large error cause ( #1927 )
2021-06-22 19:43:43 +02:00
Jan Oberhauser
09e14987f0
🐛 Display issue that view crashes with large requests
2021-06-06 14:53:48 -05:00
Iván Ovejero
1d27a9e87e
✨ Improve node error handling ( #1309 )
...
* Add path mapping and response error interfaces
* Add error handling and throwing functionality
* Refactor error handling into a single function
* Re-implement error handling in Hacker News node
* Fix linting details
* Re-implement error handling in Spotify node
* Re-implement error handling in G Suite Admin node
* 🚧 create basic setup NodeError
* 🚧 add httpCodes
* 🚧 add path priolist
* 🚧 handle statusCode in error, adjust interfaces
* 🚧 fixing type issues w/Ivan
* 🚧 add error exploration
* 👔 fix linter issues
* 🔧 improve object check
* 🚧 remove path passing from NodeApiError
* 🚧 add multi error + refactor findProperty method
* 👔 allow any
* 🔧 handle multi error message callback
* ⚡ change return type of callback
* ⚡ add customCallback to MultiError
* 🚧 refactor to use INode
* 🔨 handle arrays, continue search after first null property found
* 🚫 refactor method access
* 🚧 setup NodeErrorView
* ⚡ change timestamp to Date.now
* 📚 Add documentation for methods and constants
* 🚧 change message setting
* 🚚 move NodeErrors to workflow
* ✨ add new ErrorView for Nodes
* 🎨 improve error notification
* 🎨 refactor interfaces
* ⚡ add WorkflowOperationError, refactor error throwing
* 👕 fix linter issues
* 🎨 rename param
* 🐛 fix handling normal errors
* ⚡ add usage of NodeApiError
* 🎨 fix throw new error instead of constructor
* 🎨 remove unnecessary code/comments
* 🎨 adjusted spacing + updated status messages
* 🎨 fix tab indentation
* ✨ Replace current errors with custom errors (#1576 )
* ⚡ Introduce NodeApiError in catch blocks
* ⚡ Introduce NodeOperationError in nodes
* ⚡ Add missing errors and remove incompatible
* ⚡ Fix NodeOperationError in incompatible nodes
* 🔧 Adjust error handling in missed nodes
PayPal, FileMaker, Reddit, Taiga and Facebook Graph API nodes
* 🔨 Adjust Strava Trigger node error handling
* 🔨 Adjust AWS nodes error handling
* 🔨 Remove duplicate instantiation of NodeApiError
* 🐛 fix strava trigger node error handling
* Add XML parsing to NodeApiError constructor (#1633 )
* 🐛 Remove type annotation from catch variable
* ✨ Add XML parsing to NodeApiError
* ⚡ Simplify error handling in Rekognition node
* ⚡ Pass in XML flag in generic functions
* 🔥 Remove try/catch wrappers at call sites
* 🔨 Refactor setting description from XML
* 🔨 Refactor let to const in resource loaders
* ⚡ Find property in parsed XML
* ⚡ Change let to const
* 🔥 Remove unneeded try/catch block
* 👕 Fix linting issues
* 🐛 Fix errors from merge conflict resolution
* ⚡ Add custom errors to latest contributions
* 👕 Fix linting issues
* ⚡ Refactor MongoDB helpers for custom errors
* 🐛 Correct custom error type
* ⚡ Apply feedback to A nodes
* ⚡ Apply feedback to missed A node
* ⚡ Apply feedback to B-D nodes
* ⚡ Apply feedback to E-F nodes
* ⚡ Apply feedback to G nodes
* ⚡ Apply feedback to H-L nodes
* ⚡ Apply feedback to M nodes
* ⚡ Apply feedback to P nodes
* ⚡ Apply feedback to R nodes
* ⚡ Apply feedback to S nodes
* ⚡ Apply feedback to T nodes
* ⚡ Apply feedback to V-Z nodes
* ⚡ Add HTTP code to iterable node error
* 🔨 Standardize e as error
* 🔨 Standardize err as error
* ⚡ Fix error handling for non-standard nodes
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com >
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com >
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com >
2021-04-16 18:33:36 +02:00