feat(crawler): fix async crawling

This commit is contained in:
2025-11-09 01:01:07 +02:00
parent e8c0f0422b
commit 2b5482e9f5
58 changed files with 243 additions and 169 deletions
@@ -1,5 +1,4 @@
import React, { useCallback } from "react";
import { ActivityIndicator, Dimensions, FlatList, FlatListProps } from "react-native";
import { View, XStack, YStack } from "tamagui";
@@ -1,5 +1,4 @@
import { useCallback } from "react";
import ContentLoader, { Circle, Rect } from "react-content-loader/native";
import { Dimensions, FlatList } from "react-native";
import { View } from "tamagui";
@@ -1,5 +1,4 @@
import React, { useCallback } from "react";
import { ActivityIndicator, FlatList, FlatListProps } from "react-native";
import { YStack } from "tamagui";
@@ -1,5 +1,4 @@
import { useCallback, useState } from "react";
import { ActivityIndicator, Alert } from "react-native";
import { Button, GetProps } from "tamagui";
@@ -1,5 +1,4 @@
import React, { useCallback } from "react";
import { FlatList, FlatListProps } from "react-native";
import { Paragraph, XStack, YStack } from "tamagui";
@@ -1,5 +1,5 @@
import { Link } from "expo-router";
import { GetProps, styled, XStack, YStack } from "tamagui";
import { GetProps, XStack, YStack, styled } from "tamagui";
import { SourceOverview } from "@/api/schema/feed-management/source";
import { SourceFollowButton } from "@/ui/components/content/source/SourceFollowButton";
@@ -1,5 +1,4 @@
import { useCallback } from "react";
import ContentLoader, { Circle, Rect } from "react-content-loader/native";
import { FlatList } from "react-native";
import { YStack } from "tamagui";
@@ -5,10 +5,10 @@ import {
GetProps,
Label,
SizeTokens,
styled,
Input as TamaguiInput,
XStack,
YStack,
styled,
} from "tamagui";
import { Caption } from "@/ui/components/typography";
@@ -1,4 +1,4 @@
import { GetProps, Label, styled, TextArea as TamaguiTextArea, XStack, YStack } from "tamagui";
import { GetProps, Label, TextArea as TamaguiTextArea, XStack, YStack, styled } from "tamagui";
import { withController } from "@/ui/components/controls/forms/withController";
import { Caption } from "@/ui/components/typography";
@@ -1,5 +1,4 @@
import React from "react";
import { Controller, ControllerProps } from "react-hook-form";
type WithControllerProps = {
@@ -1,6 +1,5 @@
import React from "react";
import { styled, View, XStack } from "tamagui";
import { View, XStack, styled } from "tamagui";
import { Text } from "@/ui/components/typography";
@@ -1,6 +1,6 @@
import { ArrowRight } from "@tamagui/lucide-icons";
import { Href, Link } from "expo-router";
import { GetProps, Paragraph, styled, XStack } from "tamagui";
import { GetProps, Paragraph, XStack, styled } from "tamagui";
import { Text } from "@/ui/components/typography";
@@ -1,7 +1,7 @@
import { StatusBar } from "expo-status-bar";
import React from "react";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { styled, YStack } from "tamagui";
import { YStack, styled } from "tamagui";
import { ScreenHeading } from "@/ui/components/layout/ScreenHeading";
import { ScreenSection } from "@/ui/components/layout/ScreenSection";
@@ -1,5 +1,4 @@
import type React from "react";
import { Paragraph, ParagraphProps } from "tamagui";
export const Caption = (props: React.PropsWithChildren<ParagraphProps>) => {
@@ -1,5 +1,4 @@
import type React from "react";
import { H2, ParagraphProps } from "tamagui";
export const Display = (props: React.PropsWithChildren<ParagraphProps>) => {
@@ -1,5 +1,4 @@
import type React from "react";
import { H4, ParagraphProps } from "tamagui";
export const Heading = (props: React.PropsWithChildren<ParagraphProps>) => {
@@ -1,5 +1,4 @@
import type React from "react";
import { Paragraph, ParagraphProps } from "tamagui";
export const Text = (props: React.PropsWithChildren<ParagraphProps>) => {