« 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
2023-05-13use ESM module syntax & update tui-lib(quasar) nebula
Exciting update! This doesn't make any substantial changes exactly but does update the most quickly-archaic parts of older Node code.
2022-06-01miscellaneous improvements to queue looping(quasar) nebula
2021-12-14right click InlineListPickerElement to show menu(quasar) nebula
This menu was already implemented, but previously, it only showed when pressing F (i.e. isMenu).
2021-10-10don't explode if grouplike form is empty!(quasar) nebula
2021-10-10update controls to loop queue on last track(quasar) nebula
2021-10-10"Loop mode" option: no loop, loop, shuffle(quasar) nebula
This also reorganizes the menubar options a little.
2021-10-10fix a bunch of crashes when acting before timeData(quasar) nebula
...is provided by the player
2021-08-14make secret (c) key change entire ui theme color(quasar) nebula
also add (C) (case-sensitive) to go to previous theme color
2021-08-14show timestamp hours column whenever appropriate(quasar) nebula
2021-08-14handy combine-album.js utility(quasar) nebula
this isn't exposed via the mtui command so like, just run it directly with node right now lol (this commit also makes "." parse in timestamp positions)
2021-08-14show timestamp durations in main listing(quasar) nebula
2021-08-06read timestamps as JSON when they start with [(quasar) nebula
...instead of {. lol
2021-08-06fix sub-groups not loading timestamps(quasar) nebula
2021-08-06reveal in queue(quasar) nebula
2021-08-06order: alphabetize order of groups(quasar) nebula
2021-07-18miscellaneous improvements to selection restoring(quasar) nebula
2021-07-17make next/previous buttons pay heed to timestamps!(quasar) nebula
2021-07-17auto expand/collapse timestamps (for SQP)(quasar) nebula
2021-07-17show relative timestamp info in queue sidebar!(quasar) nebula
2021-07-17show playback icon next to current timestamp(quasar) nebula
2021-07-17past 3 second threshold, (P) to seek to start(quasar) nebula
2021-07-13timestamp files!!!(quasar) nebula
2021-03-24[Looping] indicator when queue is looping(quasar) nebula
2021-03-15add (0) key for opening menu (for numpad use)(quasar) nebula
2021-03-15queue sorting fixes re: selected track(quasar) nebula
not 100% sure what these are for since i wrote this patch ages ago! sorry :3
2021-03-15count only alphanumeric symbols in alphabetic sort(quasar) nebula
2021-02-25loop queue "when it ends" is unnecessary lol(quasar) nebula
2021-02-16loop queue(quasar) nebula
2020-09-16rework mark/selection system(quasar) nebula
No more issues with duplicate tracks, and way more power to the user regardless of the interface they use or their experience with the mark/selection system!
2020-09-16multi-page menu support(quasar) nebula
2020-09-16fix jump-to cancel being very broken(quasar) nebula
2020-09-16cancel jump-to when selecting outside of listing(quasar) nebula
2020-09-15rename "song" terminology to "track"(quasar) nebula
We've always used "track" as the proper term, but these managed to slip by over time anyway. Oops!
2020-09-15"Before selected [track]" queue option(quasar) nebula
note: this is actually "Before selected song" but the next commit changes much-outdated "song" terminology in the UI to "track"
2020-09-15show child when opening group from path element(quasar) nebula
2020-09-15name reordered groups for queuing(quasar) nebula
cherry-picked in part from 4b171a6a!
2020-09-15better hiding track numbering in queue(quasar) nebula
2020-07-09don't show Reveal option if track has no parentFlorrie
2020-07-09don't show a divider as the first item in a menuFlorrie
2020-07-09replace existing empty tab when loading playlistFlorrie
2020-07-09rename handlePlaylistSource & let accept grouplikeFlorrie
It's called loadPlaylistOrSource now, and can take a grouplike (which it will process with processSmartPlaylist as usual) instead of a URL to pass to a crawler. This is so that all functionality for loading a playlist can be collected in and accessed through one interface, so that modifications to the way playlists are loaded will be reflected across everywhere that loads a playlist.
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