-
-
Notifications
You must be signed in to change notification settings - Fork 60
UI customization #546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
lalvarezt
wants to merge
20
commits into
alexpasmantier:cable-format-rework
from
lalvarezt:UI-Customization
Closed
UI customization #546
lalvarezt
wants to merge
20
commits into
alexpasmantier:cable-format-rework
from
lalvarezt:UI-Customization
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
precedence should be cli flags > local config > global config
…#540) Add env channel Add support to toggle between sources and reload them, this enables the following ```toml [source] command = ["fd -t f", "fd -t f -H"] [keybindings] toggle_source = "ctrl-t" reload_source = "ctrl-r" ``` now you can have the same channel with two different representations, for example with and without hidden files the change is backwards compatible, if you put a simple string nothing changes --------- Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
…ymap changes toggle remote: Ctrl-r -> Ctrl-t reload source: Ctrl-r cycle sources: Ctrl-s
The current implementation downloads the raw prototype files from github, then deserializes them into `ChannelPrototype` objects and re-serializes them to the local config. Because TOML can express same things in multiple ways, it isn't trivial to have consistent TOML formatting results when re-serializing the files. I consider this to be a bug, which is why I'm now directly copying the downloaded file content to the local config, while keeping a sanity check by attempting to deserialize it along the way.
…ldn't be interpreted by the parser
…ories `tv --config-dir=/my/dir --cable-dir=/my/other/dir`
…ist-channels, ...)
…nd preview footer
db22c2b
to
54d694b
Compare
I believe this should branch out of |
🤦 sorry, my bad |
closing this one |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for customizing
all the items are of type MultiTemplate, this gives some flexibility when showing the selected value, let's say on the preview header, if it's long or you want only a section