« 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-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
2019-09-15Add Home/End support to scroll to top/bottomFlorrie
2019-09-15Jump to top/bottom in context menusFlorrie
Although we don't have any context menu options which start with the letter G yet, if we did, the keyboard selector would (intentionally) take priority and focus that element instead of doing jump to start/ bottom behavior. However, pressing Home/End will always work (once it's implemented).
2019-09-15Make InlineListPickerElement update screenFlorrie
2019-09-15Only render when stuff on-screen actually changes!Florrie
This means we can basically guarantee 0% CPU usage when nothing on the screen is changing! There may still be some kinks to work out, but I've tested most features and fixed any apparent bugs (including an unrelated bug in the suspend feature which made it crash when resuming the process).
2019-09-11Make Q key queue after selected trackFlorrie
Also make it caseless: q = Q. See todo.txt (which also has a large new note regarding duplicates in the selection system).
2019-09-10'Clear past / up to this track' queue menu optionsFlorrie
2019-09-04Fix reprocess metadata option not workingFlorrie
I'd forgotten to pass the reprocess flag through!
2019-08-27Keep selected item in view (wrt shift selecting)Florrie
2019-08-25Remove dead 'defaultIndex' argumentFlorrie
I didn't end up using this.
2019-08-25Select already selected option from dropdown menuFlorrie
...by default.
2019-08-25Submenu support, add inline list picker dropdownFlorrie
2019-08-25Fix menuLayer capturing all mouse events!Florrie
2019-08-25Dynamically create context menu instead of reusingFlorrie
...a single one. This is working towards letting multiple context menus be open at once.
2019-08-25Make shift-up/down still move on non-item inputsFlorrie
2019-08-25Avoid conflict in isToggleLoop/isFocusLabels keysFlorrie
Maybe there'll be a better key than L for isFocusLabels later. We'll see!
2019-08-25Shift+up/down to select multiple items at onceFlorrie
Dragging works too, as implemented earlier.
2019-08-25Use control+up/down to play next/previous tracksFlorrie
...instead of shift+up/down, which I'm going to make select items in listings (ala graphical file browsers).
2019-08-22Basic label interactionFlorrie
2019-08-22Label (tag) drawing systemFlorrie
2019-08-22Tidy computeText function for grouplike itemsFlorrie