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

refactor: Migrate Select to composition API (no-changelog) #9750

Merged
merged 6 commits into from
Jun 17, 2024

Conversation

tomi
Copy link
Contributor

@tomi tomi commented Jun 14, 2024

Summary

Migrate Select to composition API

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)

Comment on lines +71 to +90
const focus = () => {
innerSelect.value?.focus();
};

const blur = () => {
innerSelect.value?.blur();
};

const focusOnInput = () => {
if (!innerSelect.value) return;

const inputRef = innerSelect.value.$refs.input as HTMLInputElement | undefined;
inputRef?.focus();
};

defineExpose({
focus,
blur,
focusOnInput,
});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assume these were exposed as they were not used internally

@tomi tomi changed the title refactor(design-system): Migrate Select to composition API (no-changelog) refactor: Migrate Select to composition API (no-changelog) Jun 14, 2024
@tomi tomi force-pushed the migrate-select-to-composition-api branch from 3bafcca to 59c259a Compare June 14, 2024 12:00
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 14, 2024
@tomi tomi changed the title refactor: Migrate Select to composition API (no-changelog) refactor: Migrate Select to composition API (no-changelog) Jun 17, 2024
Copy link
Contributor

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

Copy link

cypress bot commented Jun 17, 2024

3 flaky tests on run #5498 ↗︎

0 388 0 0 Flakiness 3

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 tomi 🗃️ e2e/*
Project: n8n Commit: 5d3b26de69
Status: Passed Duration: 04:29 💡
Started: Jun 17, 2024 7:18 AM Ended: Jun 17, 2024 7:22 AM
Flakiness  10-undo-redo.cy.ts • 2 flaky tests

View Output Video

Test Artifacts
Undo/Redo > should undo/redo adding nodes Test Replay Screenshots Video
Undo/Redo > should undo/redo adding connected nodes Test Replay Screenshots Video
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

Review all test suite changes for PR #9750 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@tomi tomi merged commit 4541a8f into master Jun 17, 2024
26 checks passed
@tomi tomi deleted the migrate-select-to-composition-api branch June 17, 2024 07:23
@janober
Copy link
Member

janober commented Jun 20, 2024

Got released with [email protected]

1 similar comment
@janober
Copy link
Member

janober commented Jun 20, 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 ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants