Skip to content

Batch 3: ATH dead-end fallback, cards above toolbar, dedup relativeDate#29

Open
tinkerwise wants to merge 1 commit into
mainfrom
feature/batch-3-ath-improvements
Open

Batch 3: ATH dead-end fallback, cards above toolbar, dedup relativeDate#29
tinkerwise wants to merge 1 commit into
mainfrom
feature/batch-3-ath-improvements

Conversation

@tinkerwise

Copy link
Copy Markdown
Owner

Closes #24

Summary

  • Direct navigation to /around-the-horn/ now shows a friendly recovery message instead of a dead end
  • ATH bundle cards render above the feed toolbar so they're visible without scrolling past filters
  • Removed the duplicate inline relativeDate() from the ATH page; imports from utils.js

Files changed

  • src/pages/around-the-horn/index.astro — dead-end fallback UI, removed duplicate relativeDate
  • src/pages/index.astro — ATH container moved above feed toolbar
  • src/scripts/feeds.js — ATH cards render into dedicated #athBundleContainer
  • public/style.css.ath-dead-end styles

Test plan

  • Open /around-the-horn/ in a fresh tab — see "Story bundle unavailable" with orange back link
  • Click an ATH card on homepage — bundle opens correctly
  • ATH bundle section appears above the feed toolbar on homepage
  • No JS errors from duplicate function definition

Generated by Claude Code

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.

Around the Horn: dead-end fallback, elevate cards, dedup relativeDate

2 participants