Skip to content

fix(web): remove UI controls that imply unimplemented features#49

Merged
aykhan019 merged 1 commit into
aykhan019:mainfrom
endorphin13:fix/remove-nonfunctional-filters
May 31, 2026
Merged

fix(web): remove UI controls that imply unimplemented features#49
aykhan019 merged 1 commit into
aykhan019:mainfrom
endorphin13:fix/remove-nonfunctional-filters

Conversation

@endorphin13

Copy link
Copy Markdown
Contributor

Why

A few analytics screens rendered filter controls and labels that suggest features the API doesn't provide. They draw the eye (and questions) without doing anything.

What changed

  • Top artists — the 7d / 30d / 90d / 1y period pills were non-interactive <span>s and the query is all-time. Replaced with a single honest "All time" label.
  • History — the All sources / From a preview / … pills did nothing (fetchHistory only takes a page number). Removed them (and the now-unused P2Pill import).
  • Overview — the "Minutes listened · 30d" tile is actually the sum of the top 3 artists' minutes and is all-time, not 30d. Relabeled it "top artists" and reworded the hero copy from "captured from your real listening history" to "across your top artists".
  • Overview — dropped the unsupported "180M tracks indexed" capability sub-label; the catalog holds ~170K tracks.

No behavior change beyond removing misleading affordances; if real filtering is wanted later it can be wired end-to-end.

Verification

pnpm --filter @statify/web typecheck, eslint, and pnpm --filter @statify/web test (61 tests) all pass.

Several screens rendered decorative filter controls that were never wired to
the API, and one hero metric was mislabeled:

- Top artists: the 7d/30d/90d/1y period pills were non-interactive and the
  underlying query is all-time. Replace them with a single "All time" label.
- History: the "source" filter pills did nothing (fetchHistory only takes a
  page number). Remove them.
- Overview: the "Minutes listened · 30d" tile is the sum of the top 3 artists
  and is all-time, not 30d. Relabel it "top artists" and reword the hero copy
  to "across your top artists".
- Overview: drop the unsupported "180M tracks indexed" capability sub-label;
  the catalog holds ~170K tracks.
@endorphin13 endorphin13 requested a review from aykhan019 as a code owner May 31, 2026 18:17
@vercel

vercel Bot commented May 31, 2026

Copy link
Copy Markdown

@fateh-mammadli is attempting to deploy a commit to the Aykhan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@aykhan019 aykhan019 merged commit 58c8689 into aykhan019:main May 31, 2026
1 of 2 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.

3 participants