Skip to content

Conversation

@mgumz
Copy link
Contributor

@mgumz mgumz commented Oct 4, 2025

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

@AdyStudios
Copy link

What theme is that btw?

@mgumz
Copy link
Contributor Author

mgumz commented Oct 22, 2025

What theme is that btw?

a slight variation of "dracula":

name = "dracula.mathias"
[themes.palette]
background = "#1e1f29"
foreground = "#f8f8f2"
black = "#000000"
red = "#ff5555"
green = "#50fa7b"
yellow = "#f1fa8c"
blue = "#bd93f9"
magenta = "#ffa000"  # section-marker
cyan = "#8be9fd"
white = "#bbbbbb"
bright_black = "#555555"
bright_red = "#ff5555"
bright_green = "#50fa7b"
bright_yellow = "#f1fa8c"
bright_blue = "#bd93f9"
bright_magenta = "#ff79c6"
bright_cyan = "#8be9fd"
bright_white = "#ffffff"

@AdyStudios
Copy link

Awesome, thanks!

@mgumz mgumz force-pushed the improve/track-page-layout branch from 90f4aef to dd30fe2 Compare November 12, 2025 06:27
@aome510
Copy link
Owner

aome510 commented Dec 28, 2025

@mgumz I don't have permission to push the your branch. Can you merge main?

@aome510
Copy link
Owner

aome510 commented Dec 29, 2025

The same thing happened on your other PR (#842):

> git push mgumz HEAD

git push mgumz HEAD
Enumerating objects: 16, done.
Counting objects: 100% (16/16), done.
Delta compression using up to 8 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 565 bytes | 565.00 KiB/s, done.
Total 6 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (4/4), completed with 4 local objects.
To github.com:mgumz/spotify-player.git
 ! [remote rejected] HEAD -> feature/track-number-component (permission denied)

@mgumz mgumz force-pushed the improve/track-page-layout branch 3 times, most recently from be65d64 to 93c1733 Compare December 29, 2025 05:35
This commit 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.
@mgumz mgumz force-pushed the improve/track-page-layout branch from 93c1733 to f7c6c30 Compare December 29, 2025 05:48
@mgumz
Copy link
Contributor Author

mgumz commented Dec 29, 2025

@aome510 I rebased to aome510:master; thanks for having spare time to go into the "merge" phase.

@aome510 aome510 merged commit 762cd87 into aome510:master Dec 29, 2025
5 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