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): Add back credential type icon (no-changelog) #9704

Merged
merged 10 commits into from
Jun 11, 2024

Conversation

cstuncsik
Copy link
Contributor

@cstuncsik cstuncsik commented Jun 11, 2024

Summary

Missing credential type icons

Review / Merge checklist

  • PR title and summary are descriptive
  • Tests included.

@cstuncsik cstuncsik changed the title fix(editor): Add back credential icon (no-changelog) fix(editor): Add back credential type icon (no-changelog) Jun 11, 2024
@cstuncsik cstuncsik marked this pull request as ready for review June 11, 2024 13:29
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 11, 2024
Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

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

Can we add a simple unit test to assert either that ResourcesListLayout gets called with credentials that have a type on them, or render the the entire markup and assert the icons in the markup?

Also, we are returning IResource here, which does not have a type property. I think we should fix that as well.

@cstuncsik cstuncsik requested a review from netroy June 11, 2024 14:53
Copy link

cypress bot commented Jun 11, 2024

1 failed test on run #5437 ↗︎

1 387 0 0 Flakiness 0

Details:

🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Project: n8n Commit: f9aa340015
Status: Failed Duration: 04:46 💡
Started: Jun 12, 2024 3:11 AM Ended: Jun 12, 2024 3:16 AM
Failed  e2e/5-ndv.cy.ts • 1 failed test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video

Review all test suite changes for PR #9704 ↗︎

Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

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

Thanks 🙇🏽

Copy link
Contributor

✅ All Cypress E2E specs passed

@cstuncsik cstuncsik merged commit f9aa340 into master Jun 11, 2024
46 checks passed
@cstuncsik cstuncsik deleted the pay-1674-credential-list-icons-missing branch June 11, 2024 18:16
MiloradFilipovic added a commit that referenced this pull request Jun 12, 2024
* master:
  fix(editor): Add back credential type icon (no-changelog) (#9704)
  feat(editor): Add canvas edge toolbar hover show/hide support (no-changelog) (#9699)
  ci: Fix custom docker builds (no-changelog) (#9702)
  test: Fix e2e for projects missing instance owner (no-changelog) (#9703)
  ci: Refactor e2e tests to be less flaky (no-changelog) (#9695)
  feat(editor): Add move resources option to workflows and credentials on (#9654)
  fix: Introduce `HooksService` (#8962)
  fix(editor): Improve large data warning in input/output panel (#9671)
  ci(editor): Enforce type-safety in @n8n/chat builds as well (no-changelog) (#9685)
  fix(editor): Un-skip workflow save test (no-changelog) (#9698)
  refactor(core): Remove more dead code from event bus (no-changelog) (#9697)
  ci: Remove unused WaitTracker mocking (no-changelog) (#9694)
  feat: Update NPS Value Survey (#9638)
  refactor(core): Remove event bus channel (no-changelog) (#9663)
  refactor(core): Remove event bus helpers (no-changelog) (#9690)
@janober
Copy link
Member

janober commented Jun 12, 2024

Got released with [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 Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants