Skip to content

fix: filter RSS from perspectives API, add Stories to nav#1660

Merged
bokelley merged 2 commits intomainfrom
bokelley/fix-stories-nav
Mar 23, 2026
Merged

fix: filter RSS from perspectives API, add Stories to nav#1660
bokelley merged 2 commits intomainfrom
bokelley/fix-stories-nav

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

Summary

  • Perspectives showing generic news instead of authored content: The /api/perspectives endpoint returned all published perspectives including RSS feed articles. The frontend passes ?authored=true but the backend ignored it. Now filters out source_type = 'rss' when authored=true is set.
  • Stories missing from noscript fallback nav: Added Stories link to the <noscript> navigation in index.html.

Test plan

  • Verify /api/perspectives?authored=true returns only authored content (not RSS)
  • Verify /api/perspectives (without param) still returns everything
  • Verify Stories link appears in nav on /stories page
  • Verify noscript fallback includes Stories link

🤖 Generated with Claude Code

bokelley and others added 2 commits March 24, 2026 06:33
…cript nav

The /api/perspectives endpoint was returning RSS feed articles alongside
authored content because it didn't filter on source_type. The frontend
passes ?authored=true but the backend ignored it. Now respects that param
to exclude RSS articles. Also adds Stories link to the noscript fallback nav.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bokelley bokelley merged commit 9cfe8d3 into main Mar 23, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant