« 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
2020-07-07make the mtui menu work again!Florrie
i forgot to implement menuItems. oops. :P
2020-07-06update queue length as metadata is processedFlorrie
this makes a very nice animation of the duration going up as data is processed for new tracks :3
2020-07-03add a space for padding behind track duration textFlorrie
2020-07-03fix current track index being one too lowFlorrie
oops v_v i apparently forgot to commit this!!
2020-05-06make the queue listing a little widerFlorrie
this should help make the wider length label fit better!
2020-05-06refactor to use 'select' instead of 'selected'Florrie
2020-05-04select child grouplike when loading parentFlorrie
This was already the previous behavior, but a misplaced restoreGrouplikeData was overwriting that effect. With this commit, the scroll position will still be restored, but the selected item will be correctly changed to whichever was opened. (This arguably means it's no longer necessary to restore the selected item in save/restoreGrouplikeData at all, but it's kept there in case a grouplike is ever unloaded through some means besides opening its child -- actually this is the case if you reveal an item whos ancestor groups don't fully overlap with that of the previously open group.)
2020-05-03show queue length in collapsed progress infoFlorrie
2020-05-03remember scroll position of each groupFlorrie
2020-05-03clean up some context menu logic to fix reveal bugFlorrie
2020-05-02comment out pane for text editorFlorrie
this was causing a funky visual bug which made the queue pane look like its bottom-right corner was pointing downwards (like the top-right corner of a pane is)!
2020-04-30fix process-metadata pausing context menuFlorrie
2020-04-26further hackery to make the multi menu more usefulFlorrie
2020-04-23update tui-lib; change wheel mode in autoscrollFlorrie
2020-04-23new feature: autoscroll!Florrie
2020-04-18comment out notes and labels features... For Now™Florrie
2020-04-16draw when pressing select-allFlorrie
2020-04-06yeah thats embarrassingFlorrie
2020-04-06Auto-DJFlorrie
2020-03-13display duration in track context menuFlorrie
2020-02-04immediately show results of acting on queue playerFlorrie
Specifically, this makes toggling loop show its effect right away.
2020-02-04get rid of a dead argumentFlorrie
2019-11-11Fix queue notes in a better wayFlorrie
Before, we were showing the notes window whenever a track with notes played - even if the queue wasn't focused. This fixes that.
2019-11-10Fix queue listing improperly showing/hiding notesFlorrie
2019-10-28^E to edit notes of selected track/groupFlorrie
2019-10-28Fix layout when editor is unfocusedFlorrie
2019-10-28Context menu for creating/editing notes filesFlorrie
2019-10-28Don't show text files adjacent to playablesFlorrie
2019-10-23Fix error on quit without ever opening text editorFlorrie
2019-10-23Add text/notes editor, using tui-text-editorFlorrie
:D!
2019-10-17Don't include non-tracks in total track countFlorrie
2019-10-17Import tui-lib with npm instead of as a submoduleFlorrie
2019-10-15Rename paneLeft/paneRight to tabberPane/queuePaneFlorrie
2019-10-15Dim selected non-playable when not focusedFlorrie
2019-10-15Make BasicGrouplikeItems respond to menu keyFlorrie
So you can press f/m/etc to open the menu on those options, just like on interactive grouplike items.
2019-10-15Make next/previous tab controls wrap aroundFlorrie
2019-10-15Open JSON playlist files in new tabFlorrie
2019-10-15(o) to open through system; show non-music filesFlorrie
2019-09-30Make menubar select first item, like context menusFlorrie
This also tidies up the logic for changing the selected element from context menus to the menubar, fixing a bug where the menubar forgets which element was selected before it, and not re-introducing the bug which the complex logic fixed in the first place (which was the menubar seeing the context menu as the previously selected element, when the menu will be destroyed by the time the menubar restores its selection).
2019-09-26Make menubar easter-egg color/attribute draw depsFlorrie
So pressing a/c (:33) in the menubar will now cause a rerender.
2019-09-25Stop players from playing after they're removed!Florrie
2019-09-23Multiple player UI interaction shenanigansFlorrie
Please don't ever let me stay up until 29:57 again. Future me will thank you in advance.
2019-09-22Basic multiple player UIFlorrie
Currently uses meta+(c, x, n, p, up, down) keys as the only interaction method, but that'll change soon!
2019-09-20Jump to menubar options with keyboardFlorrie
I _love_ the KeyboardSelector tool.
2019-09-20WIP - support multiple players at onceFlorrie
Currently bug-free and doesn't change anything about existing mtui behavior! Meta N to create a new player, meta up/down to switch between which one you're interacting with. Each player has its own queue. Eventually (soon(TM)) there'll be much better UI to go with all this!
2019-09-18Don't reload the listing if it's unnecessaryFlorrie
...in reveal(). This fixes the bug where the revealed track would always be positioned at the bottom of the screen, which happened because reloading the listing reset the scroll index back to the top.
2019-09-18Default to 'after selected song' in context menuFlorrie
2019-09-17Fix toggling pause not updating screenFlorrie
This makes the pause indicator (next to the time remaining in the queue) work again.
2019-09-17Keep selected track/group visible when resizingFlorrie
2019-09-17Fix select-el keys not working w/ context menusFlorrie