218 Commits

Author SHA1 Message Date
Bertrand Chardon
e9c3ebf05f
chore: Update README.md (#172) 2024-12-29 20:27:31 +01:00
Alex Pasmantier
b74b13075d
docs: fix broken image in channels.md 2024-12-29 18:47:23 +01:00
Alex Pasmantier
dc4028fd7c
docs: update readme animations 2024-12-29 18:44:33 +01:00
Alex Pasmantier
a14dccb726
docs: update README.md (#171) 2024-12-29 17:10:01 +01:00
Alex Pasmantier
90c2b9ce43
docs: fix broken link in README (#168) 2024-12-29 02:21:52 +01:00
github-actions[bot]
19e6593968
chore(changelog): update changelog (auto) (#167)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-29 02:17:08 +01:00
Alex Pasmantier
f707190439
chore: include cable channels (#166) 0.8.0 2024-12-29 02:14:20 +01:00
Alex Pasmantier
1bc6f12782
chore: bump to 0.8.0 (#165) 2024-12-29 02:07:50 +01:00
Alex Pasmantier
8de82fec5d
docs: update README with more legible screenshot of the files channel (#164) 2024-12-29 01:48:18 +01:00
Alex Pasmantier
07a7c7b34c
docs: replace top image with a screenshot of the application (#163) 2024-12-29 01:33:58 +01:00
Alex Pasmantier
313f833b32
chore(deps): update devicons to 0.6.12 (#162) 2024-12-29 00:25:44 +01:00
Alex Pasmantier
157d01c4e7
refactor(cable): use tail instead of tac for zsh and bash command history channels (#161) 2024-12-28 23:38:14 +01:00
Alex Pasmantier
f83c5d1396
docs: update readme (#160) 2024-12-28 23:06:28 +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
Alex Pasmantier
b33c0b9bb5
chore(deps): bump to rustc 1.81 and update cargo deps (#158) 2024-12-28 20:22:28 +01:00
Alex Pasmantier
697f295afb
refactor: update default configuration and simplify channel enum conversions (#157) 2024-12-28 20:09:33 +01:00
Alex Pasmantier
ee71e4788f
feat(cable): using builtin previewers inside cable channel prototypes (#156) 2024-12-28 19:35:21 +01:00
Alex Pasmantier
e034615594
feat(cable): make preview optional for cable channels (#155) 2024-12-28 18:42:18 +01:00
github-actions[bot]
3f92ca2b13
chore(changelog): update changelog (auto) (#154)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-28 18:00:02 +01:00
Alex Pasmantier
309ff537a4
feat(cli): allow passing --input <STRING> to prefill input prompt (#153)
Fixes #152
2024-12-28 17:56:11 +01:00
Alex Pasmantier
c3b8c68d1b
feat(ux): print current query to stdout on Enter if no entry is selected (#151)
Fixes #49
2024-12-28 16:36:30 +01:00
Alex Pasmantier
12fdf94e5d
feat(input): bind ctrl-w to delete previous word (#150)
Fixes #135
2024-12-28 16:25:19 +01:00
Alex Pasmantier
557686e197
feat(config): allow specifying multiple keymaps for the same action + better defaults (#149)
Fixes #135
2024-12-28 15:56:12 +01:00
Alex Pasmantier
499bfdb8e5
refactor(ui): more compact general layout and make preview panel optional (#148)
Fixes #147 

<img width="2552" alt="Screenshot 2024-12-28 at 15 18 42"
src="https://github.com/user-attachments/assets/08e440c2-6878-4a0f-8734-83a8e8b84e5a"
/>
2024-12-28 15:21:17 +01:00
github-actions[bot]
ba5b0857c3
chore(changelog): update changelog (auto) (#146)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-25 19:01:49 +01:00
Alex Pasmantier
68d118986c
feat(shell): autocompletion plugin for zsh (#145) 2024-12-25 18:53:50 +01:00
Alex Pasmantier
22f1b4dc33
feat(ui): decouple preview title position from input bar position and make it configurable (#144)
fixes #143 

## example
```toml
[ui]
input_bar_position = "top"
preview_title_position = "top"
```

<img width="2553" alt="Screenshot 2024-12-18 at 22 06 29"
src="https://github.com/user-attachments/assets/6c9ac842-e383-42a8-bdf4-d48c7a826df3"
/>
2024-12-18 22:30:10 +01:00
github-actions[bot]
ac7762e8f2
chore(changelog): update changelog (auto) (#141) 2024-12-17 23:47:33 +01:00
Peter
e27c8342e8
docs(readme): make channel names consistent everywhere (#138)
I made this PR following some confusion I had as a first time user
reading the documentation. I tried GitRepos, git-repos and finally had
to call list-channels to find the actual name for gitrepos. I think
making all of the references to channels consistent with the
spelling/capitalization of the CLI helps reduce confusion.
0.7.2
2024-12-17 14:24:01 +01:00
defigli
882737d147
feat(cli): add argument to start tv in another working directory (#132)
Resolves #111

---------

Co-authored-by: Alexandre Pasmantier <alex.pasmant@gmail.com>
2024-12-15 22:13:11 +01:00
github-actions[bot]
3b8ab1fbd8
chore(changelog): update changelog (auto) (#131)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-15 18:13:39 +01:00
Alexandre Pasmantier
18c5213e83
feat(channels): new channel for directories and associated transitions (#130) 0.7.1 2024-12-15 18:04:26 +01:00
Alexandre Pasmantier
c0c790cb48
docs(contributing): update contributing.md with hot topics and link todo (#129) 2024-12-15 16:00:50 +01:00
github-actions[bot]
7fa469aea0
chore(changelog): update changelog (auto) (#128)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-15 14:32:16 +01:00
Alexandre Pasmantier
a8e3ea5f89
chore(version): bump workspace to 0.7.0 (#127) 0.7.0 2024-12-15 14:30:25 +01:00
Alexandre Pasmantier
630e791961
docs(readme): add theme previews and udpate readme structure (#126) 2024-12-15 14:04:00 +01:00
Alexandre Pasmantier
4164e9092b
feat(themes): more builtin UI themes (#125) 2024-12-15 13:26:28 +01:00
Alexandre Pasmantier
a7064c18c8
refactor(config)!: use $HOME/.config/television by default for macOS (#124) 2024-12-15 12:23:31 +01:00
Alexandre Pasmantier
7b114b7cb6
fix(config): better handling of default values (#123) 2024-12-15 01:09:53 +01:00
Alexandre Pasmantier
37b2dda729
refactor(help): enable help bar by default and add help keybinding (#122) 2024-12-15 00:54:14 +01:00
Alexandre Pasmantier
9809e742d8
fix(stdin): trim entry newlines when streaming from stdin (#121) 2024-12-15 00:35:10 +01:00
Alexandre Pasmantier
11da96d7fb
feat(themes): add support for global themes background colors (#120) 2024-12-15 00:29:10 +01:00
Alexandre Pasmantier
ea752b13e6
fix(previewers): handle crlf sequences when parsing ansi into ratatui objects (#119) 2024-12-15 00:17:09 +01:00
Alexandre Pasmantier
937d0f0758
feat(cable): support cable channel invocation through the cli (#116) 2024-12-14 17:47:36 +01:00
Alexandre Pasmantier
913aa85af0
feat(themes): add support for ui themes (#114)
fixes #80 

### examples
| gruvbox | solarized |
| :-: | :-: |
| <img width="1792" alt="gruvbox"
src="https://github.com/user-attachments/assets/c0c168a5-5c95-4113-93fd-24b34a9344d8"
/> | ![Screenshot 2024-12-13 at 14 38
57](https://github.com/user-attachments/assets/368e3e37-7fdd-493a-8c0b-47e3731ae67b)
|
2024-12-13 14:54:38 +01:00
Bertrand Chardon
a4d15af694
perf: optimize entry ranges (#110) 2024-12-09 23:39:06 +01:00
Alexandre Pasmantier
758bfc290a
perf(ui): improve merging of continuous name match ranges (#109)
### main
```
results_list            time:   [17.800 µs 17.836 µs 17.869 µs]
                        change: [-0.7235% -0.4176% -0.1185%] (p = 0.01 < 0.05)
                        Change within noise threshold.
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high mild
```

### this branch
```
results_list            time:   [12.780 µs 12.789 µs 12.798 µs]
                        change: [-28.381% -28.218% -28.059%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
  1 (1.00%) high mild
  4 (4.00%) high severe
```
2024-12-09 14:08:28 +01:00
Bertrand Chardon
5fb02c768f
perf: merge contiguous name match ranges (#108)
in the entries that are used in the `build_results_list` function in
`television-screen::results`, it seems like there the ranges returned
are sometimes contiguous

since they're used to create `ratatui` spans, we want to reduce them to
their minimal equivalent form
2024-12-08 23:21:34 +01:00
Bertrand Chardon
c0db566a48
perf: add bench for build results list (#107)
This PR adds a benchmark for performance-critical function
`build_results_list` from `television_screen::results`

This should allows `television` to track performances improvements or
regressions across time for that function (and other in the future)

---------

Co-authored-by: alexpasmantier <alex.pasmant@gmail.com>
2024-12-08 18:43:38 +01:00
Alexandre Pasmantier
54399e3777
refactor(screen): extract UI related code to separate crate (#106)
Co-authored-by: Bertrand Chardon <bertrand.chardon@doctrine.fr>
2024-12-08 13:46:30 +01:00