« 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-07-16Separate jump-to-item/search logic from UI codeFlorrie
2019-07-09Always display at least part of group nameFlorrie
...in PathElements. Particularly, in the queue listing, which is often too thin to display even a single group name.
2019-07-07PARTY MODEFlorrie
2019-07-07Support disabling process playback commandsFlorrie
2019-07-06Support disabling controlling the queueFlorrie
2019-07-06Support disabling playback controlsFlorrie
I don't think I'm going to disable controls in the telnet client (by default?), but it's good to have this implemented anyway.
2019-07-06Backendify playback info element controlsFlorrie
Oops!
2019-07-06Disallow suspending on telnet clientsFlorrie
Suspending doesn't really mean anything unless you're an actual process!
2019-07-06Support hiding the left paneFlorrie
Testing this out in the telnet client. Also some tweaks to tabber keybinding behavior.
2019-07-06Break event listeners up into separate functionsFlorrie
2019-07-06Experimental telnet serverFlorrie
2019-07-05Separate backend from UIFlorrie
2019-06-11If necessary, unselect queue after clearingFlorrie
This avoids bugs coming from trying to interact with an empty form.
2019-06-08Reset selection index when clearing queueFlorrie
2019-06-08Queue after selected songFlorrie
2019-06-07"Play sooner" context menu option in queueFlorrie
2019-06-04Volume slider in menubarFlorrie
2019-06-04Don't flicker queue duration to a lesser valueFlorrie
...while a new track is "playing" but its time data isn't yet available (because the player process hasn't actually reported any data yet, probably because the player/file itself is still loading).
2019-06-04Don't add saved time data duration if not playingFlorrie
I.e. if we aren't playing a track, don't take into account the remaining time of the "current track" saved by the playback info element if we aren't actually playing any track right now.
2019-06-03'*' to focus menubar with numpadFlorrie
2019-05-29Always reumse when playing a new trackFlorrie
This behavior got changed recently, where the player being paused would carry through across tracks. It no longer does that.
2019-05-28Easter egg??? :)Florrie
2019-05-28Change "Play later" option formattingFlorrie
Also add some todo's.
2019-05-28MenubarFlorrie
Or the beginning of one, anyway!
2019-05-26Sorta experimental: Add queue duration monitorFlorrie
Ala cytube!
2019-05-26Add "Reveal" menu option for queue listing tracksFlorrie
2019-05-26Fix menu not shrinking to content properlyFlorrie
Before this commit, the width of the context menu depended on its own previous width - so if you opened the menu of an album with a very long name, then opened the menu of a shorter one, the width wouldn't actually shrink to the shorter one's size as it's supposed to.
2019-05-26Add queue current index / length labelFlorrie
2019-05-12Update tui-lib with scrollbar changesFlorrie
...and adapt the code to support the scrollbar being hidden (if there aren't enough items to make the listing scrollable).
2019-05-12Fix the "processing metadata" text getting stuckFlorrie
...when you choose "process metadata (new entries)" on a track which has already had its metadata processed.
2019-05-12Show track title in context menusFlorrie
...rather than just leaving a blank space where the title should be.
2019-05-01Hide track number in queue listing!Florrie
2019-04-19Don't volume-down when / is pressedFlorrie
2019-04-19Fix input causing misc. crashes before 100% loadedFlorrie
Definitely by pressing Ctrl-L but probably any of these would cause all sorts of badness.
2019-04-17Rework input system, support number padFlorrie
Also changed focus main/queue listings to [ and ], so that we can use the 2 key for the down arrow on a number pad.
2019-04-11Reset keyboard selector value when menu opensFlorrie
Otherwise you could type, for example, P to select "process...", then close the menu, then reopen it and press R to jump to "remove...", but it would just select "process" again because that matches "PR".
2019-04-11Remove dead keyboard shortcut codeFlorrie
2019-04-08Fix listing index not being updated correctlyFlorrie
Actually it wasn't being updated at all. We need to pass an element to selectInput, not an index!
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