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

fix(editor): Render credentials editable when opening them from the node view #9678

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

despairblue
Copy link
Contributor

@despairblue despairblue commented Jun 7, 2024

Summary

The modal is already fetching the up to date credential to get the data.
But then it wants to use the credential from the store for everything else.

I changed this so that it uses the fetched credential for everything.

TODO:

  • Add tests

Related tickets and issues

https://linear.app/n8n/issue/PAY-1664/credentials-cant-be-accessed-from-workflows

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • 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.

…ode view

Use the fetched credential instead of loading it from the store.
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 7, 2024
@despairblue despairblue marked this pull request as ready for review June 10, 2024 08:45
krynble
krynble previously approved these changes Jun 10, 2024
@despairblue despairblue force-pushed the pay-1664-credentials-cant-be-accessed-from-workflows branch from 559d00c to 0708a87 Compare June 11, 2024 07:03
Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link

cypress bot commented Jun 11, 2024

2 flaky tests on run #5444 ↗︎

0 388 0 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 despairblue 🗃️ e2e/*
Project: n8n Commit: 5bdd31555b
Status: Passed Duration: 05:06 💡
Started: Jun 12, 2024 10:50 AM Ended: Jun 12, 2024 10:55 AM
Flakiness  5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
Flakiness  20-workflow-executions.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Current Workflow Executions > should auto load more items if there is space and auto scroll Test Replay Screenshots Video

Review all test suite changes for PR #9678 ↗︎

@despairblue despairblue force-pushed the pay-1664-credentials-cant-be-accessed-from-workflows branch from 0708a87 to 5bdd315 Compare June 11, 2024 14:07
Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

@netroy netroy added the release/backport Changes that need to be backported to older releases. label Jun 12, 2024
Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit dc17cf3 into master Jun 12, 2024
26 checks passed
@netroy netroy deleted the pay-1664-credentials-cant-be-accessed-from-workflows branch June 12, 2024 11:06
This was referenced Jun 12, 2024
@janober
Copy link
Member

janober commented Jun 12, 2024

Got released with n8n@1.44.2

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 release/backport Changes that need to be backported to older releases. Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants