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(editor): Harmonize rendering of new-lines in RunData #9614

Merged

Conversation

OlegIvaniv
Copy link
Contributor

@OlegIvaniv OlegIvaniv commented Jun 4, 2024

Summary

This PR harmonizes the rendering of new lines across individual RunData views (schema, table, JSON).
Google Chrome 2024-06-04 14 57 42
Google Chrome 2024-06-04 14 57 45
Google Chrome 2024-06-04 14 57 49
Google Chrome 2024-06-04 14 54 55
Google Chrome 2024-06-04 14 54 52
Google Chrome 2024-06-04 14 54 49

Review / Merge checklist

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

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 4, 2024
elsmr
elsmr previously approved these changes Jun 10, 2024
Copy link
Member

@elsmr elsmr left a comment

Choose a reason for hiding this comment

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

Works great! 😄

packages/editor-ui/src/components/RunDataSchemaItem.vue Outdated Show resolved Hide resolved
packages/editor-ui/src/components/TextWithHighlights.vue Outdated Show resolved Hide resolved
Copy link
Contributor

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

Copy link

cypress bot commented Jun 10, 2024

2 flaky tests on run #5384 ↗︎

0 354 0 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Project: n8n Commit: e2a3d4f1f2
Status: Passed Duration: 05:06 💡
Started: Jun 10, 2024 12:07 PM Ended: Jun 10, 2024 12:12 PM
Flakiness  cypress/e2e/5-ndv.cy.ts • 2 flaky tests

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
NDV > Stop listening for trigger event from NDV Screenshots Video

Review all test suite changes for PR #9614 ↗︎

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Copy link
Contributor

✅ All Cypress E2E specs passed

@OlegIvaniv OlegIvaniv merged commit bc3dcf7 into master Jun 10, 2024
52 checks passed
@OlegIvaniv OlegIvaniv deleted the n8n-7428-harmonize-rendering-of-new-lines-in-rundata branch June 10, 2024 13:24
MiloradFilipovic added a commit that referenced this pull request Jun 10, 2024
* master:
  feat(editor): Harmonize rendering of new-lines in RunData (#9614)
  refactor(editor): Fix remaining FE type check errors (no-changelog) (#9607)
  fix(editor): Remove template creds setup from workflow when copied (no-changelog) (#9673)
  refactor(editor): Stop expecting `null` execution status (no-changelog) (#9672)
MiloradFilipovic added a commit that referenced this pull request Jun 10, 2024
* master:
  feat(editor): Harmonize rendering of new-lines in RunData (#9614)
  refactor(editor): Fix remaining FE type check errors (no-changelog) (#9607)
  fix(editor): Remove template creds setup from workflow when copied (no-changelog) (#9673)
  refactor(editor): Stop expecting `null` execution status (no-changelog) (#9672)
  fix: Fix typo with submitted (no-changelog) (#9662)
  refactor(core): Revamp crash recovery mechanism for main mode (#9613)
  fix(editor): Improve dragndrop of input pills with spaces (#9656)
  fix(editor): Indent on tabs in expression fields (#9659)
  fix(editor): Color node connections correctly in execution preview for nodes that have pinned data (#9669)
  fix(core): Fix optional chaining in continue on fail check (#9667)
  feat(OpenAI Node): Allow to select Image analyze model & improve types (#9660)
@github-actions github-actions bot mentioned this pull request Jun 12, 2024
@janober
Copy link
Member

janober commented Jun 12, 2024

Got released with n8n@1.46.0

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.

4 participants