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

feat(core): block workflow update on interim change #4397

Merged
merged 25 commits into from
Oct 25, 2022

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Oct 20, 2022

No description provided.

@linear
Copy link

linear bot commented Oct 20, 2022

N8N-4698

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Oct 20, 2022
Copy link
Contributor

@krynble krynble left a comment

Choose a reason for hiding this comment

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

I'm still getting the same issue reported by Jan when trying to activate a workflow from the following page

image

packages/cli/src/workflows/workflows.controller.ts Outdated Show resolved Hide resolved
packages/cli/src/workflows/workflows.controller.ts Outdated Show resolved Hide resolved
@ivov
Copy link
Contributor Author

ivov commented Oct 24, 2022

I'm still getting the same issue reported by Jan when trying to activate a workflow from the following page

Fixed. I accounted for the canvas switch, overlooked the newer non-canvas switches.

Copy link
Contributor

@krynble krynble left a comment

Choose a reason for hiding this comment

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

LGTM

@ivov ivov merged commit cddd012 into master Oct 25, 2022
@ivov ivov deleted the n8n-4698-block-workflow-update-on-interim-change branch October 25, 2022 07:08
@n8n-assistant n8n-assistant bot added the Upcoming Release Will be part of the upcoming release label Oct 25, 2022
ivov added a commit that referenced this pull request Oct 25, 2022
ivov added a commit that referenced this pull request Oct 25, 2022
⏪ Revert "feat(core): block workflow update on interim change (#4397)"

This reverts commit cddd012.
@janober
Copy link
Member

janober commented Oct 27, 2022

Got released with n8n@0.200.0

@janober janober removed the Upcoming Release Will be part of the upcoming release label Oct 27, 2022
valya pushed a commit to valya/n8n that referenced this pull request Nov 8, 2022
* ⚡ Add `updatedAt` to store

* ⚡ Set `updatedAt` in store

* 👕 Update FE types

* 👕 Update BE types

* ⚡ Set `updatedAt` on workflow open

* ⚡ Add endpoint check

* ⚡ Add first update check

* 🔥 Remove log

* ⚡ Simplify check

* ⚡ Make `makeWorkflow` more flexible

* 🗃️ Make `updatedAt` default consistent

* 🧪 Adjust tests checking for `updatedAt`

* 🧪 Add tests for interim changes block

* ✏️ Remove unneeded quotes

* ⏪ Simplify without using `-1`

* 👕 Simplify interfaces

* 🐛 Fix calls to `setWorkflowUpdatedAt` setter

* :track: Move update to API call

* ⚡ Restrict check to multiple users only

* 🧪 Add more tests

* 🐛 Account for activation outside of canvas

* ✏️ Add warning comment

* 🔥 Remove unneeded check

* ⏪ Revert to `new Date()` for `-1`

* 🐛 Fix display for never updated
valya pushed a commit to valya/n8n that referenced this pull request Nov 8, 2022
…4437)

⏪ Revert "feat(core): block workflow update on interim change (n8n-io#4397)"

This reverts commit cddd012.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants