Repository navigation
fix(history): keep a dash in recap track titles - #705
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe listening recap now splits track displays at the final ChangesListening recap track display
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The recap changes preserve dashed track titles and show the appended artist in the card and top-tracks list. No merge-blocking issue is identified. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes #671
The recap split each ranked display on the first
-, so a track title likeBohemian Rhapsody - Remastered 2011lost its second half to the artist slot on the share card, and the Top Tracks list rendered the whole line bold with no artist under it. Albums likeLive - 1985hit the same split in the album list.aggregate_top_tracksalways appends the artists at the end of the display string, so the last-is the separator it added. A newsplit_track_displayhelper splits there withrsplit_once,CardData::from_topsand the tracks rendering use it, andrender_ranked_entriesnow takes asplit_artistflag so the artists and albums lists show their display whole with no artist line.Three tests cover the card, the track list and the album list, all written first and failing on main.
Summary by CodeRabbit