mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[PR #604] [MERGED] Implement next/previous page behavior for the Artists table #922
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#922
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/604
Author: @Utagai
Created: 10/4/2020
Status: ✅ Merged
Merged: 10/11/2020
Merged by: @Rigellute
Base:
master← Head:add-paging-to-artists📝 Commits (1)
43c0863Implement next/previous pagination behavior for the artists view📊 Changes
3 files changed (+58 additions, -0 deletions)
View changed files
📝
src/app.rs(+46 -0)📝
src/handlers/artists.rs(+2 -0)📝
src/network.rs(+10 -0)📄 Description
This closes #603 which I just filed.
I'm new to Rust, so any feedback is welcome!
Lastly, I think pagination behavior may be in want of a re-work. It seems like we're missing pagination for a bunch of views and I imagine their implementations will all share quite a bit in common. I didn't take on the larger task of a big refactor but it may be something we should consider.
Here's a demo gif (ignore color issues, it's my first time trying to use

terminalizerto record my terminal).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.