-
Notifications
You must be signed in to change notification settings - Fork 767
feat(CommandPalette): handle subcommands #4226
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
base: v3
Are you sure you want to change the base?
Conversation
commit: |
β Deployed ui3
π View deployment logs |
acc.splice(group.index, 0, group) | ||
return acc | ||
}, [...fuseGroups]) | ||
return Object.entries(groupsById) |
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.
Why change this logic? π€
return activeSubmenu.value.group.items?.map(item => ({ ...(item as T), group: activeSubmenu.value!.group.id })) || [] | ||
} | ||
|
||
return props.groups?.filter((group) => { |
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.
Why remove the ignoreFilter
logic?
@@ -173,6 +198,13 @@ const inputProps = useForwardProps(reactivePick(props, 'loading', 'loadingIcon') | |||
// eslint-disable-next-line vue/no-dupe-keys | |||
const ui = computed(() => tv({ extend: tv(theme), ...(appConfig.ui?.commandPalette || {}) })()) | |||
|
|||
defineShortcuts({ |
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.
Is this really necessary since we already handle esc
? π€
π Linked issue
Resolves #2003
β Type of change
π Description
π Checklist