1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
8bab7c2bf5
Refactor more of the things!
1. Move all the mpdClient actions into a reducer.
2. Move global stuff into their own global struct
2019-04-30 09:11:50 -04:00
4d2a8087ed
Import AppKit rather than Cocoa
Importing Cocoa pulls in CoreData, which we're not using.

https://github.com/brentsimmons/NetNewsWire/blob/master/Technotes/CodingGuidelines.md
2019-04-29 08:59:04 -04:00
8882c4246c
Refactor all the things!
I discovered Xcode's refactor function 😁
2019-04-28 10:48:10 -04:00
d2d4705e87
Current artwork and notifications 2019-04-27 22:39:18 -04:00
bc84d925d6
Less confusing 2019-03-08 16:02:36 -05:00
04a5eb1735
Maintain relative scroll position on resize 2019-03-08 15:52:01 -05:00
92366ac795
Ensure the album play button never sticks around 2019-03-06 17:21:02 -05:00
2d6aa478a7
Add a button to albums that plays the album
This works by clearing the queue, adding all the tracks from the album
to the queue and playing the first track.

Fix bug where resize might leave a play button visible

Had to refactor the QueueView somewhat as there was a bug that only
surfaced on clearing and refilling the playlist. The bug was due to the
way NSOutlineView reuses subviews.

Add screenshot with album play button

Move queue datasource and refactor view controller

Move album datasource out of the view controller
2019-02-22 13:09:09 -05:00
5d0e1c4719
Spacebar triggers play/pause
Use the responder chain to handle the keypress.
2019-02-22 11:58:56 -05:00
33baaf3a64
Auto set width of albums and restrict queue view width 2019-02-16 18:56:11 -05:00
9216cfc25d
Add album view 2019-02-16 18:56:11 -05:00
eb32f8cdf6
Address PR feedback 2019-02-16 18:42:18 -05:00
b8ed0b1ca6
Change colour of borders depending on dark/light mode 2019-02-13 22:20:42 -05:00
eeb776199b
Improve display of blank albums
* Add dark and light blank album image variants
* Use CALayer to draw rounded corners and a tinted border on each album
  cover
2019-02-13 22:20:42 -05:00
891d08cfff
Auto set width of albums and restrict queue view width 2019-02-13 22:20:26 -05:00
7714b2609b
Refactor a bunch of things 2019-02-13 22:20:25 -05:00
71805dde15
Truncate long names with an ellipsis 2019-02-13 22:20:25 -05:00
447432120a
Add album view 2019-02-13 22:20:25 -05:00