n8n icon indicating copy to clipboard operation
n8n copied to clipboard

refactor(editor): Migrate header WorkflowDetails to composition api (no-changelog)

Open alexgrozav opened this issue 10 months ago • 5 comments

Summary

Migrates WorkflowDetails to Composition API. Rewrites all the getters to use the workflow directly from the props.

Related tickets and issues

https://linear.app/n8n/issue/N8N-7345/migrate-workflowdetails-to-composition-api

Review / Merge checklist

  • [x] PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • [x] Docs updated or follow-up ticket created.
  • [x] Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests.

alexgrozav avatar Apr 22 '24 13:04 alexgrozav

Probably unrelated to this PR, but text and X icon in tags seems to be not aligned image

MiloradFilipovic avatar Apr 23 '24 08:04 MiloradFilipovic

:warning: Some Cypress E2E specs are failing, please fix them before merging

github-actions[bot] avatar Apr 24 '24 08:04 github-actions[bot]

1 flaky test on run #4797 ↗︎

0 358 12 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 alexgrozav 🗃️ e2e/*
Project: n8n Commit: b93e7ac230
Status: Passed Duration: 04:33 💡
Started: Apr 26, 2024 3:08 PM Ended: Apr 26, 2024 3:13 PM
Flakiness  cypress/e2e/24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #9186 ↗︎

cypress[bot] avatar Apr 24 '24 08:04 cypress[bot]

:warning: Some Cypress E2E specs are failing, please fix them before merging

github-actions[bot] avatar Apr 26 '24 12:04 github-actions[bot]

:white_check_mark: All Cypress E2E specs passed

github-actions[bot] avatar Apr 26 '24 15:04 github-actions[bot]

Got released with [email protected]

janober avatar May 02 '24 12:05 janober