« get me outta code hell

Default to 'after selected song' in context menu - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-09-18 17:19:31 -0300
committerFlorrie <towerofnix@gmail.com>2019-09-18 17:19:31 -0300
commit43f5b514ed0bd2afcf887b830bc9ad42651f7d28 (patch)
tree97eef9d89c58067cc0944d1edc0840e2ee2bdd02
parentb3e18e9f231b3176e2ec6faedc31d0cbcd5c3869 (diff)
Default to 'after selected song' in context menu
-rw-r--r--todo.txt12
-rw-r--r--ui.js2
2 files changed, 13 insertions, 1 deletions
diff --git a/todo.txt b/todo.txt
index 8ebb796..161d7f9 100644
--- a/todo.txt
+++ b/todo.txt
@@ -384,3 +384,15 @@ TODO: Revealing a track shouldn't forcibly position it at the bottom of the
       if the item is already visible, and if it's above the current scroll
       area, make it appear at the top of the listing view instead of the
       bottom.
+
+TODO: Text file support. Yes. Heck yes. Heck hecking yes.
+      Read text files contained in your music library folders. If there is a
+      file which has the same basename as a track (or group), show a mark on
+      the item in grouplike listings, and let it be viewed through an action
+      on the context menu. Maybe, just MAYBE, implement editing support too.
+
+TODO: Make 'after selected song' the default in the context menu, too. I miight
+      go back on this decision, but I think it's just more convenient in
+      general, and if you prefer 'after current song', that option isn't hard
+      to discover and select.
+      (Done!)
diff --git a/ui.js b/ui.js
index e024eef..7ef13f0 100644
--- a/ui.js
+++ b/ui.js
@@ -254,8 +254,8 @@ class AppElement extends FocusElement {
     this.addChild(this.menuLayer)
 
     this.whereControl = new InlineListPickerElement('Where?', [
-      {value: 'next', label: 'After current song'},
       {value: 'next-selected', label: 'After selected song'},
+      {value: 'next', label: 'After current song'},
       {value: 'end', label: 'At end of queue'},
       {value: 'distribute-evenly', label: 'Distributed across queue evenly'},
       {value: 'distribute-randomly', label: 'Distributed across queue randomly'}