Skip to content

Implement masthead subheading - #115

Merged
brandonpham13 merged 1 commit into
mainfrom
masthead-subheading
Aug 9, 2026
Merged

Implement masthead subheading#115
brandonpham13 merged 1 commit into
mainfrom
masthead-subheading

Conversation

@brandonpham13

Copy link
Copy Markdown
Owner

This pull request introduces a more descriptive league masthead to the dashboard and improves handling of league formats, especially for Sleeper leagues. It also adds logic to filter out unsupported "chopped" leagues from the backend. The most important changes are grouped below.

Dashboard UI improvements

  • The dashboard masthead now displays a detailed subheading summarizing the league's provider, team count, scoring type (e.g., PPR, Half-PPR), tight end premium (TEP), superflex status, and league format (e.g., Dynasty, Keeper, Redraft). This is assembled using new utility functions and passed to the Masthead component. [1] [2] [3] [4] [5]
  • Added a utility (getProviderLabel) to display provider names in a user-friendly way (e.g., "ESPN" instead of "espn").

League format normalization utilities

  • Added utility functions to normalize and detect league features: isSuperflex, isTightEndPremium, getScoringType, and getLeagueFormat. These help consistently derive league settings from Sleeper data.

Backend: Sleeper "chopped" league filtering

  • Added logic on the server side to filter out "chopped" leagues (a format not currently supported by the app) from all league lookups, preventing them from appearing in user league lists. [1] [2] [3]

@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
huddle Building Building Preview Aug 9, 2026 10:15pm

@brandonpham13
brandonpham13 merged commit 780f22d into main Aug 9, 2026
1 of 2 checks passed
@brandonpham13
brandonpham13 deleted the masthead-subheading branch August 9, 2026 22:15
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