Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor nodeTypes into store module #3799

Merged
merged 25 commits into from
Aug 1, 2022

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Jul 29, 2022

No description provided.

@ivov ivov added ui Enhancement in /editor-ui or /design-system n8n team Authored by the n8n team tech debt labels Jul 29, 2022
Copy link
Contributor

@mutdmour mutdmour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome.. just needs a little more

packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/components/mixins/pushConnection.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/components/mixins/restApi.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/views/NodeView.vue Show resolved Hide resolved
packages/editor-ui/src/Interface.ts Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@mutdmour mutdmour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it.. minor comments and questions

packages/editor-ui/src/App.vue Outdated Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/modules/nodeTypes.ts Outdated Show resolved Hide resolved
@janober janober merged commit 2c17e6f into master Aug 1, 2022
@janober janober deleted the n8n-4243-refactor-nodetypes-into-store-module branch August 1, 2022 20:43
@janober
Copy link
Member

janober commented Aug 1, 2022

Thanks a lot. Got merged.

@janober janober added the Upcoming Release Will be part of the upcoming release label Aug 1, 2022
@janober
Copy link
Member

janober commented Aug 3, 2022

Got released with [email protected]

@janober janober removed the Upcoming Release Will be part of the upcoming release label Aug 3, 2022
brianinoa pushed a commit that referenced this pull request Aug 5, 2022
* ⚡ Refactor `nodeTypes` into store module

* ⚡ Fix condition

* 🔥 Remove leftovers

* ⚡ Move `getNodeTranslationHeaders`, `getNodesInformation`, `getNodeParameterOptions`

* ⚡ Move leftover call

* ⚡ Correct excess prefix

* 🚚 Rename `nodeType` to `getNodeType`

* 🚚 Move logic to `getFullNodesProperties`

* ⚡ Simplify `getNodeType`

* ⚡ Refactor `nodeTypes` mutations

* ⚡ Refactor `Vue.set` call

* ⚡ Simplify check

* 🚚 Move export to bottom

* 📘 Simplify typing

* 🔥 Remove unused interface

* 👕 Add `void`

* 🚚 Fix naming

* 🔥 Remove logging

* ⚡ Simplify `updateNodeTypes`

* 🚚 Move `omit` to utils

* 🐛 Update `rootGetters` call

* 🐛 Fix `allNodeTypes` call in `nativelyNumberSuffixedDefaults`

* 🔥 Remove unused method

* 🔥 Remove excess namespace

Co-authored-by: Mutasem <[email protected]>
brianinoa pushed a commit that referenced this pull request Aug 5, 2022
* ⚡ Refactor `nodeTypes` into store module

* ⚡ Fix condition

* 🔥 Remove leftovers

* ⚡ Move `getNodeTranslationHeaders`, `getNodesInformation`, `getNodeParameterOptions`

* ⚡ Move leftover call

* ⚡ Correct excess prefix

* 🚚 Rename `nodeType` to `getNodeType`

* 🚚 Move logic to `getFullNodesProperties`

* ⚡ Simplify `getNodeType`

* ⚡ Refactor `nodeTypes` mutations

* ⚡ Refactor `Vue.set` call

* ⚡ Simplify check

* 🚚 Move export to bottom

* 📘 Simplify typing

* 🔥 Remove unused interface

* 👕 Add `void`

* 🚚 Fix naming

* 🔥 Remove logging

* ⚡ Simplify `updateNodeTypes`

* 🚚 Move `omit` to utils

* 🐛 Update `rootGetters` call

* 🐛 Fix `allNodeTypes` call in `nativelyNumberSuffixedDefaults`

* 🔥 Remove unused method

* 🔥 Remove excess namespace

Co-authored-by: Mutasem <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team tech debt ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants