mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[PR #25] [MERGED] Rewrite the context page state's structure #1526
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1526
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/aome510/spotify-player/pull/25
Author: @aome510
Created: 10/31/2021
Status: ✅ Merged
Merged: 10/31/2021
Merged by: @aome510
Base:
master← Head:rewrite-context-page-structure📝 Commits (7)
63d6bfeusePageState::Contextin theeventmodule39db0dfupdate the state structures10ba105removeutils::update_contexte4d843fremove unusedsendin command handler functions59af2f2handle rendering the context page and update its window state on changesad3f546cleanup0e391dbempty thePageState::Context'scontext_idwhen handlingPreviousPage📊 Changes
8 files changed (+180 additions, -250 deletions)
View changed files
📝
spotify_player/src/event/mod.rs(+9 -4)📝
spotify_player/src/event/popup.rs(+15 -20)📝
spotify_player/src/event/window.rs(+54 -53)📝
spotify_player/src/state/player.rs(+20 -16)📝
spotify_player/src/state/ui.rs(+17 -2)📝
spotify_player/src/ui/mod.rs(+53 -88)📝
spotify_player/src/ui/window.rs(+12 -11)📝
spotify_player/src/utils.rs(+0 -56)📄 Description
Brief description of changes
PageState::Contextas a combination ofPageState::Browsing,PageState::CurrentPlayingui::handle_page_state_changefunction🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.