[PR #843] [MERGED] Improve the track page layout #896

Closed
opened 2026-03-03 00:01:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/843
Author: @mgumz
Created: 10/4/2025
Status: Merged
Merged: 12/29/2025
Merged by: @aome510

Base: masterHead: improve/track-page-layout


📝 Commits (1)

  • f7c6c30 Improve the track page layout

📊 Changes

2 files changed (+20 additions, -10 deletions)

View changed files

📝 spotify_player/src/ui/mod.rs (+1 -1)
📝 spotify_player/src/ui/page.rs (+19 -9)

📄 Description

This PR improves the track page layout in various aspects:

  • An additional column to carry the play/pause state is added.

  • The track number column is right aligned. Its maximum width is calculated based upon the number of tracks (before it was hardcoded to '4', assuming rightfully so 9999 tracks is pretty large). The track number column title '#' is now visually stable ontop of the actual track number.

CleanShot 2025-10-04 at 12 06 25@2x

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/843 **Author:** [@mgumz](https://github.com/mgumz) **Created:** 10/4/2025 **Status:** ✅ Merged **Merged:** 12/29/2025 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `improve/track-page-layout` --- ### 📝 Commits (1) - [`f7c6c30`](https://github.com/aome510/spotify-player/commit/f7c6c305ba86b1a60d03824f2079dec540e3712e) Improve the track page layout ### 📊 Changes **2 files changed** (+20 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `spotify_player/src/ui/mod.rs` (+1 -1) 📝 `spotify_player/src/ui/page.rs` (+19 -9) </details> ### 📄 Description This PR improves the track page layout in various aspects: * An additional column to carry the play/pause state is added. * The track number column is right aligned. Its maximum width is calculated based upon the number of tracks (before it was hardcoded to '4', assuming rightfully so 9999 tracks is pretty large). The track number column title '#' is now visually stable ontop of the actual track number. <img width="1434" height="810" alt="CleanShot 2025-10-04 at 12 06 25@2x" src="https://github.com/user-attachments/assets/8f755d9b-69ba-4f48-bec9-57d2a4dd1f22" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:01:20 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#896
No description provided.