Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web,mobile): machines come first in the @ menu #31966

ClosedDominikScholz(GitHub profile, opens in a new tab)wants to merge 6 commits intomain fromrefs/pull/31966/headopened View on GitHub

Showing 6 changed files with 66 additions and 58 deletions (loading 3).

x
0 of 6 viewed, 6 left
2 additions and 2 deletionsapps/mobile/src/features/threads/ComposerCommandPopover.tsxModified
View file
@@ -37,7 +37,7 @@
readonly id: string;
readonly type: "path";
readonly path: string;
- readonly kind: "file" | "directory";
+ readonly pathKind: "file" | "directory";
readonly label: string;
readonly description: string;
@@ -198,7 +198,7 @@
style={{ borderBottomWidth: props.isLast ? 0 : StyleSheet.hairlineWidth }}
{props.item.type === "path" ? (
- <PierreEntryIcon path={props.item.path} kind={props.item.kind} size={16} />
+ <PierreEntryIcon path={props.item.path} kind={props.item.pathKind} size={16} />
) : props.item.type === "model" ? (
<ProviderIcon
iconUrl={props.item.option.providerIconUrl}
20 additions and 16 deletionsapps/mobile/src/features/threads/use-composer-command-menu.tsModified
View file
@@ -11,6 +11,7 @@
type ComposerEnvironmentCandidate,
matchComposerEnvironmentItems,
matchComposerThreadItems,
+ rankComposerMentionItems,
} from "@t3tools/client-runtime/composerThreadItems";
import type { EnvironmentThreadShell } from "@t3tools/client-runtime/state/models";