Commit Graph

62 Commits

Author SHA1 Message Date
aditya-K2
64b6f77ff2 add readme 2023-04-11 08:17:16 +05:30
aditya-K2
a71076a1a5 Initial implementation of albums view 2023-04-11 07:28:38 +05:30
aditya-K2
ae6690b878 AlbumView and AlbumsView 2023-04-11 07:28:08 +05:30
aditya-K2
af5da857ca change in implementation of view interface 2023-04-11 07:27:42 +05:30
aditya-K2
a86f7dfd97 renaming some structs 2023-04-11 06:48:03 +05:30
aditya-K2
c5ad927f5c consistent colors for iview visual mode 2023-04-11 06:16:37 +05:30
aditya-K2
e45cd91904 Better error handling 2023-04-11 06:10:46 +05:30
aditya-K2
9fd09c4578 Remove ui/sidenav 2023-04-11 05:06:42 +05:30
aditya-K2
37d40664e4 Display playlist name in the notification 2023-04-11 05:04:09 +05:30
aditya-K2
d15f2fd7b2 Call done function even if the playlist or album is cached 2023-04-11 05:03:22 +05:30
aditya-K2
bea42babd6 Use SetMaxWidth in interactiveView.update 2023-04-11 04:20:06 +05:30
aditya-K2
cb7d17e5ee Better notification Implementation 2023-04-11 03:49:43 +05:30
aditya-K2
d16a547506 implement notifications 2023-04-11 03:22:16 +05:30
aditya-K2
857810afbb Check if iview.context related functions are nil 2023-04-11 03:07:35 +05:30
aditya-K2
79ed0d2608 Simple NavMenu implementation 2023-04-11 02:38:46 +05:30
aditya-K2
45acf4ba24 rename Main.View=> Main.Table 2023-04-11 01:53:28 +05:30
aditya-K2
7070f26466 Rename Main=>Root MainS=>Main 2023-04-11 01:29:07 +05:30
aditya-K2
940d9a82c1 Fix error where Ui is nil 2023-04-11 01:22:35 +05:30
aditya-K2
a7a8f74f18 Use MainFlex as the root instead of pages 2023-04-10 20:29:30 +05:30
aditya-K2
46b8e04f7f make playlistView fields private 2023-04-10 20:08:43 +05:30
aditya-K2
65d5b654d1 initial implementation using views 2023-04-10 20:00:47 +05:30
aditya-K2
b36b4f3455 add view implementation 2023-04-10 19:55:12 +05:30
aditya-K2
0ca89df6d2 update: comments 2023-04-10 09:57:11 +05:30
aditya-K2
a43ed2a0b3 Initial Implementation of whole view 2023-04-10 09:45:31 +05:30
aditya-K2
5f37515c47 remove AddAlbumToPlaylist 2023-04-10 09:45:26 +05:30
aditya-K2
3feaaab65e implement GetAlbum and GetPlaylist
GetAlbum and GetPlaylist are now similar to CurrentUserSavedAlbums and
CurrentUserPlaylists
2023-04-10 09:39:24 +05:30
aditya-K2
ee02874dd3 add AfterContextClose() function 2023-04-10 09:19:12 +05:30
aditya-K2
78bcb78f13 AddTracksToPlaylist wrapper 2023-04-10 09:17:50 +05:30
aditya-K2
bf61257bba use InitClient instead of NewClient 2023-04-10 05:37:14 +05:30
aditya-K2
1d99b5684b rename to gspt 2023-04-10 01:54:17 +05:30
aditya-K2
45a5fbfb81 implement add album to spotify playlist through context menu 2023-04-09 05:10:44 +05:30
aditya-K2
d10923c4bf "add" wrappers for spotify 2023-04-09 05:10:20 +05:30
aditya-K2
514869feff fix: unable to select anything other than the first entry 2023-04-09 05:09:56 +05:30
aditya-K2
2a289e3d1a New Implementation of Context Menu
Every InteractiveView should have it's own context Menu. So You set the
contextOpener and contextHandler with the contextKey which is used to
open the contextMenu.
2023-04-09 04:40:47 +05:30
aditya-K2
647cc25fad minor aesthetic changes to menu 2023-04-09 03:56:14 +05:30
aditya-K2
ec3b531ce8 initial implementation of albumPage 2023-04-09 02:19:08 +05:30
aditya-K2
5cc0d44f2b add content and externalInputHandlers 2023-04-09 02:18:36 +05:30
aditya-K2
a4313360a7 playback wrappers 2023-04-08 22:10:19 +05:30
aditya-K2
9727d52a8b add more wrapper functions 2023-04-08 22:10:05 +05:30
aditya-K2
1e3e2c92bc implement playlist wrapper functions 2023-04-08 09:27:49 +05:30
aditya-K2
73d0dd66ec using github.com/aditya-K2/utils 2023-03-25 05:22:34 +05:30
aditya-K2
19d35d231c Better Implementation for Selection Handler 2023-01-26 05:30:31 +05:30
aditya-K2
32ecd96ff9 Better ContentHandler implementation 2023-01-26 05:05:59 +05:30
aditya-K2
31b53b3b3a rename ctx.go -> menu 2023-01-25 02:54:38 +05:30
aditya-K2
6c4531b721 minor changes 2023-01-25 02:52:10 +05:30
aditya-K2
2f29f51ec4 new centeredWidget primitive
CenteredWidget opens a centered widget on the main screen.

ContextMenu implements this interface
2023-01-25 02:46:33 +05:30
aditya-K2
1e294221d9 move files to ui package 2023-01-25 01:36:59 +05:30
aditya-K2
d0b1b0fb94 set title for context menu 2023-01-25 01:04:09 +05:30
aditya-K2
4a509ff078 changes discussed in previous commit 2023-01-24 02:10:36 +05:30
aditya-K2
0f690fa74b Drawing Context Menu in the Middle
Drawing Context Menu at cursor position doesn't seem doable with the
current implementatoin of tview.Table. Also getting the relative
position of selection when the height is smaller than the row count
isn't feasible there are lot of bugs with that implementation as the
context menu is not drawn when the selection reaches the end of the list
or is out of the view. Instead a global context menu must be implemented
(this is what i think atleast for now) I think InteractiveView can go
back to it's previous implementation and context menu can be a global
thing.
2023-01-24 01:34:04 +05:30