-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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(editor): Migrate part of the vuex store to pinia #4484
Conversation
…d modals to work with pinia stores
# Conflicts: # packages/editor-ui/src/components/ActivationModal.vue # packages/editor-ui/src/components/ImportParameter.vue # packages/editor-ui/src/components/MainHeader/MainHeader.vue # packages/editor-ui/src/components/MainHeader/WorkflowDetails.vue # packages/editor-ui/src/components/MainSidebar.vue # packages/editor-ui/src/components/mixins/mouseSelect.ts # packages/editor-ui/src/components/mixins/nodeBase.ts # packages/editor-ui/src/components/mixins/nodeHelpers.ts # packages/editor-ui/src/modules/settings.ts # packages/editor-ui/src/plugins/i18n/index.ts # packages/editor-ui/src/router.ts # packages/editor-ui/src/views/NodeView.vue
…it. Started updating references.
…part1 # Conflicts: # packages/editor-ui/src/components/ExecutionsView/ExecutionsView.vue # packages/editor-ui/src/views/NodeView.vue
…part1 # Conflicts: # packages/editor-ui/src/components/WorkflowSettings.vue # packages/editor-ui/src/components/mixins/workflowHelpers.ts # packages/editor-ui/src/store.ts # packages/editor-ui/src/views/NodeView.vue
# Conflicts: # packages/editor-ui/src/components/ExecutionsView/ExecutionsInfoAccordion.vue # packages/editor-ui/src/components/ExecutionsView/ExecutionsView.vue # packages/editor-ui/src/components/RunDataTable.vue
…ials update flag when resetting workspace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GREAT JOB
packages/editor-ui/src/components/MainHeader/ExecutionDetails/ExecutionDetails.vue
Show resolved
Hide resolved
# Conflicts: # packages/editor-ui/src/plugins/i18n/index.ts
position, | ||
} as IDataObject, | ||
} as INodeUpdatePropertiesInformation; | ||
position: { position }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm if this works.. then can you please for other places we change node positions? like in pushDownstreamNodes
in NodeView.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work, but the code looks really weird. Take a look.
const token = this.$route.query.token.toString(); | ||
const userId = this.$route.query.userId.toString(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not we check here still?
const inviterId = this.$route.query.inviterId.toString(); | ||
const inviteeId = this.$route.query.inviteeId.toString(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not this be addressed still?
const updateInformation = { | ||
key: this.node.id, | ||
name: this.node.name, | ||
value: nodeParameters, | ||
}; | ||
} as IUpdateInformation; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still needs to be addressed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. just a couple of minor comments
const inviterId = this.$route.query.inviterId.toString(); | ||
const inviteeId = this.$route.query.inviteeId.toString(); | ||
const inviterId = (!this.$route.query.inviterId || typeof this.$route.query.inviterId !== 'string') ? null : this.$route.query.inviterId; | ||
const inviteeId = (!this.$route.query.inviteeId || typeof this.$route.query.inviteeId !== 'string') ? null : this.$route.query.inviteeId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an edge case.. maybe better to set inviterId and inviteeId as data and so we don't need to check types here.. anyways we should not continue to signup
with these values as null
* master: fix(editor): fix themes the monaco editor (no-changelog) (#4521)
* master: refactor(editor): Migrate part of the vuex store to pinia (#4484) fix(editor): fix themes the monaco editor (no-changelog) (#4521) refactor(editor): restrict mapping discoverability tooltip showing only on string input (#4496) 📚 Remove entries from Changelog 📚 Update CHANGELOG.md and main package.json to 0.201.0 🔖 Release [email protected] ⬆️ Set [email protected], [email protected], [email protected] and [email protected] on n8n 🔖 Release [email protected] ⬆️ Set [email protected] and [email protected] on n8n-editor-ui 🔖 Release [email protected] 🔖 Release [email protected] ⬆️ Set [email protected] and [email protected] on n8n-nodes-base 🔖 Release [email protected] ⬆️ Set [email protected] and [email protected] on n8n-node-dev 🔖 Release [email protected] ⬆️ Set [email protected] on n8n-core 🔖 Release [email protected] fix(core): make `deepCopy` backward compatible (#4505) fix(editor): workflow settings link font size change (no-changelog) (#4511) perf(editor): improve array intersection utility function (#4503) # Conflicts: # packages/editor-ui/src/App.vue # packages/editor-ui/src/components/ActivationModal.vue # packages/editor-ui/src/components/NDVDraggablePanels.vue # packages/editor-ui/src/components/NodeSettings.vue # packages/editor-ui/src/components/Sticky.vue # packages/editor-ui/src/components/mixins/workflowHelpers.ts # packages/editor-ui/src/constants.ts # packages/editor-ui/src/plugins/i18n/index.ts # packages/editor-ui/src/views/ChangePasswordView.vue # packages/editor-ui/src/views/NodeView.vue # packages/editor-ui/src/views/SignupView.vue
Got released with |
Closes N8N-5193