Footer enhancements and performance optimizations #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "footer-enhancements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Handle new standardized API response format for streams endpoint - Extract data from { success: true, data: [...] } wrapper - Maintain backward compatibility with old API format - Fixes TypeError: streams.forEach is not a function 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>- Clean up all backward compatibility checks for old API format - All endpoints now consistently return { success: true, data: [...] } - Simplify response handling across all components and pages 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>- Update /api/getActive to return { success: true, data: {...} } format - Add proper error handling with standardized error responses - Update main page to handle new response format for active sources - Remove unused variables and clean up code - Add trim() to file reads to handle whitespace properly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>- Update streams API to join with teams table and return StreamWithTeam data - Modify stream lookup maps to generate proper stream group names with team prefixes - Format: {team_name}_{stream_name}_stream to match obsClient.js logic - Update type signatures throughout to support team_name and group_name fields - Now properly matches text file contents with database streams for dropdown selection 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>- Include team name prefix in optimistic update stream group generation - Format: {team_name}_{stream_name}_stream to match backend file writes - Prevents dropdown from reverting to wrong value after selection - Now dropdown shows correct selection immediately without requiring page refresh 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>Summary
{ success: true, data: [...] }formatTechnical Changes
{team_name}_{stream_name}_streamformat/api/streamsto return StreamWithTeam data with JOINed team information/api/getActiveto use standardized response formatTest Plan
🤖 Generated with Claude Code