Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(files): add a setting to show gitignored files #10380

ClosedStiensWout(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/10380/headopened View on GitHub

Showing 18 changed files with 9 additions and 2 deletions (loading 15).

x
0 of 18 viewed, 18 left
1 addition and 0 deletionsapps/desktop/src/settings/DesktopClientSettings.test.tsModified
View file
@@ -66,6 +66,7 @@
loadBalancingWeights: { "environment-1": 75, "environment-2": 0 },
pullRequestMergeMethodOverrides: {},
timestampFormat: "24-hour",
+ showGitignoredFiles: true,
wordWrap: true,
};
​
4 additions and 1 deletionapps/mobile/src/features/files/ThreadFilesRouteScreen.tsxModified
View file
@@ -1,3 +1,4 @@
+import { useAtomValue } from "@effect/atom-react";
import { NativeHeaderToolbar, NativeStackScreenOptions } from "../../native/StackHeader";
import { StackActions, useNavigation, type StaticScreenProps } from "@react-navigation/native";
import type { MenuAction } from "@react-native-menu/menu";
@@ -36,6 +37,7 @@
import { useThreadSelection } from "../../state/use-thread-selection";
import { useSelectedThreadWorktree } from "../../state/use-selected-thread-worktree";
import { useEnvironmentQuery } from "../../state/query";
+import { showGitignoredFilesAtom } from "../../state/preferences";
import { projectEnvironment } from "../../state/projects";
import type { AssetUrlFailureReason } from "../../state/asset-url-state";
import {
@@ -305,6 +307,7 @@
const { fileInspector, layout, panes, showAuxiliaryPane, togglePrimarySidebar } =
useAdaptiveWorkspaceLayout();
const [searchQuery, setSearchQuery] = useState("");