Skip to content

fix: map layout, YouTube live detection, and UI cleanup#71

Merged
Juliusolsson05 merged 5 commits intomainfrom
fix/ui-polish
Mar 24, 2026
Merged

fix: map layout, YouTube live detection, and UI cleanup#71
Juliusolsson05 merged 5 commits intomainfrom
fix/ui-polish

Conversation

@Juliusolsson05
Copy link
Copy Markdown
Owner

Summary

  • fix map overlay clipping in the desktop resizable split pane by adding min-w-0 to the canvas panel and replacing 100vw with 100% in filter/menu positioning
  • replace YouTube HTML scraping with official Data API v3 for live stream detection so it works on Vercel production (datacenter IPs were blocked by YouTube)
  • remove redundant UNCLASSIFIED footer from the brief page
  • cap leadership tree board height to match the inline actor view so the graph is immediately visible

Juliusolsson05 and others added 5 commits March 24, 2026 11:01
Add min-w-0 to the desktop canvas ResizablePanel so it actually shrinks.
Replace 100vw with 100% in MapFilterPanel so the filter bar sizes against
the canvas panel, not the viewport. Constrain visibility menu and filter
overlays with left+right bounds. Let the timeline header compress with
min-w-0 and truncate instead of overflowing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The old approach scraped youtube.com/@Handle/live HTML for "isLive":true,
which fails on Vercel because YouTube blocks datacenter IPs. Now fetches
video IDs from YouTube's public RSS feed then checks liveBroadcastContent
via the official videos.list API (1 quota unit per 50 videos). Works from
any IP. Requires YOUTUBE_API_KEY env var.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove the redundant classification footer from the brief page. Use the
same capped board height for both inline and full-tab leadership graphs
so the tree is immediately visible without scrolling past empty space.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Juliusolsson05 Juliusolsson05 merged commit 7edc577 into main Mar 24, 2026
2 checks passed
@Juliusolsson05 Juliusolsson05 deleted the fix/ui-polish branch March 31, 2026 07:59
@Juliusolsson05 Juliusolsson05 restored the fix/ui-polish branch March 31, 2026 07:59
@Juliusolsson05 Juliusolsson05 deleted the fix/ui-polish branch March 31, 2026 07:59
@Juliusolsson05 Juliusolsson05 restored the fix/ui-polish branch March 31, 2026 07:59
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