Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): link thread PRs without an open client #10101

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 6 commits intomain fromrefs/pull/10101/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 50 changed files with 5 additions and 69 deletions (loading 47).

x
0 of 50 viewed, 50 left
1 addition and 21 deletionsapps/mobile/src/features/home/HomeScreen.tsxModified
View file
@@ -416,14 +416,6 @@
[threadListV2Enabled, projectGroups, effectiveGroupDisplayStates, hasSearchQuery],
​
- const projectCwdByKey = useMemo(() => {
- const map = new Map<string, string>();
- for (const project of props.projects) {
- map.set(scopedProjectKey(project.environmentId, project.id), project.workspaceRoot);
- }
- return map;
- }, [props.projects]);
-​
const projectByKey = useMemo(() => {
const map = new Map<string, EnvironmentProject>();
for (const project of props.projects) {
@@ -850,9 +842,6 @@
onPinThread={handlePinThread}
Resolvedby t3dotgg(GitHub profile, opens in a new tab)
onUnpinThread={handleUnpinThread}
onMovePinnedThread={handleMovePinnedThread}
- projectCwd={
- projectCwdByKey.get(scopedProjectKey(thread.environmentId, thread.projectId)) ?? null
- }
onSwipeableClose={handleSwipeableClose}
onSwipeableWillOpen={handleSwipeableWillOpen}
@@ -875,7 +864,6 @@
machineByEnvironmentId,