feedsignal/crates
Austin Schaefer 8d316408b8
Some checks failed
CI / check (pull_request) Failing after 16s
CI / test (pull_request) Has been skipped
CI / audit (pull_request) Has been skipped
Address review feedback on manual feed subscription
- Annotate the form onsubmit event type for clarity
- Disable the Subscribe button while the URL field is blank
- Rename title -> feed_title and invert the blank-title filter into a
  positively-named has_content helper, with a unit test
- Guard fetch_feed with error_for_status() so a well-formed URL that
  points at nothing (404/5xx) surfaces a clear error instead of an
  opaque feed-rs parse failure
- Collapse subscribe_feed_impl's two upsert_feed writes into one: fetch
  under a throwaway id first, then let upsert_feed be the single source
  of truth for the real feed id (existing id on re-subscribe, fresh
  otherwise), remapping fetched articles onto it before inserting. This
  also means a failed subscribe no longer leaves a placeholder row behind.
- Move the blank-URL check ahead of trimming

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJJQb2DWZZwQ1yPiaAQQoY
2026-08-21 15:32:39 +02:00
..
core chore: Use valid license SPDX id. Revert logic refactor. 2026-08-21 14:03:10 +02:00
db Apply cargo fmt across the workspace 2026-08-21 13:10:08 +02:00
feeds Address review feedback on manual feed subscription 2026-08-21 15:32:39 +02:00
llm Apply cargo fmt across the workspace 2026-08-21 13:10:08 +02:00
web Address review feedback on manual feed subscription 2026-08-21 15:32:39 +02:00