You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To better support adding new features in future, especially to make integrating PRs easier, there should be a centralized way of handling commands.
This will also make it easier for users to rebind keys to their liking or to implement more complex sequences of commands.
My idea is that commands like addRandomSongs 50 can be bound to a key in a certain context, e.g. only valid inside the queue page.
These commands can also be run manually using a shell-like command syntax, further info in the repo below (this is WIP).
Since something like that doesn't seem to exist for our UI framework tview yet I created the tview-command repo to develop something stmps can use.
I really hope to keep the scope of this little side-project constrained but I believe now is the best time work on this before we implement further commands.
The text was updated successfully, but these errors were encountered:
Current status is that config parsing and validation is fully implemented, which is basically a hierarchical graph of keybindings.
But as of now, on the "keybinding lookup side" (if that makes sense), only simple bindings without inheritance work. There is probably just some inconsistency somewhere. This problem should flush out with some more unit tests.
To better support adding new features in future, especially to make integrating PRs easier, there should be a centralized way of handling commands.
This will also make it easier for users to rebind keys to their liking or to implement more complex sequences of commands.
My idea is that commands like
addRandomSongs 50
can be bound to a key in a certain context, e.g. only valid inside the queue page.These commands can also be run manually using a shell-like command syntax, further info in the repo below (this is WIP).
Since something like that doesn't seem to exist for our UI framework tview yet I created the tview-command repo to develop something
stmps
can use.I really hope to keep the scope of this little side-project constrained but I believe now is the best time work on this before we implement further commands.
The text was updated successfully, but these errors were encountered: