@lalvarezt experimented with ai based on the starting docs you wrote
[here](https://github.com/alexpasmantier/television/pull/595) to try and
add mermaid diagrams etc.
Ended up with this which I'm quite honestly positively surprised with.
wdyt?
This PR was created by a GitHub Action to update the channel
documentation.
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
This PR was created by a GitHub Action to update the channel
documentation.
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
the issue was related to the starting row. And this is the same reason
we cannot test --inline, in the test env there's no way to calculate the
amount of empty lines (or I don't see it). But at least --height and
--width are testable
---------
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
- Improved determine channel logic, it will make easier to maintain
moving forward
- Fixed hint logic for preview, it had issues for stdin and ad-hoc
channels
- Override logic for CLI UI elements was not handled consistently
- Added few more tests
sometimes I want to tweak the previous search, or just run it again.
this solves that problem
---------
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
This PR solves part of
https://github.com/alexpasmantier/television/issues/246, since hosting
our own apt repo is just the first step.
Right now it's a draft, because I put the CD code inside of the
[.github/workflows/static.yml](98a3d7b854/.github/workflows/static.yml)
file and this, most-likely, doesn't belong there. Where exactly to put
it will need to be discussed, but the requirements are:
- to start executing this code after we generate the `.deb` binary
- and to deploy the static GH pages content after we've executed this
code
I've deployed a test version of the `.deb` package to my GH pages and
you can actually already install `television` via `apt` like this:
```sh
# download the repository public key and put it in the trusted directory
curl -sS https://kapobajza.github.io/television/apt/repository-key.asc | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/television.gpg
# put the repository download link inside the apt sources list
echo "deb https://kapobajza.github.io/television/apt stable main" | sudo tee /etc/apt/sources.list.d/television.list
sudo apt update
# install the package 🚀
sudo apt install television
```
---------
Co-authored-by: Kapobajza <kapobajza@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alex Pasmantier <47638216+alexpasmantier@users.noreply.github.com>
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
cleaned up keybinding section from config
@alexpasmantier you had this code before, perhaps there was a reason for
it?
```rust
if cfg!(not(windows)) {
execute!(buffered_stderr, DisableMouseCapture)?;
}
```
- Migrate to a feature based UI
- Introduces television/features.rs with a flags-based Features type
(PREVIEW_PANEL, HELP_PANEL, STATUS_BAR, REMOTE_CONTROL).
- Per-feature configuration sections: [ui.preview_panel],
[ui.status_bar], [ui.remote_control], [ui.help_panel]
- Rename Keybinding panel ➜ Help panel
- CLI & housekeeping
- new CLI toggle --no-status-bar, updated docs and man page
- import clean up