feat: rsshub form layer

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-12-31 20:26:14 +08:00
parent fd373fb527
commit 6f9fb5ba92
22 changed files with 530 additions and 56 deletions
@@ -10,6 +10,12 @@ import {
} from "@follow/components/ui/select/index.jsx"
import type { FeedViewType } from "@follow/constants"
import { nextFrame } from "@follow/utils/dom"
import {
MissingOptionalParamError,
parseFullPathParams,
parseRegexpPathParams,
regexpPathToPath,
} from "@follow/utils/path-parser"
import { cn } from "@follow/utils/utils"
import { zodResolver } from "@hookform/resolvers/zod"
import { omit } from "es-toolkit/compat"
@@ -25,12 +31,6 @@ import { getSidebarActiveView } from "~/atoms/sidebar"
import { CopyButton } from "~/components/ui/code-highlighter"
import { Markdown } from "~/components/ui/markdown/Markdown"
import { useCurrentModal, useIsTopModal, useModalStack } from "~/components/ui/modal/stacked/hooks"
import {
MissingOptionalParamError,
parseFullPathParams,
parseRegexpPathParams,
regexpPathToPath,
} from "~/lib/path-parser"
import { getViewFromRoute } from "~/lib/utils"
import { FeedForm } from "./feed-form"