Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"next": "^16.0.10",
"next-themes": "^0.4.6",
"posthog-js": "1.310.1",
"react": "19.1.0",
"react-dom": "19.1.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-icons": "^5.5.0",
"recharts": "2.15.4",
"require-in-the-middle": "8.0.1",
Expand All @@ -43,7 +43,7 @@
"@superset/typescript": "workspace:*",
"@tailwindcss/postcss": "^4.0.9",
"@types/node": "^24.9.1",
"@types/react": "~19.1.0",
"@types/react": "~19.2.2",
"@types/react-dom": "^19.2.3",
"babel-plugin-react-compiler": "^1.0.0",
"dotenv": "^17.2.3",
Expand Down
6 changes: 3 additions & 3 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
"lodash.chunk": "^4.2.0",
"mcp-handler": "^1.0.7",
"next": "^16.0.10",
"react": "19.1.0",
"react-dom": "19.1.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"require-in-the-middle": "8.0.1",
"zod": "^4.3.5"
},
"devDependencies": {
"@superset/typescript": "workspace:*",
"@types/lodash.chunk": "^4.2.9",
"@types/node": "^24.9.1",
"@types/react": "~19.1.0",
"@types/react": "~19.2.2",
"@types/react-dom": "^19.2.3",
"babel-plugin-react-compiler": "^1.0.0",
"dotenv": "^17.2.3",
Expand Down
4 changes: 2 additions & 2 deletions apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"ink-text-input": "^6.0.0",
"lowdb": "^7.0.1",
"meow": "^11.0.0",
"react": "19.1.0",
"react": "19.2.0",
"react-devtools-core": "^7.0.1",
"string-width": "^8.1.0"
},
"devDependencies": {
"@superset/typescript": "workspace:*",
"@types/react": "~19.1.0",
"@types/react": "~19.2.2",
"bun-types": "^1.3.1",
"chalk": "^5.6.2",
"chokidar": "^3.5.3",
Expand Down
6 changes: 3 additions & 3 deletions apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
"posthog-js": "1.310.1",
"posthog-node": "^5.24.7",
"prebuild-install": "^7.1.1",
"react": "19.1.0",
"react": "19.2.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "19.1.0",
"react-dom": "19.2.0",
"react-hook-form": "^7.71.1",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
Expand Down Expand Up @@ -184,7 +184,7 @@
"@types/http-proxy": "^1.17.17",
"@types/lodash": "^4.17.20",
"@types/node": "^24.9.1",
"@types/react": "~19.1.0",
"@types/react": "~19.2.2",
"@types/react-dom": "^19.2.3",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/semver": "^7.7.1",
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"lucide-react": "^0.563.0",
"next": "^16.0.10",
"posthog-js": "1.310.1",
"react": "19.1.0",
"react-dom": "19.1.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"tailwind-merge": "^3.4.0",
"zod": "^4.3.5"
},
Expand All @@ -35,7 +35,7 @@
"@tailwindcss/postcss": "^4.0.9",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "~19.1.0",
"@types/react": "~19.2.2",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.18",
Expand Down
6 changes: 3 additions & 3 deletions apps/marketing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"next-mdx-remote": "^5.0.0",
"next-themes": "^0.4.6",
"posthog-js": "1.310.1",
"react": "19.1.0",
"react-dom": "19.1.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-fast-marquee": "^1.6.5",
"react-icons": "^5.5.0",
"remark-gfm": "^4.0.1",
Expand All @@ -46,7 +46,7 @@
"@tailwindcss/typography": "^0.5.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "~19.1.0",
"@types/react": "~19.2.2",
"@types/react-dom": "^19.2.3",
"@types/three": "^0.181.0",
"@types/ua-parser-js": "^0.7.39",
Expand Down
6 changes: 2 additions & 4 deletions apps/mobile/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
version: "1.0.0",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
newArchEnabled: true,
userInterfaceStyle: "dark",
scheme: "superset",
splash: {
image: "./assets/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
backgroundColor: "#09090b",
},
ios: {
supportsTablet: true,
Expand All @@ -37,7 +36,6 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
backgroundColor: "#ffffff",
},
package: "sh.superset.mobile",
edgeToEdgeEnabled: true,
predictiveBackGestureEnabled: false,
},
web: {
Expand Down
12 changes: 1 addition & 11 deletions apps/mobile/app/(auth)/sign-in.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
import { Redirect } from "expo-router";
import { useSession } from "@/lib/auth/client";
import { SignInScreen } from "@/screens/(auth)/sign-in";

export default function SignInRoute() {
const { data: session } = useSession();

if (session) {
return <Redirect href="/" />;
}

return <SignInScreen />;
}
export default SignInScreen;
15 changes: 15 additions & 0 deletions apps/mobile/app/(authenticated)/(home)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Stack } from "expo-router";

export default function HomeLayout() {
return (
<Stack
screenOptions={{
headerBackButtonDisplayMode: "minimal",
headerShadowVisible: false,
}}
>
<Stack.Screen name="index" options={{ title: "" }} />
<Stack.Screen name="workspaces/[id]" options={{ title: "Workspace" }} />
</Stack>
);
}
3 changes: 3 additions & 0 deletions apps/mobile/app/(authenticated)/(home)/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { WorkspacesScreen } from "@/screens/(authenticated)/(home)/workspaces";

export default WorkspacesScreen;
3 changes: 3 additions & 0 deletions apps/mobile/app/(authenticated)/(home)/workspaces/[id].tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { WorkspaceDetailScreen } from "@/screens/(authenticated)/workspaces/[id]";

export default WorkspaceDetailScreen;
10 changes: 10 additions & 0 deletions apps/mobile/app/(authenticated)/(more)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Stack } from "expo-router";

export default function MoreLayout() {
return (
<Stack>
<Stack.Screen name="index" options={{ headerShown: false }} />
<Stack.Screen name="settings" options={{ title: "Settings" }} />
</Stack>
);
}
3 changes: 3 additions & 0 deletions apps/mobile/app/(authenticated)/(more)/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { MoreMenuScreen } from "@/screens/(authenticated)/(more)";

export default MoreMenuScreen;
3 changes: 3 additions & 0 deletions apps/mobile/app/(authenticated)/(more)/settings.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { SettingsScreen } from "@/screens/(authenticated)/(more)/settings";

export default SettingsScreen;
3 changes: 3 additions & 0 deletions apps/mobile/app/(authenticated)/(tasks)/[id].tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { TaskDetailScreen } from "@/screens/(authenticated)/tasks/[id]";

export default TaskDetailScreen;
10 changes: 10 additions & 0 deletions apps/mobile/app/(authenticated)/(tasks)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Stack } from "expo-router";

export default function TasksLayout() {
return (
<Stack>
<Stack.Screen name="index" options={{ title: "Tasks" }} />
<Stack.Screen name="[id]" options={{ title: "Task" }} />
</Stack>
);
}
3 changes: 3 additions & 0 deletions apps/mobile/app/(authenticated)/(tasks)/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { TasksScreen } from "@/screens/(authenticated)/(tasks)/tasks";

export default TasksScreen;
15 changes: 12 additions & 3 deletions apps/mobile/app/(authenticated)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
import { Stack } from "expo-router";
import { TabList, TabSlot, Tabs, TabTrigger } from "expo-router/ui";
import { useDevicePresence } from "@/hooks/useDevicePresence";
import { CollectionsProvider } from "@/providers/CollectionsProvider";
import { AuthenticatedTabBar } from "@/screens/(authenticated)/components/AuthenticatedTabBar";
import { CollectionsProvider } from "@/screens/(authenticated)/providers/CollectionsProvider";

export default function AuthenticatedLayout() {
useDevicePresence();

return (
<CollectionsProvider>
<Stack screenOptions={{ headerShown: false }} />
<Tabs>
<TabSlot style={{ flex: 1 }} />
<TabList style={{ display: "none" }}>
<TabTrigger name="(home)" href="/(home)" />
<TabTrigger name="(tasks)" href="/(tasks)" />
<TabTrigger name="(more)" href="/(more)" />
</TabList>
<AuthenticatedTabBar />
</Tabs>
</CollectionsProvider>
);
}
3 changes: 0 additions & 3 deletions apps/mobile/app/(authenticated)/demo.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions apps/mobile/app/(authenticated)/index.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions apps/mobile/app/index.tsx

This file was deleted.

1 change: 1 addition & 0 deletions apps/mobile/assets/social/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/mobile/assets/social/google.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

1 change: 0 additions & 1 deletion apps/mobile/components/OrganizationSwitcher/index.ts

This file was deleted.

5 changes: 5 additions & 0 deletions apps/mobile/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
declare module "*.svg" {
import type { ImageSourcePropType } from "react-native";
const value: ImageSourcePropType;
export default value;
}
1 change: 1 addition & 0 deletions apps/mobile/hooks/useSignOut/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { useSignOut } from "./useSignOut";
25 changes: 25 additions & 0 deletions apps/mobile/hooks/useSignOut/useSignOut.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { useQueryClient } from "@tanstack/react-query";
import { useRouter } from "expo-router";
import { useCallback, useState } from "react";
import { signOut } from "@/lib/auth/client";

export function useSignOut() {
const router = useRouter();
const queryClient = useQueryClient();
const [isSigningOut, setIsSigningOut] = useState(false);

const handleSignOut = useCallback(async () => {
setIsSigningOut(true);
try {
await signOut();
queryClient.clear();
router.replace("/(auth)/sign-in");
} catch (error) {
console.error("[auth/signOut] Failed to sign out:", error);
} finally {
setIsSigningOut(false);
}
}, [router, queryClient]);

return { signOut: handleSignOut, isSigningOut };
}
1 change: 1 addition & 0 deletions apps/mobile/hooks/useTheme/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { useTheme } from "./useTheme";
Loading