35 Commits

Author SHA1 Message Date
alexandre pasmantier
1d6b996c83 docs: update contributing docs and website 2025-07-20 00:40:21 +02:00
alexandre pasmantier
c4bcba211a docs: fix cable channel docs image links 2025-07-18 02:13:38 +02:00
alexandre pasmantier
4d42a731bf chore: some gh actions + justfile improvements 2025-07-18 01:38:40 +02:00
Leonardo Vencovsky
313c0c3238
feat(cable): Channels for AWS Buckets and Instances (#647)
## 📺 PR Description

Added `aws-buckets` and `aws-instances` channels.

## Checklist

- [x] my commits **and PR title** follow the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format
- [ ] if this is a new feature, I have added tests to consolidate the
feature and prevent regressions
- [ ] if this is a bug fix, I have added a test that reproduces the bug
(if applicable)
- [ ] I have added a reasonable amount of documentation to the code
where appropriate

---------

Co-authored-by: Leonardo Vencovsky <leoven@Leonardos-MacBook-Pro.local>
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
2025-07-15 22:42:25 +02:00
alexandre pasmantier
da9484a491 docs: update CONTRIBUTING.md 2025-07-13 01:49:12 +02:00
alexandre pasmantier
f0d17b7011 docs: add links to various repo docs 2025-07-13 01:15:25 +02:00
alexandre pasmantier
1bbda8e62f docs: add link to shell integration local dev note 2025-07-12 21:41:32 +02:00
MohMine
4e90a357e8
feat(themes): allow users to add theme overrides using their config file
Fixes #560

### Add theme color overrides in configuration file

Link to #560

### Problem

Currently, customizing television's appearance to match personal style
requires users to rebuild from source code to modify theme colors. This
creates a significant barrier for users who want to personalize their
experience without dealing with compilation and development setup.
Users who want to adjust colors for better readability, match their
terminal theme, or create custom color schemes must either:
- Modify theme files in the source code
- Rebuild the entire application
- Maintain separate theme files
This workflow is not user-friendly and prevents quick experimentation
with different color combinations.

### Solution
Added theme color overrides directly in the configuration file, allowing
users to customize any theme color without rebuilding from source. The
themes/*.toml files now serve as defaults, while the configuration file
provides overrides that take precedence.

### Key features:
- No rebuild required: Customize colors instantly through config
- Easy testing: Try different color combinations without compilation
- Theme flexibility: Mix and match colors from different themes
- Backward compatible: Existing configs continue to work unchanged
- User-friendly: Simple TOML syntax for color customization

### Usage Example

Find your config file location:
```
 Default locations:
   # Unix: ~/.config/television/config.toml
   # Windows: %APPDATA%\television\config.toml
```

Add theme overrides to your config:

```
[ui]
   theme = "catppuccin"  # or any other theme
   
   [ui.theme_overrides]
   background = "#000000"      # Pure black background for maximum contrast
   text_fg = "#00ff00"         # Bright green for main text (high visibility)
   selection_bg = "#ff00ff"    # Bright magenta for selected items (eye-catching)
   selection_fg = "#ffffff"    # Pure white text on selected items (high contrast)
   match_fg = "#ffff00"        # Bright yellow for search matches (stands out)
   border_fg = "#00ffff"       # Bright cyan for borders (neon effect)
   result_name_fg = "#ff8800"  # Bright orange for file names (warm highlight)
   result_value_fg = "#ff0080" # Bright pink for values (vibrant accent)
```


Test your changes:

```
# Run with your config
./target/release/tv --config-file ~/.config/television/config.toml
```

<img width="1420" alt="Screenshot 2025-07-08 at 08 14 42"
src="https://github.com/user-attachments/assets/90563f86-74aa-460a-a7c2-82080be3dc0b"
/>

---------

Co-authored-by: Mohamed-Amine Bousahih <mohamed-aminebousahih@pc-66.home>
Co-authored-by: Mohamed-Amine Bousahih <mohamed-aminebousahih@mohamedminesair.home>
2025-07-11 00:06:46 +02:00
Alex Pasmantier
b2c43539ff
docs: update installation page 2025-07-10 00:21:33 +02:00
LM
20a55cf142
fix(tui): fix incorrect height calculation when there is not enough space (#611)
## 📺 PR Description

Solves #609

- The calculation of available_height for the Inline and Fixed mode were
updated to correctly account for the remaining space and the necessary
height needed for the TUI
- QoL: Refactored the viewport calculation logic for both Inline and
Fixed modes to use a shared scrolling function
(handle_viewport_scrolling).
- Docs: Added note about default minimum height

## Checklist

- [x] my commits **and PR title** follow the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format
- [x] if this is a new feature, I have added tests to consolidate the
feature and prevent regressions
- [ ] if this is a bug fix, I have added a test that reproduces the bug
(if applicable)
- [x] I have added a reasonable amount of documentation to the code
where appropriate
2025-07-09 16:12:19 +02:00
kapobajza
b6e9990b2f
docs: Made the landing page more responsive (#605) 2025-07-08 14:19:24 +02:00
alexandre pasmantier
0876520938 docs: update patch notes 2025-07-07 18:42:56 +02:00
alexandre pasmantier
0112b40df3 docs: update installation docs 2025-07-07 18:01:57 +02:00
Alex Pasmantier
e5654fcdde docs: add docusaurus website (#597)
credits: @kapobajza
2025-07-07 17:56:30 +02:00
alexandre pasmantier
e797aba7c1 docs: reorganize docs 2025-07-07 16:29:20 +02:00
Alex Pasmantier
106004de94 docs: architecture (#596)
@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?
2025-07-07 15:26:50 +02:00
github-actions[bot]
825e974363
docs(cable): update channel documentation (auto) (#594)
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>
2025-07-06 20:20:16 +02:00
github-actions[bot]
185f7890ac docs(cable): update channel documentation (auto) (#593)
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>
2025-07-06 20:18:10 +02:00
Kacy Stocks
17439dace5
fix(channels): quote bat arguments
Adding `'` to bat to prevent errors in preview for Unix cable dotfiles
and files configurations.
2025-07-06 18:06:57 +02:00
alexandre pasmantier
d9d6554697 docs: migrate some of the wiki's content to the docs/ folder 2025-07-06 01:50:37 +02:00
alexandre pasmantier
9364b3eb15 docs: some cleaning and reorganizing 2025-07-06 01:31:34 +02:00
LM
4ed48ccdad
feat(ui): support for non-fullscreen UI (#578)
fixes #575
2025-07-01 23:24:00 +02:00
LM
45139457a1
feat: add global/channel input history (#573)
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>
2025-07-01 12:49:01 +02:00
Alex Pasmantier
f52d4ef524 docs: update README 2025-06-28 18:09:02 +02:00
alexandre pasmantier
c25a5bd75f docs: update readme and add new format docs 2025-06-28 16:59:57 +02:00
LM
42e2728269 test(cli): new cli test suite (#564)
new set of test that cover the overall functionality of the cli

---------

Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
2025-06-28 16:59:57 +02:00
LM
58d90c6d03 refactor(ui): feature based UI (#562)
- 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
2025-06-28 16:56:09 +02:00
LM
ad4e254ae6 feat(ui): new keybindings panel and status bar (#559)
Add a new keybinding manager (à la which-key helix style)

it adapts to the current mode

channel mode

![image](https://github.com/user-attachments/assets/d1748d93-d62b-4377-a4cd-9825318300e0)

remote mode

![image](https://github.com/user-attachments/assets/fa6ab776-a9bd-421c-ae75-a0b6013401fa)

Add sorting for remote entries

---------

Co-authored-by: Alex Pasmantier <alex.pasmant@gmail.com>
2025-06-28 16:56:09 +02:00
LM
a2ebbb3557 refactor(cli): add validation logic + docs
This PR contains the following changes
- Add validation logic and dependencies
- Remove deprecated frame rate
- Bump string_pipeline to 0.12.0 (solves debug syntax from templates)
- Document cli functionality (markdown and docstrings)

---------

Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
2025-06-28 16:56:09 +02:00
alexandre pasmantier
aac7e4dc45 docs: update terminal emulators compatibility list 2025-05-26 23:35:50 +02:00
Alexandre Pasmantier
9127e419fb docs: add index.md 2025-05-17 13:37:15 +02:00
bpairet
c0bd696d18
Corrected git-repos name in channels.md (#383)
The channel git-repos was listed as gitrepos which made me think it was
not working.
2025-03-15 00:29:39 +01:00
Alex Pasmantier
537f738424
docs: move terminal emulator compatibility section to separate docs file (#179) 2024-12-30 01:20:54 +01:00
Alex Pasmantier
b74b13075d
docs: fix broken image in channels.md 2024-12-29 18:47:23 +01:00
Alex Pasmantier
6d706b4c12
docs: rearrange README, add a features section, and move more technical stuff to separate files (#159) 2024-12-28 22:56:37 +01:00