« get me outta code hell

Make Q key queue after selected track - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/todo.txt
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-09-11 17:19:05 -0300
committerFlorrie <towerofnix@gmail.com>2019-09-11 17:19:57 -0300
commit6be85bb511f9e3e55ab503c9b8b44afb31b84f2d (patch)
tree29157054804803813b4ca95a9c00063d911edf26 /todo.txt
parent47bd859d1a02683395bbf941d7dc0375d7ef8334 (diff)
Make Q key queue after selected track
Also make it caseless: q = Q. See todo.txt (which also has a large new
note regarding duplicates in the selection system).
Diffstat (limited to 'todo.txt')
-rw-r--r--todo.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/todo.txt b/todo.txt
index 14c2dd1..eba924c 100644
--- a/todo.txt
+++ b/todo.txt
@@ -301,3 +301,35 @@ TODO: Pay closer attention to the ordering of queue items' context menu...
       queue one "above" the start pos = at the bottom) -- but it might make
       more logical sense to group 'play sooner', 'play next', and 'remove
       from queue' all into one section.
+
+TODO: Figure out duplicates in the selection system! Right now, it's possible
+      to have both a group and its children selected at the same time, which
+      actually treats them as separate items in the selection grouplike.
+      This /might/ be good for performing an action on a group as well as its
+      children, but that seems like a rare case (only relevant to labelling as
+      far as I can imagine), and it doesn't seem super intuitive UI-wise right
+      now.
+
+      Maybe we could make it so if you have a grouplike selected, then browse
+      within it to see its children (or subchildren, etc), those child items
+      would be highlighted, but only dimly? The idea is that no highlight = not
+      selected; dim highlight = a parent is selected and so actions like
+      queuing will apply to this item; full highlight = this item itself is
+      selected, so actions that only apply to individual items, like labelling,
+      will apply. It's not entirely obvious what this means, but I think it
+      more or less makes sense.
+
+      BTW: we'll need a new function, removeDuplicates, for said actions. One
+      of those "actions" is actually called just by opening the context menu --
+      the tally numbers showing the total tracks selected and the sum duration
+      of all of those tracks. Make sure to call removeDuplicates after
+      flattenGrouplike. (I considered putting that new behavior of rD into fG,
+      but it doesn't seem worth it - better to keep them separate and let us
+      explicitly decide when we do or don't want to consider duplicates.)
+
+TODO: Default to 'after selected track' in context menu, and make pressing Q
+      (the shorthand for queuing the selection) act as though that's the
+      selected option, instead of queuing at the end of the queue (which is
+      really only useful when you're building a queue at the start, assuming
+      you don't start by shuffling your entire queue anyway).
+      (Done!)