« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/ui.js
AgeCommit message (Collapse)Author
2019-04-02Remove HL from HJKL, for nowFlorrie
Sorry :P
2019-04-02Vim HJKL keybindings :)Florrie
2019-04-02Update tui-lib - fix crash when queue gets shorterFlorrie
Previously (on Avatar), removing tracks from the queue would cause a crash if the queue listing was scrolled down. This update fixes that.
2019-04-02Focus context menu items by typing out their nameFlorrie
2019-03-10Suspend supportFlorrie
Should think about moving this into tui-lib! It'd fit the boilerplate function I have there already (I think), but we're not making use of that in mtui yet.
2019-02-25Don't remove current track when clearing queueFlorrie
2019-02-25Metadata (stored, throttle, status, and more)Florrie
2019-02-25Metadata (in memory)Florrie
2019-02-25Pass around app instead of recordStore, for nowFlorrie
I still prefer recordStore as the cleaner solution, but we were just doing recordStore.app a lot of the time, and this really wasn't any better than just passing app.
2019-01-31More hacky layout stuffFlorrie
Fixes play/mark/etc status not updating right away.
2019-01-31REALLY BAD DRAW CODE to support more animesFlorrie
2019-01-31Don't delete the scrollbarsFlorrie
2019-01-28Don't unqueue currently-playing trackFlorrie
2019-01-24(v), (V) - Volume controlsFlorrie
"v" increases because it's lowercase and therefore more likely to be accidentally pressed, hence more likely to confuse the user when it decreases the volume (if it decreased the volume - since it increases the volume, it generally doesn't seem to have any effect until you've already discovered that v and V are used for volume controls).
2019-01-24(l) to loop currently playing trackFlorrie
2019-01-10Hotfix stuffFlorrie
2019-01-10Queue item menu, "Play later" optionFlorrie
Items in the queue now have a menu, and if you pick "play later" from it (the other option is "remove from queue"), it'll move that item into somewhere further down in the queue. If it was already playing when you select play later, it'll first skip it, then move it.
2019-01-10:disgust: Fix some selection issuesFlorrie
* Menus opened from the queue wouldn't work before. Now they do. (Well, there's no code for them yet, but there was when I was testing.) * Rebuilding the items of a listing while it's selected doesn't reset the selection (i.e. select AppElement -> Tabber -> left pane). So you can remove an item from the queue and have focus remain on the queue, at the index where the item you removed was.
2019-01-09Fix left/right seeking in context menuFlorrie
AKA, prevent left/right from bubbling (I already intended this to happen but I forgot a required return false).
2018-12-28(Ctrl+L) to select playing track in queueFlorrie
2018-12-28(g), (G) to select first, last item in listingsFlorrie
2018-12-28Automatically use previous input if empty in '/'Florrie
If you press enter in the JumpElement form while it's still empty, automatically treat the previously-entered input as the entered value, so that it's easy to quickly do a "repeated" search (you don't have to enter the same value over and over again).
2018-12-28Prioritize searching past current indexFlorrie
Well, not the current index; rather the index which was selected when the jump element was opened.
2018-12-28Fix queue not auto-selecting auto-played trackFlorrie
Previously the cursor would only follow the selected track if it was selected by shift-up/down; now it works if it's automatically played (i.e. by the previous song finishing).
2018-12-23Mouse support in tabber elementsFlorrie
Click to switch tab, scroll over the tab list to quickly switch to the previous or next tab.
2018-12-23Show "unnamed" in "this group:" (and its menu)Florrie
2018-12-22Use cleaner tui-lib require syntaxFlorrie
2018-12-21Fix "this group" listing item causing a crashFlorrie
Somebody remind me to write unit tests...
2018-12-21Make cursor follow selection in queue listingFlorrie
This was already half-done, but the new behavior in this commit feels quite a bit nicer. (Specifically if you use shift-up/down (or n/p) while the queue is selected, the cursor will move to the new selection if it was already on the old selection, whereas before it would never follow when the queue was selected.)
2018-12-21Remove dead codeFlorrie
2018-12-21Move menu behavior out of grouplike item elementsFlorrie
This also makes it so that the selected options in whereControl and orderControl stay the same when you open the context menu on a different item, browse a different group, etc.
2018-12-21"Distribute" optionsFlorrie
E.g. to interweave two groups together.
2018-12-19Revive the old shuffle-groups feature!Florrie
Cool! This was one of my favorite tiny features of http-music.
2018-12-19Make a neater neato nice context menu!Florrie
Not a lot of new potential utility here for now, but it's at the least easier to use and cleaner than the old look! Also.. shuffle-groups soon(TM). Maybe!
2018-12-15Label showing # of items / total items in menuFlorrie
2018-12-15Expand width of ContextMenu items to all be equalFlorrie
2018-12-15Add "this group" option to grouplike listingsFlorrie
Used to access a menu for the playlist that's currently being browsed. Particularly handy for working with the top-level group, since you can't access its menu any other way. Also useful for quickly acting on a group you opened from (for example) a PathElement.
2018-12-15Get rid of unnecessary map() callFlorrie
This doesn't impact performance noticeably, it's just a code nitpick.
2018-12-15Fix remove-from-queue performanceFlorrie
2018-12-08Mouse controls over playback info elementFlorrie
Scroll up/down to seek, click to toggle pause.
2018-12-08Mouse supportFlorrie
'Cuz hey, why not?
2018-12-05Support AnimeFlorrie
2018-11-23Hide context menu when it's unselectedFlorrie
2018-11-23(f) to open menu as well as (m)Florrie
This way you can activate the menu without taking your right hand off the arrow keys (in typical keyboards).
2018-11-12Fix many menu items being missingFlorrie
Oops! I got rid of (well, tweaked) the concepts of "real" and "fake" rows, but forgot to get rid of the now-unnecessary (and disfunctional) isReal checks.
2018-11-11Fix bad comment text from previous commitFlorrie
2018-11-11Clean up and debuggify "fake" listing elementsFlorrie
I.e, the "Up (to group)" button and the "(This group is empty)" pseudo-playlist-item.
2018-10-11Don't bubble escape when it doesn't make senseFlorrie
Specifically, don't bubble escape when it's pressed in ContextMenus or in ListingJumpElements. TL;DR you won't accidentally cancel your currently playing song as much.
2018-10-11Don't queue groups in the wrong order!Florrie
2018-10-11Play up next group containing current track nicelyFlorrie