Skip to content
Source
Sign inSign up
pingdotgg/t3code

Refine light-mode sidebar surfaces #4268

Mergedjuliusmarmingemerged 25 commits intomain fromrefs/pull/4268/headmerged by juliusmarminge View on GitHub

Showing 30 changed files with 119 additions and 30 deletions (loading 29).

x
0 of 30 viewed, 30 left
119 additions and 30 deletionsapps/mobile/src/features/home/HomeHeader.tsxModified
View file
@@ -4,6 +4,8 @@
SidebarThreadSortOrder,
} from "@t3tools/contracts";
import type { MenuAction } from "@react-native-menu/menu";
+import { useAtomValue } from "@effect/atom-react";
+import { AsyncResult } from "effect/unstable/reactivity";
import { NativeHeaderToolbar, NativeStackScreenOptions } from "../../native/StackHeader";
import { useCallback, useMemo, useRef } from "react";
import { Platform, Pressable, Text as RNText, TextInput, View } from "react-native";
@@ -14,6 +16,7 @@
import { SymbolView } from "../../components/AppSymbol";
import { T3Wordmark } from "../../components/T3Wordmark";
import { useThemeColor } from "../../lib/useThemeColor";
+import { mobilePreferencesAtom } from "../../state/preferences";
import { useHardwareKeyboardCommand } from "../keyboard/hardwareKeyboardCommands";
import { withNativeGlassHeaderItem } from "../layout/native-glass-header-items";
import { createNativeMailSearchToolbarItem } from "../layout/native-mail-search-toolbar";
@@ -21,6 +24,7 @@
import {
buildHomeListFilterMenu,
type HomeListFilterMenuEnvironment,
+ type HomeListFilterMenuProject,
} from "./home-list-filter-menu";
import {
hasCustomHomeListOptions,
@@ -33,13 +37,16 @@
​