-
Notifications
You must be signed in to change notification settings - Fork 0
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
Changes to allow for a single form per tile #160
base: adg/146-scheme-names
Are you sure you want to change the base?
Conversation
0d8dc76
to
0175346
Compare
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.
looks good! Just some minor stuff
@@ -26,32 +26,19 @@ defineProps<{ | |||
mode?: DataComponentMode; | |||
}>(); | |||
|
|||
defineEmits([OPEN_EDITOR]); | |||
const emit = defineEmits([OPEN_EDITOR, "updated"]); |
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.
nit: emits
to match the rest of the app
), | ||
}); | ||
} | ||
await updateSchemeNamespace( |
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.
removing error handling?
schemeComponents.find((component) => { | ||
return component.id === newValue.activeTab; | ||
}) || schemeComponents[0]; | ||
console.log(currentEditor.value); |
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.
nit: remove console.log
currentEditor.value = | ||
schemeComponents.find((component) => { | ||
return component.id === newValue.activeTab; | ||
}) || schemeComponents[0]; |
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.
could this fallback end up being confusing for the user?
Allows for a single editor per tile, removes tabbed interface.