Default view stays the all-feeds joined article list, now with a sidebar listing every subscribed feed so a reader can pin down to one feed's articles. Filtering happens server-side (list_ranked_articles now takes an optional feed_id). Pulled in the sidebar/badge/scroll_area (plus their sheet/skeleton/ tooltip/separator dependencies) components via `dx components add` instead of hand-rolling nav/tag/scroll markup, matching this project's existing pattern of using the Dioxus component library over raw elements (see button/input). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PqTJmazHBQK878vjQ4JnnF
45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
[package]
|
|
name = "feedsignal-web"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
feedsignal-core.workspace = true
|
|
serde.workspace = true
|
|
dioxus = { version = "0.7", features = ["router", "fullstack"] }
|
|
|
|
# Server-only dependencies: feed polling, the DB/LLM pipeline, and the
|
|
# scheduler only need to exist in the native server binary, never in the
|
|
# WASM bundle shipped to the browser.
|
|
feedsignal-db = { workspace = true, optional = true }
|
|
feedsignal-feeds = { workspace = true, optional = true }
|
|
feedsignal-llm = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true }
|
|
tracing = { workspace = true, optional = true }
|
|
tracing-subscriber = { workspace = true, optional = true }
|
|
anyhow = { workspace = true, optional = true }
|
|
uuid = { workspace = true, optional = true }
|
|
chrono = { workspace = true, optional = true }
|
|
serde_json = { workspace = true, optional = true }
|
|
tokio-cron-scheduler = { version = "0.13", optional = true }
|
|
dioxus-primitives = { git = "https://github.com/DioxusLabs/components", version = "0.0.1", default-features = false }
|
|
dioxus-icons = { version = "0.1.0", default-features = false }
|
|
|
|
[features]
|
|
default = ["web"]
|
|
web = ["dioxus/web"]
|
|
server = [
|
|
"dioxus/server",
|
|
"dep:feedsignal-db",
|
|
"dep:feedsignal-feeds",
|
|
"dep:feedsignal-llm",
|
|
"dep:tokio",
|
|
"dep:tracing",
|
|
"dep:tracing-subscriber",
|
|
"dep:anyhow",
|
|
"dep:uuid",
|
|
"dep:chrono",
|
|
"dep:serde_json",
|
|
"dep:tokio-cron-scheduler",
|
|
]
|