-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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(editor): restrict mapping discoverability tooltip showing only on string input #4496
refactor(editor): restrict mapping discoverability tooltip showing only on string input #4496
Conversation
…ly on string input
…ts can be mapped, but we want to show tooltips only on string inputs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with toggle and no longer triggering there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! The empty string default arg is missing.
Done |
Question, do you think the i18n signatures should be changed? My reasoning was that having an object as in the original keeps the i18n calls more readable, with labels private dynamicRender(
{ key, fallback = '' }: { key: string; fallback: string; },
) {
return this.i18n.te(key) ? this.i18n.t(key).toString() : fallback;
} |
This reverts commit 3d93ccf.
No problem The following is not working, you can't define defaults and types at the same time and with default private dynamicRender(
{ key, fallback } = { key: '', fallback: '' },
) {
return this.i18n.te(key) ? this.i18n.t(key).toString() : fallback;
} So the only thing we can do is to move private dynamicRender(
{ key, fallback }: { key: string; fallback: string; },
) {
return this.i18n.te(key) ? this.i18n.t(key).toString() : fallback ?? '';
} |
* master: refactor(editor): Migrate part of the vuex store to pinia (#4484) fix(editor): fix themes the monaco editor (no-changelog) (#4521) refactor(editor): restrict mapping discoverability tooltip showing only on string input (#4496) 📚 Remove entries from Changelog 📚 Update CHANGELOG.md and main package.json to 0.201.0 🔖 Release [email protected] ⬆️ Set [email protected], [email protected], [email protected] and [email protected] on n8n 🔖 Release [email protected] ⬆️ Set [email protected] and [email protected] on n8n-editor-ui 🔖 Release [email protected] 🔖 Release [email protected] ⬆️ Set [email protected] and [email protected] on n8n-nodes-base 🔖 Release [email protected] ⬆️ Set [email protected] and [email protected] on n8n-node-dev 🔖 Release [email protected] ⬆️ Set [email protected] on n8n-core 🔖 Release [email protected] fix(core): make `deepCopy` backward compatible (#4505) fix(editor): workflow settings link font size change (no-changelog) (#4511) perf(editor): improve array intersection utility function (#4503) # Conflicts: # packages/editor-ui/src/App.vue # packages/editor-ui/src/components/ActivationModal.vue # packages/editor-ui/src/components/NDVDraggablePanels.vue # packages/editor-ui/src/components/NodeSettings.vue # packages/editor-ui/src/components/Sticky.vue # packages/editor-ui/src/components/mixins/workflowHelpers.ts # packages/editor-ui/src/constants.ts # packages/editor-ui/src/plugins/i18n/index.ts # packages/editor-ui/src/views/ChangePasswordView.vue # packages/editor-ui/src/views/NodeView.vue # packages/editor-ui/src/views/SignupView.vue
Got released with |
No description provided.