Something went wrong. Try again.
a simple but full-featured web player for OpenSubsonic music servers (Navidrome, Gonic, Ampache, etc) devins.page/tinysub
svelte typescript javascript subsonic gonic navidrome
Something went wrong. Try again.
feat: implement basic 2-stack undo-redo master
this is quite basic, uses a snapshot style history instead of a command-style storage, where we could store forward/reverse callbacks. as a result, this can presently only be used for storing and loading full snapshots. you cannot undo favourites/ratings with this model. to improve this, i would probably update this down the line to make each item of the undostack store a: {forwardOp, reverseOp} and the queue snapshotting logic can be augmented to simply be: {() => {return newState;}, () => {return oldState;}} Signed-off-by: oppiliappan <me@oppi.li>
Author oppiliappan Committer Tangled Date (Apr 12, 2026, 5:56 AM UTC) Commit 64c562ed 64c562ed20840145de3093d7ec44a5e08a8fec3e Parent 6ac918f7 6ac918f7e4385781790893102edd859e12ee69c3 Change ID uvwqwtrs uvwqwtrsvltlztzmuuppmrokkxrlvuzv