Skip to content

Rework homepage - #34

Draft
RadValentin wants to merge 45 commits into
mainfrom
24-rework-homepage
Draft

Rework homepage#34
RadValentin wants to merge 45 commits into
mainfrom
24-rework-homepage

Conversation

@RadValentin

@RadValentin RadValentin commented Jul 13, 2026

Copy link
Copy Markdown
Owner

TODO

API

  • Implement endpoints
    • Today's picks - random selection with current day as seed of tracks with submissions > 100, cached for 24h
    • All time favorites - top tracks endpoint, previously implemented
      • Create a separate "top tracks" endpoint that returns 1 track per album/artist and applies some randomness seeded by the current date to the results
    • "On this day" list, tracks released "today"
      • Return only 1 track per album/artist, to keep things interesting.

UI

  • Implement basic routing to separate home page from search page
  • Fetch from new API endpoints and a group of tracks for each on the home page
  • Split TrackItem into card layout (home, search) and pill layout (player)
  • Card panels with horizontal scroll (back/forward buttons)

@RadValentin RadValentin linked an issue Jul 13, 2026 that may be closed by this pull request
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.12598% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.71%. Comparing base (d258ae0) to head (9e28ae1).

Files with missing lines Patch % Lines
backend/recommend_api/api/track.py 83.33% 6 Missing and 3 partials ⚠️
backend/recommend_api/router.py 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   90.59%   90.71%   +0.11%     
==========================================
  Files          37       37              
  Lines        1850     1970     +120     
  Branches      129      139      +10     
==========================================
+ Hits         1676     1787     +111     
- Misses        135      141       +6     
- Partials       39       42       +3     
Files with missing lines Coverage Δ
backend/recommend_api/tests/api/test_track_api.py 100.00% <100.00%> (ø)
backend/recommend_api/router.py 39.28% <0.00%> (ø)
backend/recommend_api/api/track.py 84.40% <83.33%> (-1.81%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This comment was marked as outdated.

This comment was marked as low quality.

@RadValentin RadValentin linked an issue Jul 16, 2026 that may be closed by this pull request
@RadValentin
RadValentin marked this pull request as draft July 29, 2026 11:06
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.

Rework homepage Implement routing

2 participants