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): Move overrideButton and other options to the left to line up with container boundary (no-changelog) #13061

Merged
merged 3 commits into from
Feb 5, 2025

Conversation

CharlieKolb
Copy link
Contributor

Summary

Adjust the spacing as the button makes the offset quite unpleasant.

Before:
image
After:
image

I'm not actually aware of any textareas that would have a fromAI button, so I adjusted the height via the inspector to reproduce this. (We had the button on the description initially which might have caught this) So this is mostly future-proofing.

ParameterInput adds quite a few custom errors, so an expose seems like the best option here. Happy to change if there's a good alternative though.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/ADO-3111/feature-fix-formatting-when-button-is-in-options-and-we-have-a-node

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@CharlieKolb CharlieKolb marked this pull request as ready for review February 5, 2025 08:42
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ckages/editor-ui/src/components/ParameterInput.vue 25.00% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Feb 5, 2025
Copy link
Contributor

github-actions bot commented Feb 5, 2025

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Feb 5, 2025

n8n    Run #9127

Run Properties:  status check passed Passed #9127  •  git commit 324646ec5d: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 CharlieKolb 🗃️ e2e/*
Project n8n
Branch Review ADO-3111
Run status status check passed Passed #9127
Run duration 04m 42s
Commit git commit 324646ec5d: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 CharlieKolb 🗃️ e2e/*
Committer Charlie Kolb
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 5
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 433
View all changes introduced in this branch ↗︎

@CharlieKolb CharlieKolb merged commit 2492c35 into master Feb 5, 2025
37 checks passed
@CharlieKolb CharlieKolb deleted the ADO-3111 branch February 5, 2025 10:25
@janober
Copy link
Member

janober commented Feb 6, 2025

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