[GH-ISSUE #75] Split the app file and struct #46

Open
opened 2026-02-28 14:46:36 +03:00 by kerem · 3 comments
Owner

Originally created by @svenvNL on GitHub (Oct 17, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/75

The app struct and file are pretty big and have a lot of responsibility. I think it is better to split the code like it is done in OOP. The code does a lot and is not the easiest to get started in. We can split it in the following groups:

  • navigation
  • input
  • current playback
  • devices
  • search
  • playlists
  • playlist
  • artists
  • artist album
  • albums
  • album tracks
  • liked songs
Originally created by @svenvNL on GitHub (Oct 17, 2019). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/75 The app struct and file are pretty big and have a lot of responsibility. I think it is better to split the code like it is done in OOP. The code does a lot and is not the easiest to get started in. We can split it in the following groups: - navigation - input - current playback - devices - search - playlists - playlist - artists - artist album - albums - album tracks - liked songs
Author
Owner

@JoaoVictorCabraldeMelo commented on GitHub (Oct 18, 2019):

Could I take this issue pls 😄 ?

<!-- gh-comment-id:543852456 --> @JoaoVictorCabraldeMelo commented on GitHub (Oct 18, 2019): Could I take this issue pls :smile: ?
Author
Owner

@Rigellute commented on GitHub (Oct 18, 2019):

I've let things build up for too long, and that file is pretty big!

@JoaoVictorCabraldeMelo this task might not be the best one to get started with!

Good to know you're interested in contributing though, I'll try to label some issues as good ones to pick.

<!-- gh-comment-id:543882968 --> @Rigellute commented on GitHub (Oct 18, 2019): I've let things build up for too long, and that file is pretty big! @JoaoVictorCabraldeMelo this task might not be the best one to get started with! Good to know you're interested in contributing though, I'll try to label some issues as good ones to pick.
Author
Owner

@Hwatwasthat commented on GitHub (Mar 30, 2021):

I'm working on this right now as it doesn't seem like anything has happened recently. Would you rather a comprehensive refit in a while or partial replacements over time?

<!-- gh-comment-id:810587807 --> @Hwatwasthat commented on GitHub (Mar 30, 2021): I'm working on this right now as it doesn't seem like anything has happened recently. Would you rather a comprehensive refit in a while or partial replacements over time?
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-tui#46
No description provided.