mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[PR #150] [MERGED] Added pagnation to user playlists #634
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#634
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/150
Author: @Peterwmoss
Created: 11/14/2019
Status: ✅ Merged
Merged: 11/18/2019
Merged by: @Rigellute
Base:
master← Head:master📝 Commits (7)
cfe0587Added pagnation to user playlistsfcfc85fFixed formattingbff381cFixed formattinga2e30b3Fixed formattinga3aac1dSelecting the highlighted song now plays the correct song according to the offset4bac39bUsing non-hardcoded value for pagnagtion910ec19Dont put each search res table on to nav_stack📊 Changes
3 files changed (+36 additions, -5 deletions)
View changed files
📝
src/app.rs(+6 -2)📝
src/handlers/playlist.rs(+1 -0)📝
src/handlers/track_table.rs(+29 -3)📄 Description
Added some simple pagnation to at least scroll through your playlist. I don't know if this is the best way to implement it but it seems to work fine from my own testing. Please excuse if my Rust is "rusty", it's my first Rust project and I don't know if there is need for memory optimization for this change to not leak memory.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.