[PR #2177] [CLOSED] feat: row number in lists #2123

Closed
opened 2026-02-26 03:33:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/2177
Author: @oxodao
Created: 12/11/2025
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 4357680 feat: row number in lists in the UI

📊 Changes

7 files changed (+57 additions, -15 deletions)

View changed files

📝 resources/assets/js/components/playable/playable-list/PlayableList.vue (+10 -4)
📝 resources/assets/js/components/playable/playable-list/PlayableListHeader.vue (+22 -2)
📝 resources/assets/js/components/playable/playable-list/PlayableListHeaderActionMenu.vue (+8 -5)
📝 resources/assets/js/components/playable/playable-list/PlayableListItem.vue (+13 -2)
📝 resources/assets/js/components/ui/VirtualScroller.vue (+1 -1)
📝 resources/assets/js/composables/usePlayableListColumnVisibility.ts (+1 -0)
📝 resources/assets/js/types.d.ts (+2 -1)

📄 Description

Description

This PR adds a way to see the row number in lists (mainly used for playlists).

Note that I did not do any tests as I have no clue how to do this on the frontend.

I made sure to change the "Track number" header only if the table row number is enabled to not disrupt the current users.

Motivation

I'm currently in the process of trying to switch from Spotify to Koel, and I much prefer having the row number instead of the track in the first column, as most of the time I do not care about the actual track number.

This is the default in most software such as Spotify / Deezer / ... so I think its a good idea to have it, even if the default is not enabled.

Screenshots (if applicable)

1765480795

Checklist

  • I've tested my changes thoroughly and added tests where applicable
  • I've updated relevant documentation (if any)
  • My code follows the project's conventions

🔄 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/koel/koel/pull/2177 **Author:** [@oxodao](https://github.com/oxodao) **Created:** 12/11/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`4357680`](https://github.com/koel/koel/commit/43576805fa0b307c9f36051740981fb46ef288c3) feat: row number in lists in the UI ### 📊 Changes **7 files changed** (+57 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `resources/assets/js/components/playable/playable-list/PlayableList.vue` (+10 -4) 📝 `resources/assets/js/components/playable/playable-list/PlayableListHeader.vue` (+22 -2) 📝 `resources/assets/js/components/playable/playable-list/PlayableListHeaderActionMenu.vue` (+8 -5) 📝 `resources/assets/js/components/playable/playable-list/PlayableListItem.vue` (+13 -2) 📝 `resources/assets/js/components/ui/VirtualScroller.vue` (+1 -1) 📝 `resources/assets/js/composables/usePlayableListColumnVisibility.ts` (+1 -0) 📝 `resources/assets/js/types.d.ts` (+2 -1) </details> ### 📄 Description ## Description This PR adds a way to see the row number in lists (mainly used for playlists). Note that I did not do any tests as I have no clue how to do this on the frontend. I made sure to change the "Track number" header only if the table row number is enabled to not disrupt the current users. ## Motivation I'm currently in the process of trying to switch from Spotify to Koel, and I much prefer having the row number instead of the track in the first column, as most of the time I do not care about the actual track number. This is the default in most software such as Spotify / Deezer / ... so I think its a good idea to have it, even if the default is not enabled. ## Screenshots (if applicable) <img width="441" height="617" alt="1765480795" src="https://github.com/user-attachments/assets/e55f6c2d-4431-46e2-8fdb-a293f0370b27" /> ## Checklist - [ ] I've tested my changes thoroughly and added tests where applicable - [x] I've updated relevant documentation (if any) - [x] My code follows the project's conventions --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:33: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/koel-koel#2123
No description provided.